/* CC-02b Wave 2 - extracted from FRONTEND/07_vendors/vendor-packages.html */
html.rbac-pending body { visibility: hidden; }
        html.rbac-pending::before {
            content: "Verifying access...";
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 1rem;
            color: #475569;
            background: #f8fafc;
            visibility: visible;
            z-index: 2147483647;
        }
    


        /* Vendor Dashboard Layout */
        .vendor-layout { display: flex; min-height: 100vh; background: #f8fafc; }
        .vendor-sidebar { width: 17.5rem; background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); color: #fff; position: fixed; top: 6.25rem; left: 0; height: 100vh; overflow-y: auto; z-index: 1000; transition: all 0.3s ease; }
        .vendor-sidebar.collapsed { width: 4.375rem; }
        .vendor-sidebar.collapsed .sidebar-brand-text, .vendor-sidebar.collapsed .nav-text, .vendor-sidebar.collapsed .nav-section-label, .vendor-sidebar.collapsed .nav-badge, .vendor-sidebar.collapsed .nav-arrow, .vendor-sidebar.collapsed .user-details { display: none; }
        .sidebar-header { padding: 1.25rem; border-bottom: 0.0625rem solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; }
        .sidebar-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: #fff; }
        .sidebar-logo { width: 2.5rem; height: 2.5rem; background: linear-gradient(135deg, #E74C3C, #C0392B); border-radius: 0.625rem; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.125rem; }
        .sidebar-brand-text { font-size: 1.125rem; font-weight: 700; }
        .sidebar-toggle { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 2rem; height: 2rem; border-radius: 0.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
        .sidebar-toggle:hover { background: rgba(255,255,255,0.2); }
        .sidebar-nav { padding: 1.25rem 0; flex: 1; }
        .nav-list { list-style: none; padding: 0; margin: 0; }
        .nav-section-label { padding: 0.75rem 1.25rem 0.5rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.0625rem; color: rgba(255,255,255,0.4); }
        .nav-item { position: relative; }
        .nav-link { display: flex; align-items: center; padding: 0.75rem 1.25rem; color: rgba(255,255,255,0.7); text-decoration: none; transition: all 0.3s ease; gap: 0.75rem; font-size: 0.875rem; font-weight: 500; }
        button.nav-link { background: none; border: none; width: 100%; text-align: left; cursor: pointer; font-family: inherit; }
        .nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
        .nav-link.active { color: #fff; background: linear-gradient(90deg, rgba(231,76,60,0.2) 0%, transparent 100%); border-left: 0.1875rem solid #E74C3C; }
        .nav-icon { width: 1.25rem; height: 1.25rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .nav-icon svg { width: 1.25rem; height: 1.25rem; }
        .nav-text { flex: 1; }
        .nav-badge { background: #E74C3C; color: #fff; font-size: 0.6875rem; font-weight: 600; padding: 0.125rem 0.5rem; border-radius: 0.625rem; min-width: 1.25rem; text-align: center; }
        .nav-arrow { transition: transform 0.3s ease; }
        .nav-item.open .nav-arrow { transform: rotate(90deg); }
        .nav-submenu { display: none; list-style: none; padding: 0; margin: 0; background: rgba(0,0,0,0.2); }
        .nav-item.open .nav-submenu { display: block; }
        .nav-submenu .nav-link { padding: 0.625rem 1.25rem 0.625rem 3.25rem; font-size: 0.8125rem; }
        .nav-submenu .nav-link:hover { background: rgba(255,255,255,0.05); }
        .nav-submenu .nav-link.active { color: #E74C3C; background: transparent; border-left: none; }
        .sidebar-footer { padding: 1.25rem; border-top: 0.0625rem solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; }
        .user-info { display: flex; align-items: center; gap: 0.75rem; }
        .user-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #E74C3C, #C0392B); display: flex; align-items: center; justify-content: center; }
        .avatar-placeholder { color: #fff; font-weight: 600; font-size: 0.875rem; }
        .user-details { display: flex; flex-direction: column; }
        .user-name { font-weight: 600; font-size: 0.875rem; }
        .user-role { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
        .logout-link { color: rgba(255,255,255,0.5); transition: color 0.3s ease; }
        .logout-link:hover { color: #E74C3C; }
        .vendor-main { flex: 1; margin-left: 17.5rem; padding: 0; transition: margin-left 0.3s ease; }
        .vendor-sidebar.collapsed + .vendor-main { margin-left: 4.375rem; }
        .top-header { background: #fff; padding: 1rem 2rem; border-bottom: 0.0625rem solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 6.25rem; z-index: 100; }
        .page-title { font-size: 1.5rem; font-weight: 700; color: #1e293b; margin: 0; }
        .page-subtitle { font-size: 0.875rem; color: #64748b; margin: 0.25rem 0 0; }
        .header-actions { display: flex; align-items: center; gap: 1rem; }
        .header-actions .btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem; border-radius: 0.5rem; font-weight: 500; font-size: 0.875rem; transition: all 0.3s ease; text-decoration: none; cursor: pointer; }
        .btn-primary { background: linear-gradient(135deg, #E74C3C, #C0392B); color: #fff; border: none; }
        .btn-primary:hover { transform: translateY(-0.125rem); box-shadow: 0 0.25rem 0.75rem rgba(231,76,60,0.3); }
        .content-area { padding: 2rem; background: #0f172a; }
        .mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: #1e293b; cursor: pointer; }
        @media (max-width: 1024px) { .vendor-sidebar { transform: translateX(-100%); } .vendor-sidebar.mobile-open { transform: translateX(0); } .vendor-main { margin-left: 0; } .mobile-toggle { display: block; } }
        .vendor-sidebar::-webkit-scrollbar { width: 0.375rem; }
        .vendor-sidebar::-webkit-scrollbar-track { background: transparent; }
        .vendor-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 0.1875rem; }

        /* Custom Animations */

        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes pulse-ring {
            0% { transform: scale(0.95); opacity: 1; }
            100% { transform: scale(1.3); opacity: 0; }
        }

        /* Gradient Text */
        .gradient-text {
            background: linear-gradient(135deg, #ff6b9d, #c084fc, #60a5fa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            background-size: 200% 200%;
            animation: gradient 4s ease infinite;
        }

        /* Astro Gradient */
        .gradient-astro {
            background: linear-gradient(135deg, #FFD700, #FFA500, #B87333);
        }

        /* Hero Background */
        .hero-gradient {
            background: linear-gradient(135deg,
                rgba(15, 23, 42, 0.95) 0%,
                rgba(88, 28, 135, 0.8) 50%,
                rgba(15, 23, 42, 0.95) 100%);
        }

        /* Glass Card Effect */
        .glass-card {
            background: rgba(30, 41, 59, 0.8);
            backdrop-filter: blur(1rem);
            border: 0.0625rem solid rgba(255, 255, 255, 0.1);
        }

        /* Custom Scrollbar */

        /* Floating Elements */
        .floating-element {
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(2) { animation-delay: -2s; }
        .floating-element:nth-child(3) { animation-delay: -4s; }

        /* Heartbeat Animation */
        .heartbeat { animation: heartbeat 1.5s ease-in-out infinite; }

        /* Feature Card Hover */

        /* Button Shine Effect */
        .btn-shine {
            position: relative;
            overflow: hidden;
        }

        .btn-shine::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .btn-shine:hover::before { left: 100%; }

        /* Package Card */
        .package-card {
            background: rgba(30, 41, 59, 0.6);
            border: 0.0625rem solid rgba(255, 255, 255, 0.1);
            border-radius: 1rem;
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
        }

        .package-card:hover {
            transform: translateY(-0.25rem);
            border-color: rgba(255, 107, 157, 0.3);
            box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.3);
        }

        .package-card.featured {
            border-color: rgba(255, 107, 157, 0.5);
        }

        .package-card.featured::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 0.25rem;
            background: linear-gradient(90deg, #ff6b9d, #c084fc);
        }

        /* Package Badge */
        .package-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            padding: 0.25rem 0.75rem;
            border-radius: 624.9375rem;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .package-badge.popular {
            background: linear-gradient(135deg, #ff6b9d, #c084fc);
            color: white;
        }

        .package-badge.new {
            background: rgba(34, 197, 94, 0.2);
            color: #22c55e;
            border: 0.0625rem solid rgba(34, 197, 94, 0.3);
        }

        /* Service Tag in Package */
        .service-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.375rem 0.75rem;
            background: rgba(96, 165, 250, 0.15);
            border: 0.0625rem solid rgba(96, 165, 250, 0.3);
            border-radius: 0.5rem;
            color: #60a5fa;
            font-size: 0.8125rem;
        }

        /* Stats Card */
        .stats-card {
            background: rgba(30, 41, 59, 0.6);
            border: 0.0625rem solid rgba(255, 255, 255, 0.1);
            border-radius: 0.75rem;
            padding: 1.25rem;
            transition: all 0.3s ease;
        }

        .stats-card:hover {
            border-color: rgba(255, 107, 157, 0.3);
        }

        .stats-icon {
            width: 3rem;
            height: 3rem;
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
        }

        /* Modal Styles */

        /* Service Selection */
        .service-select-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: rgba(30, 41, 59, 0.6);
            border: 0.0625rem solid rgba(255, 255, 255, 0.1);
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .service-select-item:hover {
            border-color: rgba(255, 107, 157, 0.3);
        }

        .service-select-item.selected {
            border-color: #ff6b9d;
            background: rgba(255, 107, 157, 0.1);
        }

        .service-select-item input[type="checkbox"] {
            display: none;
        }

        .service-select-checkbox {
            width: 1.25rem;
            height: 1.25rem;
            border: 0.125rem solid rgba(255, 255, 255, 0.3);
            border-radius: 0.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .service-select-item.selected .service-select-checkbox {
            background: #ff6b9d;
            border-color: #ff6b9d;
        }

        /* Performance Chart Placeholder */
        .chart-placeholder {
            background: rgba(30, 41, 59, 0.6);
            border: 0.0625rem solid rgba(255, 255, 255, 0.1);
            border-radius: 0.75rem;
            padding: 1.5rem;
            height: 12.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Wedding Themed Decorations */
        .mandala-decoration {
            position: absolute;
            opacity: 0.05;
            pointer-events: none;
        }

        /* Toggle Switch */
        .toggle-switch {
            position: relative;
            width: 3rem;
            height: 1.5rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 624.9375rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .toggle-switch.active {
            background: #22c55e;
        }

        .toggle-switch::after {
            content: '';
            position: absolute;
            top: 0.125rem;
            left: 0.125rem;
            width: 1.25rem;
            height: 1.25rem;
            background: white;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .toggle-switch.active::after {
            left: calc(100% - 1.375rem);
        }

        /* Savings Badge */
        .savings-badge {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            padding: 0.25rem 0.5rem;
            background: rgba(34, 197, 94, 0.2);
            color: #22c55e;
            font-size: 0.75rem;
            font-weight: 600;
            border-radius: 0.25rem;
        }

        .savings-badge::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 0.25rem;
            animation: pulse-ring 1.5s infinite;
            border: 0.125rem solid #22c55e;
        }
