 
        :root {
            --primary: #FF6B35;
            --primary-dark: #E55627;
            --secondary: #4ECDC4;
            --accent: #FFD166;
            --dark: #1A1A2E;
            --light: #F7F7FF;
            --gray: #EDEDED;
            --success: #06D6A0;
            --warning: #EF476F;
            --info: #118AB2;
            --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --sidebar-width: 280px;
            --header-height: 80px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--light);
            color: var(--dark);
            line-height: 1.7;
            overflow-x: hidden;
        }

        h1,
        h2,
        h3,
        h4 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            line-height: 1.3;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
        }

        .btn-secondary {
            background: white;
            color: var(--primary);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .btn-secondary:hover {
            background: var(--gray);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .btn-accent {
            background: var(--accent);
            color: var(--dark);
            box-shadow: 0 4px 15px rgba(255, 209, 102, 0.4);
        }

        .btn-accent:hover {
            background: #FFC233;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(255, 209, 102, 0.5);
        }

        /* Header */
        header {
            background: white;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: var(--transition);
            height: var(--header-height);
        }

        header.scrolled {
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
            background: rgba(255, 255, 255, 0.98);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            transition: var(--transition);
        }

        .logo {
            font-size: 28px;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            font-family: 'Montserrat', sans-serif;
        }

        .logo i {
            margin-right: 10px;
            font-size: 32px;
        }

        .logo span {
            color: var(--dark);
        }

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

        .nav-links li {
            margin-left: 30px;
            position: relative;
        }

        .nav-links a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            padding: 8px 0;
            position: relative;
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary);
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }

        .nav-links a:hover:after {
            width: 100%;
        }

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

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--dark);
            cursor: pointer;
        }

        /* Page Layout */
        .page-container {
            display: flex;
            min-height: calc(100vh - var(--header-height));
        }

        /* Sidebar */
        .sidebar {
            width: var(--sidebar-width);
            background: white;
            box-shadow: 5px 0 30px rgba(0, 0, 0, 0.05);
            padding: 40px 0;
            position: sticky;
            top: var(--header-height);
            height: calc(100vh - var(--header-height));
            overflow-y: auto;
            transition: var(--transition);
            z-index: 900;
        }

        .sidebar-logo {
            padding: 0 30px 30px;
            border-bottom: 1px solid #eee;
            margin-bottom: 20px;
        }

        .sidebar-logo a {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            font-family: 'Montserrat', sans-serif;
        }

        .sidebar-logo i {
            margin-right: 10px;
            font-size: 28px;
        }

        .sidebar-logo span {
            color: var(--dark);
        }

        .sidebar-nav {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar-nav li {
            margin: 0;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            padding: 15px 30px;
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            border-left: 4px solid transparent;
        }

        .sidebar-nav a:hover,
        .sidebar-nav a.active {
            background: rgba(255, 107, 53, 0.05);
            color: var(--primary);
            border-left-color: var(--primary);
        }

        .sidebar-nav a i {
            margin-right: 15px;
            width: 20px;
            text-align: center;
        }

        .sidebar-submenu {
            list-style: none;
            padding: 0;
            margin: 0;
            background: #f9f9f9;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .sidebar-submenu.open {
            max-height: 500px;
        }

        .sidebar-submenu li a {
            padding-left: 65px;
            font-size: 14px;
        }

        .has-submenu>a:after {
            content: '\f107';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            margin-left: auto;
            transition: transform 0.3s ease;
        }

        .has-submenu.open>a:after {
            transform: rotate(180deg);
        }

        .sidebar-contact {
            padding: 20px 30px;
            margin-top: 20px;
            border-top: 1px solid #eee;
        }

        .sidebar-contact a {
            display: flex;
            align-items: center;
            color: var(--dark);
            text-decoration: none;
            margin-bottom: 15px;
            font-weight: 500;
        }

        .sidebar-contact a i {
            margin-right: 15px;
            color: var(--primary);
        }

        .sidebar-contact .btn {
            width: 100%;
            justify-content: center;
            margin-top: 10px;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            padding: 50px;
            background: #f9f9f9;
        }

        .page-header {
            margin-bottom: 40px;
        }

        .page-header h1 {
            font-size: 36px;
            margin-bottom: 15px;
            color: var(--dark);
        }

        .breadcrumb {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 14px;
            color: #666;
        }

        .breadcrumb li {
            margin-right: 10px;
        }

        .breadcrumb li:after {
            content: '/';
            margin-left: 10px;
            color: #ccc;
        }

        .breadcrumb li:last-child:after {
            content: '';
        }

        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        /* Service Detail */
        .service-detail {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow);
            margin-bottom: 40px;
        }

        .service-hero {
            height: 300px;
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0.9) 100%),
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
            padding: 20px;
        }

        .service-hero h2 {
            font-size: 42px;
            margin-bottom: 15px;
        }

        .service-content {
            padding: 40px;
        }

        .service-content h3 {
            margin: 30px 0 15px;
            color: var(--primary);
            font-size: 24px;
        }

        .service-content h3:first-child {
            margin-top: 0;
        }

        .service-content p {
            margin-bottom: 20px;
            color: #555;
        }

        .service-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            background: var(--gradient);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
        }

        .feature-text h4 {
            margin-bottom: 5px;
            font-size: 18px;
        }

        .feature-text p {
            font-size: 14px;
            color: #666;
            margin: 0;
        }

        /* Pricing Box */
        .pricing-box {
            background: #f8fafc;
            border: 1px solid #e6eef5;
            border-radius: 12px;
            padding: 25px;
            margin: 30px 0;
        }

        .pricing-box h4 {
            margin-bottom: 15px;
            color: var(--dark);
            font-size: 20px;
        }

        .breakdown {
            display: flex;
            justify-content: space-between;
            margin: 10px 0;
            padding-bottom: 10px;
            border-bottom: 1px dashed #eee;
        }

        .total {
            display: flex;
            justify-content: space-between;
            font-weight: 800;
            font-size: 1.25rem;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px dashed #eee;
        }

        .book-btn {
            width: 100%;
            margin-top: 20px;
            background: var(--primary);
            color: white;
            border: 0;
            padding: 16px;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            font-size: 16px;
            transition: var(--transition);
        }

        .book-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
        }

        /* FAQ Section */
        .faq-section {
            background: white;
            border-radius: 16px;
            padding: 40px;
            box-shadow: var(--shadow);
            margin-bottom: 40px;
        }

        .faq-section h2 {
            margin-bottom: 30px;
            color: var(--dark);
            font-size: 28px;
        }

        .faq-item {
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            padding-bottom: 20px;
        }

        .faq-question {
            font-weight: 600;
            font-size: 18px;
            margin-bottom: 10px;
            color: var(--dark);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-question:after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-question:after {
            transform: rotate(180deg);
        }

        .faq-answer {
            color: #666;
            padding-top: 10px;
            display: none;
        }

        .faq-item.active .faq-answer {
            display: block;
        }

        /* CTA Section */
        .cta-section {
            background: var(--gradient);
            color: white;
            text-align: center;
            padding: 60px 40px;
            border-radius: 16px;
            box-shadow: var(--shadow);
        }

        .cta-section h2 {
            font-size: 32px;
            margin: 0 0 20px;
        }

        .cta-section p {
            max-width: 700px;
            margin: 0 auto 40px;
            font-size: 18px;
            opacity: 0.9;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 80px 0 30px;
            position: relative;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 60px;
        }

        .footer-column h3 {
            font-size: 20px;
            margin: 0 0 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background: var(--primary);
        }

        .footer-column p {
            opacity: 0.8;
            margin-bottom: 20px;
        }

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

        .footer-column li {
            margin: 12px 0;
        }

        .footer-column a {
            color: #ddd;
            text-decoration: none;
            transition: var(--transition);
            display: inline-block;
        }

        .footer-column a:hover {
            color: white;
            transform: translateX(5px);
        }

        .footer-column a i {
            margin-right: 8px;
            width: 20px;
            text-align: center;
        }

        .social-links {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }

        .social-links a {
            color: white;
            background: rgba(255, 255, 255, 0.1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
        }

        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
        }

        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .sidebar {
                transform: translateX(-100%);
                position: fixed;
                top: var(--header-height);
                z-index: 1000;
            }

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

            .sidebar-toggle {
                display: block;
            }

            .mobile-menu-btn {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .main-content {
                padding: 20px;
            }

            .service-hero h2 {
                font-size: 32px;
            }

            .service-content {
                padding: 20px;
            }

            .faq-section {
                padding: 20px;
            }

            .cta-section {
                padding: 40px 20px;
            }

            .cta-buttons {
                flex-direction: column;
            }

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

        @media (max-width: 480px) {
            .page-header h1 {
                font-size: 28px;
            }

            .service-hero {
                height: 200px;
            }

            .service-hero h2 {
                font-size: 24px;
            }

            .feature-item {
                flex-direction: column;
                text-align: center;
            }

            /* Responsive Design */
            @media (max-width: 768px) {
                .service-content {
                    padding: 20px;
                }

                .service-hero h2 {
                    font-size: 32px;
                }

                .service-hero p {
                    font-size: 18px;
                }

                .feature-item {
                    flex-direction: column;
                    text-align: center;
                }

                .feature-icon {
                    margin-bottom: 10px;
                }

                .feature-text h4 {
                    font-size: 20px;
                }
            }

            @media (max-width: 480px) {
                .service-hero h2 {
                    font-size: 28px;
                }

                .service-hero p {
                    font-size: 16px;
                }

                .feature-item {
                    flex-direction: column;
                    text-align: center;
                }

                .feature-text h4 {
                    font-size: 18px;
                }

                .feature-text p {
                    font-size: 14px;
                }
            }

            /* Mobile-Friendly for iPhone SE (375px) */
            @media (max-width: 375px) {
                .service-content {
                    padding: 15px;
                }

                .service-hero h2 {
                    font-size: 28px;
                }

                .job-item {
                    margin-bottom: 20px;
                    padding: 15px;
                    background-color: #fff;
                    border-radius: 8px;
                    box-shadow: var(--shadow);
                }

                .job-item h4 {
                    font-size: 18px;
                }

                .feature-item {
                    flex-direction: column;
                    text-align: center;
                }

                .feature-icon {
                    margin-bottom: 10px;
                }

                .job-history .history-item {
                    padding: 15px;
                    background-color: #fff;
                    border-radius: 8px;
                    box-shadow: var(--shadow);
                    margin-bottom: 15px;
                }
            }

            /* General Grid Layout */
            .side-card-content,
            .summary-grid,
            .quick-actions,
            .tool-grid {
                display: grid;
                gap: 12px;
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            }

            /* Compact Card Design */
            .side-card {
                padding: 18px;
                background-color: #fff;
                border-radius: 8px;
                box-shadow: var(--shadow);
            }

            /* Earnings Summary */
            .earnings-summary h3,
            .quick-actions h4 {
                margin-bottom: 12px;
            }

            .summary-item {
                padding: 14px;
                background: var(--light);
                border-radius: 8px;
                text-align: center;
            }

            .amount {
                font-weight: 800;
                font-size: 1.4rem;
                color: var(--primary);
            }

            /* Action Buttons */
            .action-buttons {
                display: flex;
                gap: 10px;
                flex-wrap: wrap;
            }

            .btn {
                display: inline-flex;
                justify-content: center;
                padding: 10px 20px;
                border-radius: 50px;
                font-weight: 600;
                cursor: pointer;
                text-decoration: none;
                box-shadow: var(--shadow);
            }

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

            .btn-primary:hover {
                background: var(--primary-dark);
            }

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

            .tool-grid {
                display: grid;
                gap: 12px;
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }

        }
/* Opt-in vivid palette (no global override) */
:root[data-style="vivid"] {
  --brand: #ff6b35;
  --brand-2: #ff9f43;
  --brand-3: #ffd166;
  --mint: #4ecdc4;
  --mint-2: #39d0d1;
  --iris: #665dff;
  --violet: #7c4dff;
  --ink: #0e1320;
  --ink-2: #161b26;
  --card: #ffffff;
  --card-2: #f7f8fc;
  --muted: #6b7280;
  --success: #10b981;
  --warn: #f97316;
  --danger: #ef476f;

  --glass: rgba(255,255,255,0.65);
  --glass-border: rgba(255,255,255,0.35);
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-1: 0 10px 25px rgba(20, 20, 46, .08);
  --shadow-2: 0 18px 50px rgba(20, 20, 46, .12);
  --transition-1: all .25s cubic-bezier(.2,.8,.2,1);
  --transition-2: all .4s cubic-bezier(.18,.89,.32,1.28);
}

/* Dark variant for the vivid profile */
:root[data-style="vivid"][data-theme="dark"] {
  --card: #121725;
  --card-2: #0f1422;
  --ink: #0a0f1a;
  --ink-2: #0e1421;
  --muted: #9aa3b2;
  --glass: rgba(14, 20, 33, .65);
  --glass-border: rgba(255,255,255,0.08);
}

body {
  background:
    radial-gradient(1200px 500px at 75% -10%, rgba(102,93,255,.08), transparent 60%),
    radial-gradient(1000px 400px at -10% 10%, rgba(78,205,196,.08), transparent 55%),
    var(--light, #f5f6fb);
}

/* Header polish */
header#header {
  backdrop-filter: saturate(140%) blur(8px);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.84));
  border-bottom: 1px solid rgba(30,30,60,.06);
}
:root[data-theme="dark"] header#header {
  background: linear-gradient(180deg, rgba(14,19,33,.85), rgba(14,19,33,.75));
  border-bottom-color: rgba(255,255,255,.06);
}

/* Sidebar → glass & highlight */
.sidebar {
  background: var(--glass);
  border-right: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(160%);
}
.sidebar .sidebar-logo a { letter-spacing: .3px; }
.sidebar-nav a {
  border-left: 3px solid transparent;
  border-radius: 10px;
  margin: 2px 10px;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: linear-gradient(90deg, rgba(255,107,53,.14), transparent 80%);
  border-left-color: var(--brand);
  transform: translateX(2px);
}

/* Cards → soft glass */
.side-card, .service-detail, .faq-section, .pricing-box {
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.8));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(20,20,46,.06);
}
:root[data-theme="dark"] .side-card,
:root[data-theme="dark"] .service-detail,
:root[data-theme="dark"] .faq-section,
:root[data-theme="dark"] .pricing-box {
  background: linear-gradient(180deg, rgba(16,22,34,.86), rgba(16,22,34,.78));
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 12px 34px rgba(0,0,0,.35);
}

/* Buttons */
.btn {
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(255,107,53,.22);
  transform: translateY(0);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }

/* Fancy primary */
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 40%, var(--brand-3) 100%);
  color: #fff;
  border: none;
}
.btn.badge {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
}

/* Chips */
.chip {
  background: rgba(102,93,255,.12);
  border: 1px dashed rgba(102,93,255,.24);
  color: #3d3a9c;
  border-radius: 999px;
}

/* KPI numbers */
.kpi {
  font-weight: 900;
  letter-spacing: .2px;
}

/* Spark canvas wrapper ensures height */
.spark-wrap { height: 96px; }

/* Availability switch makeover */
.switch { position: relative; display: inline-block; width: 54px; height: 30px; }
.switch input{ display:none; }
.switch .slider{
  position:absolute; cursor:pointer; inset:0; background:#e6eef5; transition:var(--transition-1);
  border-radius:999px; box-shadow: inset 0 3px 8px rgba(0,0,0,.08);
}
.switch .slider:before{
  content:""; position:absolute; height:22px; width:22px; left:4px; top:4px; background:#fff; border-radius:50%;
  box-shadow: 0 6px 14px rgba(0,0,0,.15); transition:var(--transition-1);
}
.switch input:checked + .slider{
  background: linear-gradient(135deg, var(--mint), var(--mint-2));
}
.switch input:checked + .slider:before{ transform: translateX(24px); }

/* Job cards grid on tiny screens */
#jobsList { display:grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap:12px; }

/* Skeleton loader */
.skel {
  background: linear-gradient(90deg, rgba(0,0,0,.06) 25%, rgba(0,0,0,.03) 37%, rgba(0,0,0,.06) 63%);
  background-size: 400% 100%;
  animation: skel 1.2s infinite linear;
  border-radius: 10px;
}
@keyframes skel { 0% {background-position: 100% 0} 100% {background-position: -100% 0} }

/* Toasts */
.toast-wrap{ position: fixed; right: 16px; bottom: 16px; display:flex; flex-direction:column; gap:10px; z-index: 9999; }
.toast{
  background: var(--card); color: inherit; border: 1px solid rgba(20,20,46,.08);
  border-left: 6px solid var(--brand); padding: 12px 14px; border-radius: 12px; box-shadow: var(--shadow-1);
  animation: toastIn .35s var(--transition-2);
}
@keyframes toastIn { from { transform: translateY(8px); opacity:0 } to { transform: translateY(0); opacity:1 } }

/* Dark-mode tweak for page bg */
:root[data-theme="dark"] body {
  background:
    radial-gradient(1200px 500px at 75% -10%, rgba(124,77,255,.12), transparent 60%),
    radial-gradient(900px 400px at -10% 10%, rgba(57,208,209,.10), transparent 55%),
    var(--ink);
}

/* Mobile (iPhone SE baseline) */
@media (max-width: 380px) {
  .page-header h1 { font-size: 22px; }
  .btn { padding: 10px 14px; }
  .spark-wrap { height: 80px; }
  .sidebar { width: 82vw; }
}
/* =========================
   Toast Notification Styles
   ========================= */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-size: 0.9rem;
  animation: fadeInOut 2.8s ease forwards;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Toast Variants */
.toast-success { background: #2e7d32; }   /* ✅ Success (green) */
.toast-warning { background: #f9a825; }   /* ⚠️ Warning (yellow) */
.toast-error   { background: #c62828; }   /* ❌ Error (red) */

@keyframes fadeInOut {
  0%   { opacity: 0; transform: translateY(10px); }
  10%  { opacity: 1; transform: translateY(0); }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

/* =========================
   Drag & Drop Sortable List
   ========================= */
.sortable-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.sortable-list li {
  padding: 6px 10px;
  margin: 2px 0;
  background: #f1f1f1;
  border: 1px solid #ddd;
  cursor: grab;
  border-radius: 4px;
  user-select: none;
}

.sortable-list li.dragging {
  opacity: 0.5;
}
/* KPI Container - Horizontal Layout */
.kpi-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.kpi-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  text-align: center;
  flex: 1 1 calc(25% - 1rem); /* 4 cards per row */
  min-width: 180px;
}

.kpi-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.5rem;
}

.kpi-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary, #4a4aed);
  margin-bottom: 0.75rem;
}

.kpi-card .btn {
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
}
/* Force KPI numbers to always be visible (no hover dependence) */
.kpi-value {
  color: var(--primary, #4a4aed) !important;
  opacity: 1 !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.kpi-card:hover .kpi-value {
  transform: scale(1.08);
  color: var(--primary-dark, #2c2ccc) !important;
}
/* Pending Document Cards Grid */
.doc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.doc-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

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

.doc-header .badge {
  background: var(--primary, #4a4aed);
  color: #fff;
  border-radius: 8px;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
}

.doc-body p {
  margin: 0.15rem 0;
  font-size: 0.85rem;
  color: #444;
}

.doc-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
/* --- Admin Dashboard KPI layout --- */
.kpi-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:16px;            /* space between cards */
  align-items:stretch; /* uniform height */
}

/* Ensure theme “full width card” rules don’t win */
.kpi-grid .kpi-card{
  width:auto !important;
  max-width:unset;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* Optional polish (visible numbers + hover) */
.kpi-card .kpi-value{
  color:var(--primary, #4a4aed) !important;
  font-weight:800;
  font-size:1.9rem;
}
.kpi-card:hover .kpi-value{
  transform:scale(1.06);
}

/* Booking Screen */
.booking-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: none;
  overflow-y: auto;
}

.booking-screen.open {
  display: block;
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.booking-title {
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.booking-title i {
  color: var(--primary);
}

.booking-close {
  background: #f1f1f1;
  border: 0;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.booking-close:hover {
  background: var(--primary);
  color: #fff;
}

.booking-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

.booking-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 25px;
}

#bookingMap {
  height: 520px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.map-placeholder {
  height: 520px;
  border-radius: 12px;
  border: 1px dashed #e5e7eb;
  background:
    repeating-linear-gradient(
      45deg,
      #fafafa,
      #fafafa 10px,
      #f3f4f6 10px,
      #f3f4f6 20px
    );
  display: grid;
  place-items: center;
  color: #6b7280;
  font-size: 14px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.muted {
  color: #666;
  font-size: 14px;
  margin-top: 5px;
}

.price-box {
  background: #f8fafc;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.breakdown {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eee;
}

.total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.25rem;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
}

.pay-btn {
  width: 100%;
  margin-top: 20px;
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.pay-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

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

.inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

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

.help {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}/* ===== Booking Form Polish ===== */
:root{
  --bg:#fff; --muted:#6b7280; --text:#111827; --ring:#2563eb;
  --border:#e5e7eb; --border-d:#d1d5db; --card:#f9fafb; --danger:#ef4444;
  --shadow: 0 1px 1px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --radius:12px;
  --focus: 0 0 0 3px rgba(37,99,235,.15), 0 1px 2px rgba(0,0,0,.06);
}

.booking-card{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}

#bookingMap{ border-radius:12px; }

.form-grid{
  display:grid; gap:14px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .form-grid{ grid-template-columns: 1fr 1fr; }
  .form-grid .span-2{ grid-column: 1 / -1; }
}

.field{ display:flex; flex-direction:column; gap:8px; }
.field label{
  font-size:14px; font-weight:600; color:var(--text);
}
.input, .select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  width:100%; height:44px;
  border:1px solid var(--border-d); border-radius:10px;
  padding:10px 12px; font-size:15px; color:var(--text);
  background:#fff; transition:border .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus{
  outline:none; border-color:var(--ring); box-shadow:var(--focus);
}
.input::placeholder{ color:#9ca3af; }

.inline-row{ display:flex; gap:10px; align-items:center; }
.inline-row .btn{ white-space:nowrap; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; height:42px; padding:0 14px;
  border:1px solid var(--border-d); border-radius:10px;
  background:#fff; color:#111; cursor:pointer;
  transition:box-shadow .15s ease, transform .02s ease;
}
.btn:hover{ box-shadow: var(--shadow); }
.btn:active{ transform: translateY(1px); }
.btn.primary{
  background:#f97316; border-color:#f97316; color:#fff;
}
.btn.primary:disabled{
  opacity:.6; cursor:not-allowed; filter:grayscale(.2);
}

.price-box{
  border:1px solid var(--border); border-radius:12px;
  background:var(--card); padding:16px;
}
.price-row{ display:flex; justify-content:space-between; padding:8px 0; }
.price-row.total{ font-weight:800; font-size:18px; border-top:1px dashed var(--border); margin-top:8px; }

.help{ color:var(--muted); font-size:13px; }
.error-text{ color:var(--danger); font-size:13px; margin-top:6px; }

.select-wrap{ position:relative; }
.select-wrap::after{
  content:"▾"; position:absolute; right:12px; top:50%; transform:translateY(-50%);
  color:#6b7280; pointer-events:none; font-size:12px;
}
.nearby-list { display:grid; gap:10px; }
.nearby-item{
  display:flex; gap:12px; align-items:flex-start;
  border:1px solid var(--border,#e5e7eb); border-radius:10px; padding:10px; background:#fff;
}
.nearby-badge{
  font-size:12px; color:#065f46; background:#ecfdf5; border:1px solid #a7f3d0;
  padding:2px 8px; border-radius:999px; white-space:nowrap;
}
.nearby-title{ font-weight:700; margin:0; }
.nearby-meta{ color:#6b7280; font-size:13px; }
.nearby-actions{ display:flex; gap:8px; flex-wrap:wrap; margin-top:6px; }
.nearby-actions a{ text-decoration:none }
/* --- Booking two-column layout --- */
.booking-grid{
  display:grid;
  gap:24px;
  align-items:start;
}

/* Desktop: two columns (map left, form right) */
@media (min-width: 1024px){
  .booking-grid{
    /* 7/5 split feels right; tweak to taste */
    grid-template-columns: 1.4fr 1fr;
  }
}

/* Large desktop: a bit wider spacing */
@media (min-width: 1360px){
  .booking-grid{
    grid-template-columns: 1.5fr 1fr;
    gap:28px;
  }
}

/* Ensure the cards don’t stretch weirdly */
.booking-card{ height: 100%; }

/* Map height (adjust if you want it taller/shorter) */
#bookingMap{ height: 340px; }

/* Optional: constrain the whole section if your page is full-bleed */
.booking-section .booking-grid{
  max-width: 1200px;   /* or your site container width */
  margin-inline: auto; /* center the grid */
}
