/* =====================================================
   BrightSmile Dental — Complete Stylesheet
   =====================================================
   Theme: Teal (#0D9488) / Emerald (#10B981)
   Responsive, Dark Mode, Animations
   ===================================================== */

/* =====================================================
   CSS Custom Properties (Light Theme)
   ===================================================== */
:root {
  /* Primary Colors */
  --primary: #0D9488;
  --primary-hover: #0F766E;
  --primary-light: #CCFBF1;
  --primary-dark: #115E59;
  --accent: #10B981;
  --accent-hover: #059669;
  --accent-light: #D1FAE5;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Semantic */
  --success: #10B981;
  --success-light: #D1FAE5;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --error: #EF4444;
  --error-light: #FEE2E2;
  --info: #3B82F6;
  --info-light: #DBEAFE;

  /* Surfaces */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F9FAFB;
  --bg-tertiary: #F3F4F6;
  --bg-card: #FFFFFF;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-tertiary: #6B7280;
  --border-color: #E5E7EB;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  /* Spacing */
  --container-max: 1200px;
  --container-padding: 1rem;
  --section-padding: 4rem 0;
  --border-radius: 0.75rem;
  --border-radius-sm: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;

  /* Navbar */
  --navbar-height: 70px;
}

/* =====================================================
   Dark Theme
   ===================================================== */
[data-theme="dark"] {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  --bg-card: #1E293B;
  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-tertiary: #94A3B8;
  --border-color: #334155;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.5);
  --primary-light: #134E4A;
  --accent-light: #064E3B;
  --success-light: #064E3B;
  --warning-light: #78350F;
  --error-light: #7F1D1D;
  --info-light: #1E3A5F;
  --gray-50: #1E293B;
  --gray-100: #334155;
  --gray-200: #475569;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

ul, ol {
  list-style: none;
}

/* =====================================================
   Container
   ===================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* =====================================================
   Main Content
   ===================================================== */
.main-content {
  flex: 1;
}

/* =====================================================
   Navbar
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  height: var(--navbar-height);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--text-primary);
}

.brand-icon {
  font-size: 1.75rem;
}

.brand-text {
  letter-spacing: -0.025em;
}

.brand-accent {
  color: var(--primary);
}

/* Nav Links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Navbar Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-primary);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  color: var(--primary);
}

[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: flex; }
[data-theme="light"] .theme-icon-light,
:not([data-theme]) .theme-icon-light { display: flex; }
[data-theme="light"] .theme-icon-dark,
:not([data-theme]) .theme-icon-dark { display: none; }

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-primary);
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.navbar-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav Dropdown (User Menu) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.dropdown-arrow {
  transition: transform var(--transition-fast);
}

.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.dropdown-item-danger:hover {
  background: var(--error-light);
  color: var(--error);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.375rem 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-collapse {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    z-index: 999;
  }

  .navbar-collapse.active {
    transform: translateX(0);
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1.0625rem;
  }

  .navbar-actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .navbar-actions .btn {
    justify-content: center;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .theme-toggle {
    align-self: flex-start;
  }
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #FFFFFF;
}

.btn-accent {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--gray-300);
}

.btn-danger {
  background: var(--error);
  color: #FFFFFF;
  border-color: var(--error);
}

.btn-danger:hover {
  background: #DC2626;
  border-color: #DC2626;
  color: #FFFFFF;
}

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

.btn-success:hover {
  background: #059669;
  border-color: #059669;
  color: #FFFFFF;
}

.btn-warning {
  background: var(--warning);
  color: #FFFFFF;
  border-color: var(--warning);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  box-shadow: none;
  transform: none;
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =====================================================
   Cards
   ===================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-no-hover:hover {
  box-shadow: none;
  transform: none;
}

.card-header {
  margin-bottom: 1rem;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* =====================================================
   Badges
   ===================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  text-transform: capitalize;
}

.badge-pending {
  background: var(--warning-light);
  color: #92400E;
}

[data-theme="dark"] .badge-pending {
  color: #FCD34D;
}

.badge-confirmed {
  background: var(--info-light);
  color: #1E40AF;
}

[data-theme="dark"] .badge-confirmed {
  color: #93C5FD;
}

.badge-cancelled {
  background: var(--error-light);
  color: #991B1B;
}

[data-theme="dark"] .badge-cancelled {
  color: #FCA5A5;
}

.badge-completed {
  background: var(--success-light);
  color: #065F46;
}

[data-theme="dark"] .badge-completed {
  color: #6EE7B7;
}

.badge-general { background: #DBEAFE; color: #1E40AF; }
.badge-cosmetic { background: #FCE7F3; color: #9D174D; }
.badge-orthodontic { background: #FEF3C7; color: #92400E; }
.badge-surgical { background: #FEE2E2; color: #991B1B; }

[data-theme="dark"] .badge-general { background: #1E3A5F; color: #93C5FD; }
[data-theme="dark"] .badge-cosmetic { background: #4A1942; color: #F9A8D4; }
[data-theme="dark"] .badge-orthodontic { background: #78350F; color: #FCD34D; }
[data-theme="dark"] .badge-surgical { background: #7F1D1D; color: #FCA5A5; }

/* =====================================================
   Forms
   ===================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-family: inherit;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}

.form-error {
  color: var(--error);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.form-input.is-invalid {
  border-color: var(--error);
}

.form-input.is-invalid:focus {
  box-shadow: 0 0 0 3px var(--error-light);
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  padding: 0.25rem;
  display: flex;
}

.password-toggle:hover {
  color: var(--text-secondary);
}

.password-strength {
  height: 4px;
  border-radius: 2px;
  background: var(--border-color);
  margin-top: 0.5rem;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  border-radius: 2px;
  transition: all var(--transition-normal);
  width: 0;
}

.strength-weak { width: 33%; background: var(--error); }
.strength-fair { width: 66%; background: var(--warning); }
.strength-strong { width: 100%; background: var(--success); }

/* =====================================================
   Tables
   ===================================================== */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background: var(--bg-secondary);
}

.table td {
  color: var(--text-secondary);
}

/* =====================================================
   Flash Messages / Toasts
   ===================================================== */
.flash-container {
  position: fixed;
  top: calc(var(--navbar-height) + 1rem);
  right: 1rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 400px;
}

.flash-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.flash-icon {
  flex-shrink: 0;
  display: flex;
}

.flash-text {
  flex: 1;
}

.flash-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.5;
  color: inherit;
  padding: 0 0.25rem;
  line-height: 1;
}

.flash-close:hover {
  opacity: 1;
}

.flash-success {
  background: var(--success-light);
  color: #065F46;
  border: 1px solid var(--success);
}

[data-theme="dark"] .flash-success {
  color: #6EE7B7;
}

.flash-error {
  background: var(--error-light);
  color: #991B1B;
  border: 1px solid var(--error);
}

[data-theme="dark"] .flash-error {
  color: #FCA5A5;
}

.flash-info {
  background: var(--info-light);
  color: #1E40AF;
  border: 1px solid var(--info);
}

[data-theme="dark"] .flash-info {
  color: #93C5FD;
}

.flash-warning {
  background: var(--warning-light);
  color: #92400E;
  border: 1px solid var(--warning);
}

[data-theme="dark"] .flash-warning {
  color: #FCD34D;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  padding: calc(var(--navbar-height) + 4rem) 0 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, #0EA5E9 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.2);
  border-radius: var(--border-radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hero p {
  font-size: 1.1875rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: #FFFFFF;
  color: var(--primary);
  border-color: #FFFFFF;
}

.hero .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  color: var(--primary-hover);
}

.hero .btn-outline {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.5);
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* Hero Shapes */
.hero-shapes {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  opacity: 0.1;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: #FFFFFF;
}

.hero-shapes .shape-1 {
  width: 300px;
  height: 300px;
  right: -50px;
  top: 50px;
}

.hero-shapes .shape-2 {
  width: 200px;
  height: 200px;
  right: 100px;
  top: -30px;
}

.hero-shapes .shape-3 {
  width: 150px;
  height: 150px;
  right: -80px;
  bottom: 20px;
}

@media (max-width: 768px) {
  .hero {
    padding: calc(var(--navbar-height) + 2rem) 0 2.5rem;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero p {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-shapes {
    display: none;
  }
}

/* =====================================================
   Page Hero (Inner Pages)
   ===================================================== */
.page-hero {
  padding: calc(var(--navbar-height) + 3rem) 0 2.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #FFFFFF;
  text-align: center;
}

.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =====================================================
   Sections
   ===================================================== */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.0625rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--border-radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* =====================================================
   Service Cards Grid
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.service-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.service-duration {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* =====================================================
   Features / Why Choose Us
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* =====================================================
   Stats Section
   ===================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-number {
    font-size: 2rem;
  }
}

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1rem;
  color: #F59E0B;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-section .btn-primary {
  background: #FFFFFF;
  color: var(--primary);
  border-color: #FFFFFF;
}

.cta-section .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  color: var(--primary-hover);
}

/* =====================================================
   Booking / Multi-step Form
   ===================================================== */
.booking-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.booking-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  border: 2px solid var(--border-color);
  transition: all var(--transition-normal);
}

.booking-step.active .booking-step-number {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.booking-step.completed .booking-step-number {
  background: var(--success);
  color: #FFFFFF;
  border-color: var(--success);
}

.booking-step-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.booking-step.active .booking-step-label {
  color: var(--primary);
  font-weight: 600;
}

.booking-step.completed .booking-step-label {
  color: var(--success);
}

.booking-step-line {
  position: absolute;
  top: 20px;
  left: calc(50% + 30px);
  right: calc(-50% + 30px);
  height: 2px;
  background: var(--border-color);
}

.booking-step.completed + .booking-step-line,
.booking-step.completed ~ .booking-step-line {
  background: var(--success);
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Time Slots Grid */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}

.time-slot {
  padding: 0.625rem;
  text-align: center;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  background: var(--bg-primary);
  color: var(--text-primary);
}

.time-slot:hover:not(.disabled) {
  border-color: var(--primary);
  background: var(--primary-light);
}

.time-slot.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #FFFFFF;
}

.time-slot.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Booking Summary */
.booking-summary {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.125rem;
}

.summary-label {
  color: var(--text-secondary);
}

.summary-value {
  color: var(--text-primary);
  font-weight: 500;
}

/* =====================================================
   Auth Pages (Login / Register)
   ===================================================== */
.auth-wrapper {
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--navbar-height) + 2rem) 1rem 2rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.auth-footer a {
  font-weight: 600;
}

/* =====================================================
   Dashboard
   ===================================================== */
.dashboard-header {
  padding: calc(var(--navbar-height) + 2rem) 0 1.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.dashboard-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.dashboard-header p {
  color: var(--text-secondary);
}

.dashboard-content {
  padding: 2rem 0;
}

/* Dashboard Stats Cards */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-stat-icon.teal {
  background: var(--primary-light);
  color: var(--primary);
}

.dash-stat-icon.green {
  background: var(--accent-light);
  color: var(--accent);
}

.dash-stat-icon.yellow {
  background: var(--warning-light);
  color: var(--warning);
}

.dash-stat-icon.red {
  background: var(--error-light);
  color: var(--error);
}

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

.dash-stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
  gap: 0.25rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* =====================================================
   Filter Bar
   ===================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-bar .form-input,
.filter-bar .form-select {
  max-width: 250px;
}

.filter-tabs {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--border-radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* =====================================================
   Appointments List
   ===================================================== */
.appointments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.appointment-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.appointment-item:hover {
  box-shadow: var(--shadow-md);
}

.appointment-date-box {
  text-align: center;
  min-width: 60px;
  flex-shrink: 0;
}

.appointment-date-box .month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
}

.appointment-date-box .day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.appointment-info {
  flex: 1;
  min-width: 0;
}

.appointment-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.appointment-meta {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.appointment-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.appointment-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .appointment-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .appointment-actions {
    width: 100%;
  }
  .appointment-actions .btn {
    flex: 1;
  }
}

/* =====================================================
   Contact Page
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.map-wrapper {
  margin-top: 2rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.map-wrapper iframe {
  width: 100%;
  height: 250px;
  border: none;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   About Page
   ===================================================== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-story-image {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  border-radius: var(--border-radius-lg);
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.about-story h2 {
  margin-bottom: 1rem;
}

.about-story p {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .about-story {
    grid-template-columns: 1fr;
  }
  .about-story-image {
    height: 250px;
  }
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-normal);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.team-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.8125rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--primary);
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* =====================================================
   Admin Panel
   ===================================================== */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--navbar-height));
}

.admin-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 1.5rem 1rem;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.admin-sidebar-link:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.admin-sidebar-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.admin-main {
  padding: 2rem;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
  }
  .admin-sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .admin-sidebar-link {
    white-space: nowrap;
  }
}

/* =====================================================
   Modal
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.modal {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--transition-fast);
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 1.125rem;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--text-tertiary);
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  font-size: 1.25rem;
}

.modal-close:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3.5rem 0 0;
}

[data-theme="dark"] .footer {
  background: #0B1120;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.375rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-brand .brand-accent {
  color: var(--primary);
}

.footer-description {
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  background: var(--gray-800);
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 0.25rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.footer-contact span,
.footer-contact a {
  color: var(--gray-400);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-contact a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.8125rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Animations
   ===================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   Utilities
   ===================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-tertiary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--error) !important; }
.text-warning { color: var(--warning) !important; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================
   Empty State
   ===================================================== */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-tertiary);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9375rem;
}

/* =====================================================
   Loading / Skeleton
   ===================================================== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--border-radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* =====================================================
   Service Selection Cards (Booking)
   ===================================================== */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.service-select-card {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--bg-primary);
}

.service-select-card:hover {
  border-color: var(--primary);
}

.service-select-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.service-select-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.service-select-card .service-meta {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  display: flex;
  gap: 1rem;
}

/* =====================================================
   Confirmation Page
   ===================================================== */
.confirmation-card {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.confirmation-card h2 {
  margin-bottom: 0.75rem;
}

.confirmation-card p {
  margin-bottom: 1.5rem;
}

/* =====================================================
   Action Buttons Row
   ===================================================== */
.action-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.action-row .btn {
  font-size: 0.8125rem;
  padding: 0.375rem 0.75rem;
}

/* =====================================================
   Search Input
   ===================================================== */
.search-input-wrapper {
  position: relative;
}

.search-input-wrapper svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
}

.search-input-wrapper .form-input {
  padding-left: 2.5rem;
}

/* =====================================================
   Profile Form
   ===================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Print Styles
   ===================================================== */
@media print {
  .navbar, .footer, .flash-container, .btn, .no-print {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
