/* ─── MODERN RESET ─────────────────────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Modern color palette */
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #7209b7;
  --accent: #f72585;
  --success: #06d6a0;
  --warning: #ffd166;
  --danger: #ef476f;
  --dark: #212529;
  --medium: #6c757d;
  --light: #f8f9fa;
  --border: #dee2e6;
  --shadow: rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial,
    sans-serif;
  --border-radius: 0.375rem;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  background-color: #f9fafb;
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── LAYOUT ────────────────────────────────────────────── */
main {
  width: 92%;
  max-width: 1140px;
  margin: 1.5rem auto 2.5rem;
  flex: 1;
  background: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 0.25rem 0.75rem var(--shadow);
}

footer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--medium);
  padding: 1.5rem 0;
  margin-top: auto;
  border-top: 1px solid var(--border);
  background-color: #fff;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

h2 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ─── NAV BAR ───────────────────────────────────────────── */
nav {
  background: var(--dark);
  padding: 0;
  box-shadow: 0 2px 4px var(--shadow);
}

nav .container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  padding: 1rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav li {
  position: relative;
}

nav a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  padding: 1rem 1.25rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

nav li.active a,
nav a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* ─── FORMS ─────────────────────────────────────────────── */
form {
  margin: 1.5rem 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dark);
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
}

input::placeholder {
  color: #adb5bd;
  opacity: 0.8;
}

textarea {
  resize: vertical;
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn,
button {
  display: inline-block;
  font-weight: 500;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: all 0.15s ease-in-out;
  background-color: var(--primary);
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover,
button:hover {
  background-color: var(--primary-dark);
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn:active,
button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--medium);
}

.btn-secondary:hover {
  background-color: #5a6268;
}

.btn-success {
  background-color: var(--success);
}

.btn-success:hover {
  background-color: #05af83;
}

.btn-danger {
  background-color: var(--danger);
}

.btn-danger:hover {
  background-color: #dc3545;
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ─── CARDS / LIST ITEMS ───────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.card-header {
  padding: 1rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid var(--border);
}

/* ─── TABLES ─────────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

th,
td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid var(--border);
  text-align: left;
}

thead th {
  vertical-align: bottom;
  border-bottom: 2px solid var(--border);
  background-color: rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

/* ─── ALERTS ─────────────────────────────────────────────── */
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: var(--border-radius);
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* ─── UTILITIES ─────────────────────────────────────────── */
.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: 0.5rem !important;
}
.mt-2 {
  margin-top: 1rem !important;
}
.mt-3 {
  margin-top: 1.5rem !important;
}
.mt-4 {
  margin-top: 2rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 0.5rem !important;
}
.mb-2 {
  margin-bottom: 1rem !important;
}
.mb-3 {
  margin-bottom: 1.5rem !important;
}
.mb-4 {
  margin-bottom: 2rem !important;
}

.ml-auto {
  margin-left: auto !important;
}
.mr-auto {
  margin-right: auto !important;
}
.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.text-center {
  text-align: center !important;
}
.text-left {
  text-align: left !important;
}
.text-right {
  text-align: right !important;
}

.flex {
  display: flex !important;
}
.flex-column {
  flex-direction: column !important;
}
.justify-content-between {
  justify-content: space-between !important;
}
.align-items-center {
  align-items: center !important;
}
.flex-wrap {
  flex-wrap: wrap !important;
}

.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}

.text-primary {
  color: var(--primary) !important;
}
.text-success {
  color: var(--success) !important;
}
.text-danger {
  color: var(--danger) !important;
}
.text-warning {
  color: var(--warning) !important;
}
.text-muted {
  color: var(--medium) !important;
}

.bg-light {
  background-color: var(--light) !important;
}

.p-2 {
  padding: 1rem !important;
}
.p-3 {
  padding: 1.5rem !important;
}

.rounded {
  border-radius: var(--border-radius) !important;
}

.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.badge-primary {
  background-color: var(--primary);
  color: white;
}
.badge-success {
  background-color: var(--success);
  color: white;
}
.badge-warning {
  background-color: var(--warning);
  color: black;
}
.badge-danger {
  background-color: var(--danger);
  color: white;
}

/* Status colors */
.status-pending {
  color: #ff9800;
}
.status-accepted {
  color: var(--success);
}
.status-rejected {
  color: var(--danger);
}

/* ─── APPLICATIONS PAGE IMPROVEMENTS ────────────────── */
.filter-form {
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: end;
}

.form-control {
  width: 100%;
}

.filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.empty-state {
  padding: 2rem;
}

.empty-icon {
  font-size: 4rem;
  opacity: 0.5;
}

.message-preview {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-group {
  display: flex;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.btn-group .btn {
  border-radius: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-group .btn:first-child {
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

.btn-group .btn:last-child {
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  border-right: none;
}

/* ─── PROFILE PAGE IMPROVEMENTS ────────────────────────── */
.profile-hero {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 2rem;
  margin-bottom: 2rem;
}

.profile-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
}

.profile-avatar {
  position: relative;
}

.avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  color: white;
  border: 3px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-headline h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

.profile-headline h1:after {
  display: none;
}

.profile-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.profile-meta .badge {
  padding: 0.35em 0.65em;
  font-size: 0.8rem;
  margin-right: 1rem;
}

.member-since {
  color: var(--medium);
  font-size: 0.9rem;
}

.profile-bio {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  max-width: 700px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: var(--medium);
  transition: all 0.2s ease;
}

.social-icon:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.social-icon.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.social-icon.tiktok:hover {
  background: linear-gradient(45deg, #000, #69c9d0, #ee1d52);
}

.social-icon.twitter:hover {
  background: #1da1f2;
}

.social-icon.website:hover {
  background: var(--primary);
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stats-container {
  display: flex;
  gap: 1rem;
}

.stat-card {
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 1rem;
  min-width: 100px;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--medium);
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.action-buttons .btn {
  min-width: 120px;
}

/* Tab Navigation Improvements */
.tab-navigation {
  margin-bottom: 2rem;
}

.tabs {
  display: flex;
  list-style: none;
  border-bottom: 2px solid var(--border);
  padding: 0;
  margin: 0;
}

.tabs li {
  margin-right: 0.5rem;
}

.tabs li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--medium);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-weight: 500;
  transition: all 0.2s;
}

.tabs li:hover a {
  color: var(--primary);
}

.tabs li.active a {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Detail Cards for Profile */
.detail-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.detail-card-header {
  padding: 1rem 1.25rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid var(--border);
}

.detail-card-header h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.detail-card-body {
  padding: 1.25rem;
}

.detail-item {
  display: flex;
  margin-bottom: 1.25rem;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  opacity: 0.8;
}

.detail-content {
  flex: 1;
}

.detail-label {
  font-size: 0.875rem;
  color: var(--medium);
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 1rem;
  color: var(--dark);
}

/* ─── BROWSE GIGS IMPROVEMENTS ────────────────────────── */
.gig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gig-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gig-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gig-card .card-header h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.gig-card .badge {
  font-size: 0.8rem;
  padding: 0.35em 0.65em;
  background-color: var(--primary);
  color: white;
}

.gig-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.restaurant-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.profile-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-thumb-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.restaurant-name {
  font-weight: 600;
  color: var(--dark);
  transition: color 0.2s;
}

.restaurant-name:hover {
  color: var(--primary);
}

.location {
  display: flex;
  align-items: center;
  color: var(--medium);
  margin-bottom: 1rem;
}

.location .icon {
  margin-right: 0.5rem;
  color: var(--medium);
}

.gig-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark);
  flex: 1;
  margin-bottom: 1rem;
}

/* Filter and Sort Improvements */
.filter-form {
  margin-bottom: 0;
}

input[type="text"]::placeholder {
  color: #adb5bd;
  opacity: 0.8;
}

.sort-options {
  display: flex;
  align-items: center;
}

.sort-options span {
  color: var(--medium);
  margin-right: 0.5rem;
}

.sort-options a {
  color: var(--medium);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.sort-options a:hover,
.sort-options a.text-primary {
  color: var(--primary);
  background-color: rgba(67, 97, 238, 0.1);
}

/* ─── RESPONSIVE ADJUSTMENTS ─────────────────────────────── */
@media (max-width: 992px) {
  .profile-header {
    grid-template-columns: auto 1fr;
  }

  .profile-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 1.5rem;
  }

  .stats-container {
    justify-content: center;
  }

  .action-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  nav .container {
    flex-direction: column;
    align-items: stretch;
  }

  nav ul {
    flex-direction: column;
  }

  nav .logo {
    padding: 1rem;
    text-align: center;
  }

  nav a {
    padding: 0.75rem 1rem;
  }

  .flex {
    flex-direction: column;
  }

  main {
    padding: 1.5rem;
    width: 95%;
  }

  .profile-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .profile-headline {
    text-align: center;
  }

  .profile-meta {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .profile-bio {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tabs li {
    margin-bottom: 0.5rem;
  }

  .gig-grid {
    grid-template-columns: 1fr;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    border: 1px solid var(--border);
    margin-bottom: 1rem;
  }

  td {
    border: none;
    position: relative;
    padding-left: 50%;
  }

  td:before {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    content: attr(data-label);
    font-weight: bold;
  }

  /* Applications page responsive */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .filter-actions {
    justify-content: center;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    border-radius: var(--border-radius);
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0.25rem;
  }

  .btn-group .btn:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}

/* ─── FIND INFLUENCERS PAGE IMPROVEMENTS ────────────── */
.influencer-search-form {
  display: grid;
  grid-template-columns: 2fr 3fr 1fr;
  gap: 1.5rem;
  align-items: end;
}

.platform-checkboxes {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-check-input {
  width: auto;
  margin: 0;
}

.form-check-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}

.platform-icon {
  font-size: 1.1rem;
}

.search-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.influencer-username {
  font-weight: 600;
  color: var(--dark);
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  font-weight: 500;
  background-color: var(--light);
  color: var(--dark);
}

.platform-instagram {
  background-color: #fce4ec;
  color: #c2185b;
}

.platform-tiktok {
  background-color: #e1f5fe;
  color: #0277bd;
}

.platform-youtube {
  background-color: #fff3e0;
  color: #f57c00;
}

.follower-count {
  font-weight: 600;
  color: var(--primary);
}

.location-info {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--medium);
}

.pagination-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: var(--border-radius);
  margin: 0;
}

.page-item {
  margin: 0 0.125rem;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: var(--primary);
  background-color: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s;
}

.page-link:hover {
  z-index: 2;
  color: var(--primary-dark);
  background-color: var(--light);
  border-color: var(--border);
  text-decoration: none;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

.page-item:last-child .page-link {
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

@media (max-width: 768px) {
  .influencer-search-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .platform-checkboxes {
    flex-direction: column;
    gap: 0.5rem;
  }

  .search-actions {
    justify-content: center;
  }

  .pagination-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .pagination {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .action-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .stat-card {
    min-width: 80px;
    padding: 0.75rem;
  }

  .sort-options {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
  }
}
