/* ============================================
   BOOKINCLOUD - MODERN SAAS DESIGN SYSTEM
   ============================================ */

/* CSS Variables - Design Tokens */
:root {
    /* ========== PRIMARY COLORS ========== */
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;

    /* Primary Aliases */
    --primary-start: var(--primary-500);
    --primary-end: #8b5cf6;
    --primary-gradient: linear-gradient(135deg, var(--primary-500) 0%, #8b5cf6 50%, #a855f7 100%);
    --primary-hover: var(--primary-600);

    /* ========== ACCENT COLORS ========== */
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-green: #10b981;
    --accent-green-dark: #059669;

    /* ========== STATE COLORS ========== */
    --success-50: #dcfce7;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #166534;
    --success-border: #86efac;

    --warning-50: #fef3c7;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #92400e;
    --warning-border: #fcd34d;

    --error-50: #fee2e2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --error-700: #991b1b;
    --error-border: #fca5a5;

    --info-50: #dbeafe;
    --info-500: #3b82f6;
    --info-600: #2563eb;
    --info-700: #1e40af;
    --info-border: #93c5fd;

    /* ========== GRAY SCALE ========== */
    --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;

    /* ========== BACKGROUNDS ========== */
    /* Dark Theme */
    --bg-dark: #0f0f1a;
    --bg-darker: #080810;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    /* Light Theme */
    --bg-light: #ffffff;
    --bg-light-secondary: #f8fafc;
    --bg-light-tertiary: #f1f5f9;
    --bg-light-hover: #e2e8f0;

    /* ========== TEXT COLORS ========== */
    /* Dark Theme Text */
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);

    /* Light Theme Text */
    --text-dark: #1e293b;
    --text-dark-secondary: #64748b;
    --text-dark-muted: #94a3b8;

    /* ========== BORDERS ========== */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-light-subtle: rgba(255, 255, 255, 0.05);
    --border-dark: #e2e8f0;
    --border-dark-subtle: #f1f5f9;
    --border-input: #e5e7eb;
    --border-input-focus: var(--primary-500);

    /* ========== SHADOWS ========== */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-primary: 0 4px 15px rgba(99, 102, 241, 0.4);
    --shadow-primary-hover: 0 8px 25px rgba(99, 102, 241, 0.5);

    /* ========== TYPOGRAPHY ========== */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;

    /* ========== SPACING ========== */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    --container-max: 1280px;
    --section-padding: var(--space-24);

    /* ========== BORDER RADIUS ========== */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

    /* ========== TRANSITIONS ========== */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-slower: 500ms ease;

    /* ========== Z-INDEX LAYERS ========== */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 500;
    --z-modal-backdrop: 900;
    --z-modal: 1000;
    --z-toast: 1100;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   BASE COMPONENT CLASSES (Consolidated)
   ============================================ */

/* Base Card - shared by dashboard-card, feature-card, selection-card, service-card */
.card-base {
    background: var(--bg-light);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    transition: all var(--transition-slow);
}

.card-base:hover {
    border-color: var(--primary-start);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

/* Dark theme card variant */
.card-dark {
    background: var(--bg-card);
    border-color: var(--border-light);
}

.card-dark:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-glow);
}

/* Base Input - shared input styling */
.input-base {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: var(--font-sans);
    transition: all var(--transition-base);
    background: var(--bg-light);
    color: var(--text-dark);
}

.input-base:focus {
    outline: none;
    border-color: var(--primary-start);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

/* Base Button enhancements */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-lg);
}

/* Section container */
.section-container {
    background: var(--bg-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-dark);
}

/* Grid layouts */
.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* Status badge base */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.badge-success {
    background: var(--success-50);
    color: var(--success-700);
}

.badge-warning {
    background: var(--warning-50);
    color: var(--warning-700);
}

.badge-error {
    background: var(--error-50);
    color: var(--error-700);
}

.badge-info {
    background: var(--info-50);
    color: var(--info-700);
}

/* Gradient text utility */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Visually hidden (accessibility) */
.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;
}

/* ============================================
   DASHBOARD PAGE HEADER - CONSISTENT STYLING
   ============================================ */
.page-header,
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-header h1,
.dashboard-header h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.page-header .header-actions,
.dashboard-header .header-actions,
.dashboard-header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Outline button style for consistency */
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-dark);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.btn-outline-primary {
    border-color: var(--primary-500);
    color: var(--primary-600);
}

.btn-outline-primary:hover {
    background: var(--primary-50);
    border-color: var(--primary-600);
}

/* Mobile responsive page header */
@media (max-width: 768px) {

    .page-header,
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .page-header h1,
    .dashboard-header h1 {
        font-size: 1.5rem;
    }

    .page-header .header-actions,
    .dashboard-header .header-actions,
    .dashboard-header-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

/* Lucide Icons - Base Styles */
[data-lucide] {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    display: inline-block;
    stroke-width: 2;
    flex-shrink: 0;
}

/* Icon sizes - maintain proper vertical alignment */
.icon-sm {
    width: 16px;
    height: 16px;
    vertical-align: -0.15em;
}

.icon-md {
    width: 20px;
    height: 20px;
    vertical-align: -0.2em;
}

.icon-lg {
    width: 24px;
    height: 24px;
    vertical-align: -0.25em;
}

.icon-xl {
    width: 32px;
    height: 32px;
    vertical-align: -0.3em;
}

/* Icons inline with text - better alignment */
.icon-inline {
    vertical-align: middle;
    position: relative;
    top: -0.1em;
}

/* Icon in buttons/links */
.btn [data-lucide],
a [data-lucide] {
    margin-right: 0.35em;
    vertical-align: middle;
    position: relative;
    top: -0.05em;
}

/* Icon after text (like arrows) */
.icon-after [data-lucide],
[data-lucide].icon-after {
    margin-right: 0;
    margin-left: 0.35em;
}

/* Icon only (no margin) */
.icon-only [data-lucide] {
    margin-right: 0;
    margin-left: 0;
}

/* ============================================
   PLATFORM PAGES (Dark Theme - SaaS Style)
   ============================================ */

body.platform-page {
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Global page shell for consistent header spacing */
.page-shell {
    position: relative;
    z-index: 1;
}

.page-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 5rem 2rem 3rem;
    /* clears fixed nav (~64px) and gives breathing room */
    width: 100%;
}

/* Messages bar */
.page-messages {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 4.5rem 2rem 1rem;
    /* align with content top spacing */
}

/* Utility: allow child pages to reduce top padding if needed */
.page-content.narrow-top {
    padding-top: 3.5rem;
}

/* Animated Background */
.platform-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Platform Navbar */
.platform-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 2rem;
}

.platform-navbar .container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.platform-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.platform-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.platform-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.platform-nav a:hover {
    color: var(--text-white);
}

/* Platform Hero */
.platform-hero {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem 6rem;
    text-align: center;
    overflow: hidden;
}

.platform-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--primary-gradient);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-badge .badge-icon {
    font-size: 1rem;
}

.platform-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.platform-hero h1 .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-white);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Light theme secondary buttons */
body.platform-page.light-theme .btn-secondary {
    background: #eef2ff;
    color: var(--primary-700);
    border: 1px solid var(--primary-200);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.15);
}

body.platform-page.light-theme .btn-secondary:hover {
    background: var(--primary-100);
    border-color: var(--primary-300);
    color: var(--primary-900);
}

/* Light theme primary buttons - ensure text stays white */
body.platform-page.light-theme .btn-primary {
    color: #ffffff !important;
}

body.platform-page.light-theme .platform-nav .btn-primary {
    color: #ffffff !important;
}

/* Booking pages secondary buttons */
body.booking-page .btn-secondary {
    background: var(--bg-light-tertiary);
    color: #0f172a;
    border: 1px solid var(--bg-light-hover);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

body.booking-page .btn-secondary:hover {
    background: var(--bg-light-hover);
    border-color: #cbd5f5;
    color: #1e293b;
}

.btn-outline {
    background: transparent;
    color: var(--primary-start);
    border: 2px solid var(--primary-start);
}

.btn-outline:hover {
    background: var(--primary-start);
    color: white;
}

/* Platform Features */
.platform-features {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 2rem;
}

.platform-features .container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Steps Grid (3-step how it works section) */
.steps-grid {
    grid-template-columns: repeat(3, 1fr);
}

.step-card {
    text-align: center;
}

.step-icon {
    margin: 0 auto 1.5rem;
}

.step-1 {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

.step-2 {
    background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
}

.step-3 {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

/* Stats Section */
.platform-stats {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    background: #0f1419;
    overflow: hidden;
}

.platform-stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.stats-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats-trust-header {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.booking-counter-box {
    background: linear-gradient(135deg, rgba(30, 35, 45, 0.9) 0%, rgba(25, 30, 38, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid #8b5cf6;
    padding: 2.5rem 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booking-counter-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.booking-counter-box .counter-number {
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.booking-counter-box .counter-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 400;
    margin: 0;
}

/* Legacy classes - keeping for backward compatibility */
.stats-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.booking-counter-section {
    grid-template-columns: 1fr;
    max-width: 900px;
}

.booking-counter-item {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item h3,
.counter-number {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-item p,
.counter-text {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* CTA Section */
.platform-cta {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 2rem;
    text-align: center;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-card .btn {
    background: white;
    color: var(--primary-start);
}

.cta-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Platform Footer */
.platform-footer {
    position: relative;
    z-index: 1;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-light);
    padding: 3rem 2rem 1.5rem;
}

.platform-footer .container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .platform-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
    text-align: left;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 0;
    max-width: 300px;
    line-height: 1.6;
    font-size: 0.9rem;
    text-align: left;
}

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

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem 0;
    color: var(--text-muted);
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-start);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   DASHBOARD PAGES (Modern Light Theme)
   ============================================ */

body.dashboard-page {
    background: var(--bg-light-tertiary);
    color: var(--text-dark);
    min-height: 100vh;
}

/* ============================================
   PLATFORM LIGHT THEME PAGES
   Using scoped CSS custom properties for efficiency
   ============================================ */

/* Light theme - redefine theme variables at scope level */
body.platform-page.light-theme {
    /* Override theme colors for light mode */
    --theme-bg: var(--bg-light-tertiary);
    --theme-bg-card: var(--bg-light);
    --theme-bg-hover: var(--bg-light-hover);
    --theme-text: var(--text-dark);
    --theme-text-secondary: var(--text-dark-secondary);
    --theme-text-muted: var(--text-dark-muted);
    --theme-border: var(--border-dark);

    background: var(--theme-bg);
    color: var(--theme-text);
}

body.platform-page.light-theme::before {
    display: none !important;
}

/* Light theme navbar */
body.platform-page.light-theme .platform-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid var(--theme-border) !important;
    box-shadow: var(--shadow-md);
}

body.platform-page.light-theme .platform-nav a {
    color: var(--theme-text-secondary);
}

body.platform-page.light-theme .platform-nav a:hover {
    color: var(--theme-text);
}

/* 
   Isolated components that manage their own colors.
   Use the .theme-isolated class on any component that should NOT have its 
   text colors forced by the global light/dark theme rules below.
*/
.theme-isolated,
.theme-isolated * {
    /* Styles are handled by the component itself */
}

/* Legacy specific exclusions - prefer using .theme-isolated going forward */
.support-fab,
.support-fab *,
.time-badge,
.time-badge *,
.demo-banner-content,
.demo-banner-content * {}

/* Light theme typography - consolidated */
body.platform-page.light-theme :where(h1, h2, h3, h4, h5, h6, strong):not(.theme-isolated *):not(.theme-isolated):not(.metric-content *) {
    color: var(--theme-text);
}

body.platform-page.light-theme :where(p, span, label, small):not(.theme-isolated *):not(.theme-isolated):not(.fc-icon):not(.metric-content *):not(.analytics-value):not(.analytics-label) {
    color: var(--theme-text-secondary);
}

body.platform-page.light-theme table small {
    color: var(--gray-600) !important;
}

/* Light theme forms - consolidated */
body.platform-page.light-theme .form-group :where(input, select, textarea) {
    background: var(--theme-bg-card);
    color: var(--theme-text);
    border-color: var(--theme-border);
}

body.platform-page.light-theme .form-group :where(input, textarea)::placeholder {
    color: var(--theme-text-muted);
}

/* Light theme tables - consolidated */
body.platform-page.light-theme table {
    color: var(--theme-text);
}

body.platform-page.light-theme table th {
    color: var(--theme-text-secondary);
    background: var(--bg-light-secondary);
}

body.platform-page.light-theme :where(table td, table td strong) {
    color: var(--theme-text);
}

/* Light theme cards & containers - consolidated */
body.platform-page.light-theme :where(.settings-container, .services-list-container, .dashboard-card) {
    background: var(--theme-bg-card);
    color: var(--theme-text);
}

body.platform-page.light-theme :where(.service-card h3, .detail-value) {
    color: var(--theme-text);
}

body.platform-page.light-theme :where(.service-card p, .service-description, .detail-label, .help-text) {
    color: var(--theme-text-secondary);
}

/* Light theme misc elements - consolidated */
body.platform-page.light-theme :where(.empty-state h3, .url-display, .url-display strong) {
    color: var(--theme-text);
}

body.platform-page.light-theme .empty-state p {
    color: var(--theme-text-secondary);
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid var(--border-dark);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-logo {
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid var(--border-dark);
    margin-bottom: 1.5rem;
}

.sidebar-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.sidebar-nav {
    padding: 0 1rem;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark-secondary);
    padding: 0 0.75rem;
    margin-bottom: 0.75rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    color: var(--text-dark-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
}

.nav-item:hover {
    background: var(--bg-light-secondary);
    color: var(--text-dark);
}


.nav-item .nav-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.nav-item .nav-badge {
    margin-left: auto;
    background: var(--error-500);
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 100px;
    font-weight: 600;
}

/* Dashboard Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.dashboard-header-actions {
    display: flex;
    gap: 1rem;
}

/* Dashboard Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-500);
}

.card-icon [data-lucide] {
    width: 32px;
    height: 32px;
}

.card-icon.green {
    background: transparent;
    color: var(--accent-green);
}

.card-icon.blue {
    background: transparent;
    color: var(--info-500);
}

.card-icon.orange {
    background: transparent;
    color: var(--accent-orange);
}

.card-icon.pink {
    background: transparent;
    color: var(--accent-pink);
}

.card-content h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark-secondary);
    margin-bottom: 0.5rem;
}

.card-content .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.card-content .stat-change {
    font-size: 0.875rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.card-content .stat-change.negative {
    color: var(--error-500);
}

/* Dashboard Tables */
.dashboard-table-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-dark);
    overflow: hidden;
}

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

.table-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

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

.dashboard-table th,
.dashboard-table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

.dashboard-table th {
    background: var(--bg-light-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark-secondary);
}

.dashboard-table td {
    border-bottom: 1px solid var(--border-dark);
    font-size: 0.95rem;
}

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

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

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.confirmed {
    background: var(--success-50);
    color: var(--success-700);
}

.status-badge.pending {
    background: var(--warning-50);
    color: var(--warning-700);
}

.status-badge.cancelled {
    background: var(--error-50);
    color: var(--error-700);
}

.status-badge.completed {
    background: var(--primary-100);
    color: var(--primary-800);
}

/* Mobile Responsive Dashboard Table */
@media (max-width: 768px) {
    .dashboard-table-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .dashboard-table {
        min-width: 600px;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 0.75rem 1rem;
        white-space: nowrap;
    }

    .table-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .table-header h2 {
        font-size: 1.1rem;
    }
}

/* ============================================
   BUSINESS BOOKING PAGES (Minimalist Light)
   ============================================ */

body.booking-page {
    background: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
}

/* Business Navbar */
.business-navbar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.business-navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.business-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.business-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.business-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.business-contact {
    display: flex;
    gap: 1.5rem;
}

.business-contact a {
    color: var(--text-dark-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.business-contact a:hover {
    color: var(--primary-start);
}

/* Booking Hero */
.booking-hero {
    background: linear-gradient(135deg, var(--bg-light-secondary) 0%, var(--bg-light-hover) 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.booking-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.booking-hero p {
    font-size: 1.125rem;
    color: var(--text-dark-secondary);
}

/* Booking Steps */
.booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step.clickable {
    cursor: pointer;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.step.completed .step-number {
    background: var(--accent-green);
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 500;
}

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

.step.completed .step-label {
    color: var(--accent-green);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--gray-200);
    margin: 0 1rem;
    min-width: 60px;
}

.step-line.completed {
    background: var(--accent-green);
}

/* Booking Container */
.booking-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.booking-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.booking-container .subtitle {
    text-align: center;
    color: var(--text-dark-secondary);
    margin-bottom: 2rem;
}

/* Selection Cards */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.selection-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.selection-card:hover {
    border-color: var(--primary-start);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.selection-card.selected {
    border-color: var(--primary-start);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.selection-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.card-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.selection-card.selected .card-check,
.selection-card input[type="radio"]:checked~.card-check {
    display: flex;
}

.card-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--gray-200);
}

.selection-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

.selection-card p {
    color: var(--text-dark-secondary);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

.card-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.card-details span {
    font-size: 0.875rem;
    color: var(--text-dark-secondary);
}

.card-details .price {
    color: var(--accent-green);
    font-weight: 600;
}

/* Calendar Styles */
.datetime-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.calendar-section,
.time-section {
    background: var(--bg-light-secondary);
    border-radius: 16px;
    padding: 1.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.calendar-nav {
    width: 36px;
    height: 36px;
    border: none;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-dark-secondary);
    transition: all 0.2s ease;
}

.calendar-nav:hover {
    background: var(--primary-start);
    color: white;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark-secondary);
    padding: 0.5rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    border: none;
    background: white;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.calendar-day:hover:not(.past):not(.empty):not(.unavailable) {
    background: var(--primary-start);
    color: white;
}

.calendar-day.today {
    background: var(--primary-100);
    color: var(--primary-start);
    font-weight: 600;
}

.calendar-day.selected {
    background: var(--primary-gradient) !important;
    color: white !important;
}

.calendar-day.past,
.calendar-day.unavailable {
    color: var(--gray-300);
    cursor: not-allowed;
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.time-slot {
    padding: 1rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.time-slot:hover {
    border-color: var(--primary-start);
    color: var(--primary-start);
}

.time-slot.selected {
    background: var(--primary-gradient);
    border-color: var(--primary-start);
    color: white;
}

/* Form Styles */
.info-form {
    max-width: 500px;
    margin: 0 auto;
}

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

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

/* Fix labels and text for dark platform pages */
body.platform-page:not(.light-theme) .form-group label {
    color: var(--text-light);
    opacity: 0.95;
}

body.platform-page:not(.light-theme) .subtitle {
    color: var(--text-muted);
}

body.platform-page:not(.light-theme) .booking-container h2 {
    color: var(--text-white);
}

body.platform-page:not(.light-theme) .booking-container p {
    color: var(--text-muted);
}

/* Fix section headings and help text for dark backgrounds */
body.platform-page:not(.light-theme) h3 {
    color: var(--text-light);
}

body.platform-page:not(.light-theme) small,
body.platform-page:not(.light-theme) .form-group small {
    color: var(--text-muted);
    opacity: 0.8;
}

body.platform-page hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Fix any other text elements that might be hard to see */
body.platform-page .booking-container {
    color: var(--text-light);
}

body.platform-page .booking-container a {
    color: var(--primary-start);
}

body.platform-page .booking-container a:hover {
    color: var(--primary-end);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--bg-light);
    color: var(--text-dark);
}

/* Fix inputs for dark platform pages */
body.platform-page .form-group input,
body.platform-page .form-group select,
body.platform-page .form-group textarea {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
}

body.platform-page .form-group input:focus,
body.platform-page .form-group select:focus,
body.platform-page .form-group textarea:focus {
    background: var(--bg-light);
    border-color: var(--primary-start);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-start);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Booking Summary */
.booking-summary {
    background: var(--bg-light-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.booking-summary h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.summary-item:last-child {
    border-bottom: none;
}

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

.summary-value {
    font-weight: 600;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

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

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.confirmation-icon.pending {
    background: linear-gradient(135deg, var(--warning-500), var(--warning-600));
}

.confirmation-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.appointment-details {
    background: var(--bg-light-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.detail-row:last-child {
    border-bottom: none;
}

/* Business Footer */
.business-footer {
    background: var(--bg-light-secondary);
    border-top: 1px solid var(--gray-200);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.business-footer p {
    color: var(--text-dark-secondary);
    font-size: 0.875rem;
}

.business-footer a {
    color: var(--primary-start);
    text-decoration: none;
}

/* ============================================
   ALERTS & NOTIFICATIONS
   ============================================ */

.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background: var(--success-50);
    color: var(--success-700);
    border: 1px solid var(--success-border);
}

.alert-error {
    background: var(--error-50);
    color: var(--error-700);
    border: 1px solid var(--error-border);
}

.alert-info {
    background: var(--info-50);
    color: var(--info-700);
    border: 1px solid var(--info-border);
}

.alert-warning {
    background: var(--warning-50);
    color: var(--warning-700);
    border: 1px solid var(--warning-border);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .dashboard-sidebar {
        width: 240px;
    }

    .dashboard-main {
        margin-left: 240px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .platform-navbar {
        padding: 1rem;
    }

    .platform-hero {
        padding: 8rem 1rem 4rem;
    }

    .platform-hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .dashboard-sidebar.open {
        transform: translateX(0);
    }

    .dashboard-main {
        margin-left: 0;
        padding: 1rem;
    }

    .datetime-picker {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .booking-steps {
        padding: 1.5rem 1rem;
        gap: 0;
        justify-content: center !important;
        max-width: 100% !important;
    }

    .booking-steps .step {
        flex: 0 0 auto !important;
    }

    .booking-steps .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .booking-steps .step-label {
        display: none;
    }

    .booking-steps .step-line {
        min-width: 25px;
        max-width: 50px;
        flex: 0 1 40px !important;
        margin: 0 0.5rem;
    }

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

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.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;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ============================================
   LEGACY COMPATIBILITY
   ============================================ */

/* Keep old class names working */

/* ============================================
   BUSINESS PAGE HEADER / NAVBAR
   ============================================ */
.navbar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-shrink: 0;
}

.business-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--bg-light-tertiary);
    flex-shrink: 0;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-link:hover .logo {
    color: var(--primary-start);
}

.logo-link:hover .business-logo {
    border-color: var(--primary-start);
}

.navbar-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.navbar-contact {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-dark-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-contact:hover {
    color: var(--primary-start);
    background: var(--bg-light-secondary);
}

.navbar-account {
    background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    color: white !important;
    padding: 0.5rem 1rem;
}

.navbar-account:hover {
    background: linear-gradient(135deg, #5558e3 0%, #7c4ddb 100%);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* Mobile responsive navbar */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .navbar-brand {
        width: 100%;
        justify-content: center;
    }

    .navbar-info {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }

    .navbar-contact {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    .business-logo {
        width: 40px;
        height: 40px;
    }

    .logo {
        font-size: 1.1rem;
    }
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

footer {
    background: var(--bg-light-secondary);
    border-top: 1px solid var(--gray-200);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

footer p {
    color: var(--text-dark-secondary);
    font-size: 0.875rem;
    margin: 0.25rem 0;
}

footer a {
    color: var(--primary-start);
    text-decoration: none;
}

/* Services and Barbers Grid */
.services-grid,
.barbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    align-items: stretch;
}

.services-grid .service-card,
.services-grid .service-card-home,
.service-group-section .group-services-list .service-card {
    height: 100%;
}

.service-card,
.barber-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover,
.barber-card:hover {
    border-color: var(--primary-start);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.service-card input[type="radio"]:checked+.service-card-content,
.barber-card input[type="radio"]:checked+.barber-card-content {
    border-color: var(--primary-start);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.service-card-content,
.barber-card-content {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    text-align: center;
}

.barber-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--gray-200);
}

.barber-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-check,
.barber-card-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-card input[type="radio"]:checked~.service-card-check,
.barber-card input[type="radio"]:checked~.barber-card-check {
    display: flex;
}

.service-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.service-price {
    color: var(--accent-green);
    font-weight: 600;
}

.service-duration {
    color: var(--text-dark-secondary);
}

/* Service Image (booking flow) - styles moved to Service Card Modernization section */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #f1f5f9 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 0;
    margin-bottom: 0;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-dark-secondary);
    margin-bottom: 2rem;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-dark-secondary);
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
}

/* ============================================
   TABLET BREAKPOINT (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {

    /* Container adjustments */
    .container {
        padding: 0 1.5rem;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Feature cards */
    .feature-cards,
    .action-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tables */
    .appointments-table th,
    .appointments-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   MOBILE BREAKPOINT (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
    }

    .mobile-overlay {
        display: block;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Platform Navbar */
    .platform-navbar .container {
        flex-wrap: wrap;
    }

    .platform-nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 1rem;
    }

    .platform-nav.active {
        right: 0;
    }

    .platform-nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Hero */
    .platform-hero {
        padding: 6rem 1rem 3rem;
    }

    .platform-hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .platform-hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Dashboard Sidebar */
    .dashboard-container {
        flex-direction: column;
    }

    .dashboard-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        padding-top: 1rem;
    }

    .dashboard-sidebar.active {
        left: 0;
    }

    .dashboard-main {
        margin-left: 0;
        padding: 1rem;
        width: 100%;
    }

    /* Dashboard Header */
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .dashboard-header h1 {
        font-size: 1.5rem;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card h3,
    .stat-value {
        font-size: 1.75rem;
    }

    /* Cards and Grids */
    .feature-cards,
    .action-cards,
    .professionals-grid,
    .services-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .action-card {
        padding: 1.5rem;
    }

    /* Page Headers */
    .page-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Tables - Make scrollable */
    .table-container,
    .appointments-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .appointments-table {
        min-width: 700px;
    }

    .appointments-table th,
    .appointments-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    /* Forms */
    .form-container {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .form-actions .btn {
        width: 100%;
    }

    /* Booking Steps - smaller on mobile */
    .booking-steps {
        padding: 1rem 0.5rem;
        justify-content: center;
    }

    .booking-steps .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .booking-steps .step-line {
        min-width: 20px;
        max-width: 40px;
        flex: 0 1 30px;
        margin: 0 0.35rem;
    }

    .booking-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .booking-container h2 {
        font-size: 1.25rem;
    }

    /* Service/Professional Selection */
    .services-selection,
    .barbers-grid,
    .professionals-selection {
        grid-template-columns: 1fr;
    }

    .service-card,
    .barber-card,
    .professional-card {
        padding: 1rem;
    }

    /* Date Time Picker */
    .datetime-picker {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .calendar-container {
        padding: 1rem;
    }

    .time-slots-container {
        padding: 1rem;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .time-slot {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        /* Touch-friendly size */
    }

    /* Filter Tabs */
    .filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .filter-tab {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Sections */
    .dashboard-section {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /* Appointment Cards */
    .appointment-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .appointment-date {
        margin-bottom: 0.75rem;
    }

    /* Settings Sections */
    .settings-section {
        padding: 1.25rem;
    }

    /* Onboarding Checklist */
    .onboarding-checklist {
        padding: 1.25rem;
    }

    .onboarding-task {
        padding: 0.75rem;
    }

    .onboarding-task-info h4 {
        font-size: 0.9rem;
    }

    /* Empty States */
    .empty-state {
        padding: 2rem 1rem;
    }

    .empty-icon {
        font-size: 3rem;
    }

    /* Confirmation Page */
    .confirmation-details {
        padding: 1.5rem;
    }

    /* Customer Dashboard */
    .customer-dashboard {
        padding: 1rem;
    }

    .customer-appointments-list {
        gap: 1rem;
    }

    /* Auth Pages */
    .auth-container {
        padding: 1rem;
    }

    .auth-card {
        border-radius: 12px;
    }

    .auth-header {
        padding: 2rem 1.5rem;
    }

    .auth-body {
        padding: 2rem 1.5rem;
    }

    .auth-logo {
        font-size: 1.5rem;
    }

    .auth-title {
        font-size: 1.25rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    /* Typography */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Modal Responsiveness */
    .modal-content,
    .celebration-modal {
        width: 95%;
        max-width: 400px;
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* ============================================
   SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {

    /* Even smaller adjustments */
    .platform-hero h1 {
        font-size: 1.5rem;
    }

    .booking-steps {
        padding: 0.75rem 0.25rem;
        justify-content: center;
    }

    .booking-steps .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .booking-steps .step-line {
        min-width: 15px;
        max-width: 35px;
        flex: 0 1 25px;
        margin: 0 0.25rem;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-header {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: space-between;
        align-items: center;
    }

    .calendar-nav {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    /* Stack action buttons */
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .action-buttons .btn {
        width: 100%;
    }

    /* Professional card */
    .professional-header {
        flex-direction: column;
        text-align: center;
    }

    .professional-photo,
    .professional-photo-placeholder {
        margin: 0 auto;
    }

    /* Account status */
    .account-status {
        flex-direction: column;
        text-align: center;
    }

    /* ============================================
       HOMEPAGE MOBILE FIXES
       ============================================ */

    /* Steps section - stack vertically on mobile */
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .step-card {
        text-align: center;
    }

    .step-icon {
        margin: 0 auto 1.5rem;
    }

    .step-1 {
        background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    }

    .step-2 {
        background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
    }

    .step-3 {
        background: linear-gradient(135deg, #8b5cf6, #a855f7);
    }

    /* CTA Section Mobile */
    .cta-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        margin: 0 0.5rem;
    }

    .cta-card h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .cta-card p {
        font-size: 1rem;
    }

    .platform-cta {
        padding: 3rem 1rem;
    }

    /* Features Section Mobile */
    .platform-features {
        padding: 3rem 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

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

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

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

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand .platform-logo {
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* Stats section mobile */
    .platform-stats {
        padding: 2rem 1rem;
    }

    .booking-counter-section {
        padding: 1.5rem 1rem;
    }

    .counter-number {
        font-size: 2.5rem !important;
    }

    .counter-text {
        font-size: 0.9rem;
    }

    /* Hero badge mobile */
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .platform-hero {
        padding: 4rem 1rem 2rem;
    }

    .auth-container {
        padding: 0.5rem;
    }

    .auth-header {
        padding: 1.5rem;
    }

    .auth-body {
        padding: 1.5rem;
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    .btn,
    .filter-tab,
    .nav-item,
    .time-slot,
    input[type="checkbox"],
    input[type="radio"] {
        min-height: 44px;
    }

    /* Remove hover effects that don't work well on touch */
    .btn:hover,
    .action-card:hover,
    .stat-card:hover,
    .service-card:hover {
        transform: none;
    }

    /* Add active states instead */
    .btn:active,
    .action-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .dashboard-sidebar,
    .platform-navbar,
    .navbar,
    .btn,
    .mobile-menu-toggle {
        display: none !important;
    }

    .dashboard-main {
        margin-left: 0 !important;
    }

    body {
        background: white !important;
    }
}

/* ============================================
   MODERN BOOKING FLOW & BUSINESS PAGES
   ============================================ */

.booking-page {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #6366f1;
    --bg-body: #f8fafc;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --card-shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.booking-container {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    margin-bottom: 2rem;
}

.booking-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 4rem auto 3rem;
    padding: 0 2rem;
}

.booking-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
    flex: 0 0 100px;
}

.booking-steps .step-number {
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid #e2e8f0;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.booking-steps .step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.booking-steps .step.completed .step-number {
    background: #dcfce7;
    border-color: #dcfce7;
    color: #166534;
}

.booking-steps .step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.3s ease;
    text-align: center;
    line-height: 1.2;
    width: 100%;
}

.booking-steps .step.active .step-label {
    color: var(--primary);
}

.booking-steps .step-line {
    height: 2px;
    background: #e2e8f0;
    margin: 0 -22px;
    flex: 2;
    margin-top: -30px;
    z-index: 1;
}

.booking-steps .step-line.completed {
    background: #86efac;
}

.booking-container h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    text-align: center;
}

.booking-container p.subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Service Card Modernization */
.service-card {
    display: block;
    cursor: pointer;
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover {
    border-color: #e2e8f0;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.service-card.selected {
    border-color: var(--primary);
    background: #f0f7ff;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
}

.service-card-content {
    padding: 1.5rem;
    border-radius: 0;
    background: transparent;
}

.service-selection-form .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-selection-form .service-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-selection-form .service-details {
    margin-top: auto;
}

.service-card .service-image {
    width: 100%;
    height: 160px;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
}

.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.service-duration {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.service-price {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.1rem;
}

.service-card-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.service-card.selected .service-card-check {
    opacity: 1;
    transform: scale(1);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.booking-page .btn-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.booking-page .btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.3);
}

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

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* ============================================
   MODERN BOOKING FLOW - MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .booking-page .booking-steps {
        margin: 2rem auto 1.5rem;
        padding: 0 1rem;
        justify-content: center;
        gap: 0;
    }

    .booking-page .booking-steps .step {
        flex: 0 0 auto;
    }

    .booking-page .booking-steps .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .booking-page .booking-steps .step-label {
        display: none;
    }

    .booking-page .booking-steps .step-line {
        margin: 0 0.5rem;
        margin-top: 0;
        flex: 0 1 40px;
        min-width: 25px;
        max-width: 50px;
    }

    .booking-page .booking-container {
        padding: 1.5rem;
        margin: 0 0.5rem 1.5rem;
        border-radius: 16px;
    }

    .booking-page .form-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .booking-page .form-actions .btn,
    .booking-page .form-actions .btn-primary,
    .booking-page .form-actions .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .booking-page .booking-steps {
        margin: 1.5rem auto 1rem;
        padding: 0 0.75rem;
        justify-content: center;
    }

    .booking-page .booking-steps .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .booking-page .booking-steps .step-line {
        margin: 0 0.35rem;
        flex: 0 1 30px;
        min-width: 20px;
        max-width: 40px;
    }

    .booking-page .booking-container {
        padding: 1.25rem;
        margin: 0 0.25rem 1rem;
        border-radius: 12px;
    }

    .booking-page .booking-container h2 {
        font-size: 1.25rem;
    }
}