/* ============================================
   AQUATIC STRATEGY THEME
   Component patch over the base design system —
   navy sidebar, Barlow Condensed display headings,
   site-spec buttons. Loaded after all other CSS.
   Token changes live in design-system.css.
   ============================================ */

.main-content { background: #f5f4ef; }

/* Sidebar: navy ground, light nav text, tinted active state (no keyline) */
.sidebar { background: #003262; color: #ffffff; }
.sidebar-header { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.sidebar-header h1 { color: #ffffff; font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; }
.sidebar-header .user-info { color: #C4D2E2; }
.sidebar-header #site-name { color: #7E97B3; }
.sidebar-logo img { width: 150px; height: auto; }
.nav-section-title { color: #7E97B3; }
.nav-link { color: #C4D2E2; }
.nav-link:hover { background: rgba(255, 255, 255, 0.06); border-left-color: transparent; color: #ffffff; }
.nav-link.active { background: rgba(255, 211, 47, 0.14); border-left-color: transparent; color: #ffffff; font-weight: 700; }

/* Display type: Barlow Condensed, uppercase, navy */
.content-title, .dashboard-welcome h2, .quick-actions-section h3, .products-section h3,
.invoices-container h3, .section-content h3, .coming-soon h3 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; color: #003262;
}

/* Buttons: site button spec — yellow, navy text, uppercase */
.product-cta, .btn-primary, .show-more-btn {
  background: #FFD32F; color: #003262; font-family: 'Barlow', sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border: none;
}
.product-cta:hover, .btn-primary:hover:not(:disabled), .show-more-btn:hover { background: #ffdc5c; }

/* Stat cards */
.stat-card { background: #ffffff; border: 1px solid #e6e4dc; border-radius: 8px; }
.stat-number { color: #003262; font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-weight: 900; }
.stat-label { color: #7a8999; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; font-weight: 700; }

/* Cards */
.invoice-card, .product-card { background: #ffffff; border: 1px solid #e6e4dc; border-radius: 8px; }
.product-discount { background: #FFD32F; color: #003262; font-weight: 700; }

/* "Portal" picked out in brand yellow in the sidebar heading */
.sidebar-header h1 .brand-accent { color: #FFD32F; }

/* ── Modals: the navy card from the booking modal, portal-wide ──
   Settings' invite / change-password cards and the shared confirm/alert
   dialogs all pick this up; the booking modal's own rules are a superset
   and win on specificity. Onboarding's big step modals keep a white body
   and carry their own navy header in their embedded styles. */
.modal-content {
  background: #144267;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.modal-header { border-bottom-color: rgba(255, 255, 255, 0.12); }
.modal-header h3 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em;
  color: #ffffff;
}
.modal-content .modal-body, .modal-content .modal-body p { color: #DCE7F3; }
/* Two-button footers split to the card edges: cancel left, action right */
.modal-footer { border-top-color: rgba(255, 255, 255, 0.12); justify-content: space-between; }
.modal-content .modal-close { color: #A9BCCF; }
.modal-content .modal-close:hover { color: #FFD32F; background: rgba(255, 255, 255, 0.08); }

/* Form fields sit on the navy like the login card */
.modal-content .form-group label { color: #DCE7F3; }
.modal-content .form-group .required { color: #FFD32F; }
.modal-content .form-text { color: #A9BCCF; }
.modal-content .form-input,
.modal-content .form-control,
.modal-content .form-group input,
.modal-content .form-group select,
.modal-content .form-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.modal-content .form-input::placeholder,
.modal-content .form-control::placeholder { color: rgba(255, 255, 255, 0.5); }
.modal-content .form-input:focus,
.modal-content .form-control:focus,
.modal-content .form-group input:focus,
.modal-content .form-group select:focus,
.modal-content .form-group textarea:focus {
  border-color: #FFD32F; background: rgba(255, 255, 255, 0.12);
  outline: none; box-shadow: none;
}

/* Cancel is a ghost button on navy */
.modal-content .btn-secondary {
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); color: #DCE7F3;
}
.modal-content .btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08); color: #ffffff; border-color: rgba(255, 255, 255, 0.5);
}

/* Status chips as translucent tints, matching the login page */
.modal-content .form-message.success {
  background: rgba(46, 196, 124, 0.16); border: 1px solid rgba(46, 196, 124, 0.35); color: #9BEBC8;
}
.modal-content .form-message.error {
  background: rgba(220, 53, 69, 0.18); border: 1px solid rgba(220, 53, 69, 0.35); color: #FFB3BC;
}
