/* ============================================================
   GuSTop — Design System (Azul Safira)
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Paleta Nova (Blue Palette) */
  --sapphire-primary: #5D94E8;
  --sapphire-dark: #003382;
  --sapphire-mid: #99C1FF;
  --sapphire-deep: #10294F;
  --sapphire-light: #D4E5FF;

  /* Derived Colors */
  --sapphire-glow: rgba(93, 148, 232, 0.4);
  --sapphire-subtle: #D2E4FF;
  --sapphire-border: #7C85AE;

  /* Background */
  --bg-primary: #3D6399;
  /* Lighter slate blue body background */
  --bg-secondary: #D2E4FF;
  --bg-card: #D2E4FF;
  --bg-card-hover: #c4daff;
  --bg-glass: #D2E4FF;
  --bg-modal-overlay: rgba(16, 41, 79, 0.85);

  /* Text */
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-muted: #555555;
  --text-accent: #003382;

  /* Status */
  --success: #388E3C;
  --error: #ff4757;
  --warning: #FFB74D;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows (adaptadas para tema claro) */
  --shadow-sm: 0 2px 8px rgba(122, 176, 245, 0.15);
  --shadow-md: 0 4px 16px rgba(122, 176, 245, 0.2);
  --shadow-lg: 0 8px 32px rgba(122, 176, 245, 0.25);
  --shadow-glow: 0 0 20px var(--sapphire-glow);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  background: radial-gradient(circle at 50% 50%, #1B3B6F 0%, #091528 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Static Background --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 800px 600px at 20% 20%, rgba(93, 148, 232, 0.15), transparent),
    radial-gradient(ellipse 600px 400px at 80% 80%, rgba(153, 193, 255, 0.15), transparent),
    radial-gradient(ellipse 400px 300px at 50% 50%, rgba(212, 229, 255, 0.1), transparent);
  pointer-events: none;
  z-index: 0;
}

/* --- App Container --- */
#app {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1920px;
  min-height: 100vh;
  margin: 0 auto;
  padding: var(--space-lg);
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

#app-content {
  flex: 1;
  max-width: 1480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ad-container {
  width: 160px;
  flex-shrink: 0;
}

.ad-container.hidden,
.ad-container-horizontal.hidden {
  display: none !important;
}

@media (max-width: 1200px) {
  .ad-container {
    display: none !important;
  }
}

/* --- Header --- */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-sm);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 3px solid var(--sapphire-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), 0 0 15px rgba(93, 148, 232, 0.3);
}

.header__logo {
  grid-column: 2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-sm);
}

.header__title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--sapphire-deep), var(--sapphire-primary), var(--sapphire-dark));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--sapphire-primary), var(--sapphire-deep));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-glow);
}

.header__player {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
}

.header__player-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.header__player-name span {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--sapphire-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(to right, #76ACF1, #5183C8);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(15, 82, 186, 0.3);
}

.btn--primary:hover {
  border-color: var(--sapphire-light);
  box-shadow: 0 6px 25px rgba(15, 82, 186, 0.5);
  transform: translateY(-1px);
}

.btn--secondary {
  background: linear-gradient(to right, #76ACF1, #5183C8);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--secondary:hover {
  background: linear-gradient(to right, #8cbcf7, #6294d9);
  border-color: var(--sapphire-light);
}

.btn--danger {
  background: linear-gradient(to right, #ff6b81, #ff4757);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.25);
}

.btn--danger:hover {
  border-color: #FF4757;
  box-shadow: 0 6px 25px rgba(255, 71, 87, 0.4);
  transform: translateY(-1px);
}

.btn--ghost {
  background: linear-gradient(to right, #76ACF1, #5183C8);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: linear-gradient(to right, #8cbcf7, #6294d9);
  color: white;
  border-color: var(--sapphire-light);
}

.btn--sm {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.8rem;
}

.btn--lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
}

/* --- Action Bar --- */
.action-bar {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

/* --- Rooms Grid --- */
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-title__icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--sapphire-primary), var(--sapphire-mid));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.rooms-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  color: var(--text-muted);
  font-size: 1rem;
}

.rooms-empty__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

/* --- Room Card --- */
.room-card {
  background: #FFFFFF;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--sapphire-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.room-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sapphire-primary), var(--sapphire-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.room-card:hover {
  transform: translateY(-2px);
  background: #B3CBED;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.room-card:hover::before {
  opacity: 1;
}

.room-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.room-card__id {
  font-size: 0.75rem;
  font-weight: normal;
  color: #000000;
  border: 1px solid rgba(124, 133, 174, 0.4);
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.room-card__badge {
  display: flex;
  gap: var(--space-xs);
}

.room-card__private {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--warning);
  background: rgba(255, 165, 2, 0.12);
  padding: 2px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.room-card__name {
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.room-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.room-card__players {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.room-card__host {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Room View (when inside a room) --- */
.room-view {
  max-width: 880px;
  margin: 0 auto;
  animation: fadeSlideUp 0.4s ease-out;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.room-detail {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--sapphire-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.room-detail__header {
  background: linear-gradient(135deg, var(--sapphire-deep), var(--sapphire-primary));
  padding: var(--space-xl) var(--space-xl);
  position: relative;
}

.room-detail__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sapphire-light), transparent);
}

.room-detail__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.room-detail__id {
  font-size: 0.75rem;
  font-weight: normal;
  color: #000000;
  background: rgba(226, 237, 255, 0.2);
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.room-detail__count {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(226, 237, 255, 0.9);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.room-detail__name {
  font-size: 1.5rem;
  font-weight: normal;
  color: #5587CC;
  letter-spacing: -0.02em;
}

.room-detail__body {
  padding: var(--space-xl);
}

.room-detail__section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

/* --- Player List --- */
.player-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.player-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  transition: all var(--transition-fast);
}

.player-item:hover {
  background: var(--sapphire-subtle);
}

.player-item__name {
  font-size: 0.95rem;
  font-weight: normal;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.player-item__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sapphire-mid), var(--sapphire-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg-primary);
  flex-shrink: 0;
}

.player-item__host-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--warning);
  background: rgba(255, 165, 2, 0.12);
  padding: 2px 10px;
  border-radius: 20px;
}

.player-item--current {
  font-weight: 700;
  color: var(--sapphire-light);
}

/* --- Room Actions --- */
.room-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

/* --- Modals --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-modal-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #D2E4FF;
  color: #10294F;
  border: 1px solid var(--sapphire-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  width: 90%;
  max-width: 460px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5587CC;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.modal__title-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--sapphire-primary), var(--sapphire-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* --- Form Controls --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #516A75;
  margin-bottom: var(--space-xs);
}

.form-input {
  width: 100%;
  padding: var(--space-md);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.9rem;
  color: black;
  background: #E2EDFF;
  border: 1px solid var(--sapphire-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--sapphire-primary);
  box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.2);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.form-char-count {
  float: right;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Toggle Switch --- */
.toggle-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  position: absolute;
  inset: 0;
  background: #E2EDFF;
  border: 1px solid var(--sapphire-border);
  border-radius: 13px;
  transition: all var(--transition-base);
}

.toggle__slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #5D94E8;
  border-radius: 50%;
  transition: all var(--transition-base);
}

.toggle input:checked+.toggle__slider {
  background: var(--sapphire-primary);
  border-color: var(--sapphire-primary);
}

.toggle input:checked+.toggle__slider::before {
  transform: translateX(22px);
  background: white;
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: normal;
  color: #516A75;
  transition: color var(--transition-base), font-weight var(--transition-base);
}

.toggle-group:has(input[type="checkbox"]:checked) .toggle-label {
  color: #003382;
}

/* --- Number Input --- */
.form-input--number {
  width: 80px;
  text-align: center;
}

/* --- Password Input (4 digits) --- */
.password-digits {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}

.password-digit {
  width: 56px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: normal;
  background: #E2EDFF;
  border: 2px solid var(--sapphire-border);
  border-radius: var(--radius-md);
  color: black;
  outline: none;
  transition: all var(--transition-fast);
  font-family: 'Fredoka', sans-serif;
}

.password-digit:focus {
  border-color: var(--sapphire-primary);
  box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.2);
}

/* --- Modal Actions --- */
.modal__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
  margin-top: var(--space-xl);
}

/* --- Confirmation Modal --- */
.confirm-modal__message {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

/* --- Toast Notifications --- */
.toast-container {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease-out, toastOut 0.3s ease-in 2.7s forwards;
  max-width: 400px;
}

.toast--error {
  background: #FF4757;
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.toast--success {
  background: #2ED47A;
  border: 1px solid rgba(46, 212, 122, 0.3);
}

.toast--info {
  background: var(--sapphire-primary);
  border: 1px solid rgba(15, 82, 186, 0.3);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* --- Connection Status --- */
.connection-status {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: background var(--transition-base);
}

.connection-dot--connected {
  background: var(--success);
  box-shadow: 0 0 8px rgba(46, 212, 122, 0.5);
}

.connection-dot--disconnected {
  background: #ff4757;
  box-shadow: none;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* --- Hidden Utility --- */
.hidden {
  display: none !important;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--sapphire-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sapphire-mid);
}

/* --- Letter Buttons Specific Styles --- */
.letter-btn {
  transition: all 0.3s ease;
}

.letter-btn.btn--primary {
  background: #5183C8;
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.letter-btn.btn--primary:hover {
  background: #6294d9;
}

.letter-btn.btn--secondary {
  color: rgba(220, 53, 69, 0.45);
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.2);
}

/* --- Disabled Stop Button Neon Style --- */
.btn-stop-disabled,
.btn-stop-disabled:disabled {
  background: rgba(255, 71, 87, 0.15) !important;
  color: #ff6b81 !important;
  border-color: #ff4757 !important;
  box-shadow: 0 0 12px rgba(255, 71, 87, 0.6) !important;
  cursor: not-allowed !important;
  opacity: 0.8;
}

/* --- Clicked Stop Button Neon Style --- */
.btn-stop-clicked,
.btn-stop-clicked:disabled {
  background: rgba(46, 212, 122, 0.15) !important;
  color: #2ed47a !important;
  border-color: #2ed47a !important;
  box-shadow: 0 0 12px rgba(46, 212, 122, 0.6) !important;
  cursor: not-allowed !important;
}

/* --- Conference Table Styles --- */
.conference-table tbody tr {
  background: rgba(255, 255, 255, 0.4);
  transition: background var(--transition-fast);
}

.conference-table tbody tr:hover {
  background: var(--sapphire-subtle);
}

.conference-table td {
  padding: 6px 12px;
}

.conference-table td:first-child {
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.conference-table td:last-child {
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  #app {
    padding: var(--space-md);
  }

  .header {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

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

/* --- Auth Tabs & Admin View Styles --- */
.auth-tab-btn {
  color: var(--text-muted) !important;
  border-bottom: 3px solid transparent !important;
}

.auth-tab-btn:hover {
  color: var(--sapphire-dark) !important;
  border-bottom-color: var(--sapphire-mid) !important;
}

.auth-tab-btn.active {
  color: #5587CC !important;
  border-bottom-color: #5587CC !important;
  font-weight: 700 !important;
}

/* Admin Dashboard styles */
.admin-card {
  background: #FFFFFF;
  border: 1px solid var(--sapphire-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.admin-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5587CC;
  margin-bottom: var(--space-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th, .admin-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(124, 133, 174, 0.15);
  font-size: 0.85rem;
}

.admin-table th {
  font-weight: 600;
  color: var(--text-muted);
  position: sticky;
  top: 0;
  background: #FFFFFF;
  z-index: 10;
  border-bottom: 2px solid rgba(124, 133, 174, 0.15);
}

.admin-table--tight th,
.admin-table--tight td {
  padding: 2px 8px !important;
  line-height: 1.2;
}

.admin-table--zebra tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.04) !important;
}

.admin-table--zebra tbody tr:nth-child(odd) {
  background: transparent !important;
}