/* CC-02b Wave 2 - extracted from FRONTEND/07_vendors/vendor-booking-calendar.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;
        }
    


        
        @keyframes bounceIn {
            0% { 
                opacity: 0;
                transform: scale(0.3);
            }
            50% { 
                transform: scale(1.05);
            }
            70% { 
                transform: scale(0.9);
            }
            100% { 
                opacity: 1;
                transform: scale(1);
            }
        }
        
        @keyframes scaleIn {
            from { 
                opacity: 0;
                transform: scale(0.9);
            }
            to { 
                opacity: 1;
                transform: scale(1);
            }
        }

        .logo-gradient {
            background: linear-gradient(135deg, #ff6b9d, #ffd700);
        }

        .gradient-bg {
            background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
        }

        .calendar-container {
            background: white;
            border-radius: 1rem;
            box-shadow: 0 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.1);
            overflow: hidden;
            min-height: 37.5rem;
        }

        .dark .calendar-container {
            background: rgb(31, 41, 55);
        }

        .calendar-day {
            transition: all 0.2s ease;
            cursor: pointer;
            border: 0.0625rem solid transparent;
            min-height: 7.5rem;
            position: relative;
        }

        .calendar-day:hover {
            background-color: rgba(139, 92, 246, 0.1);
        }

        .calendar-day.available {
            background-color: rgba(16, 185, 129, 0.1);
            border-color: #10b981;
        }

        .calendar-day.booked {
            background-color: rgba(255, 107, 157, 0.1);
            border-color: #ff6b9d;
        }

        .calendar-day.blocked {
            background-color: rgba(239, 68, 68, 0.1);
            border-color: #ef4444;
        }

        .calendar-day.today {
            border-color: #8B5CF6;
            border-width: 0.125rem;
        }

        .calendar-day.selected {
            background-color: rgba(139, 92, 246, 0.2);
            border-color: #8B5CF6;
            border-width: 0.125rem;
        }

        .time-slot {
            transition: all 0.2s ease;
            cursor: pointer;
            padding: 0.5rem;
            margin: 0.25rem 0;
            border-radius: 0.5rem;
            border-left: 0.25rem solid transparent;
        }

        .time-slot:hover {
            background-color: rgba(139, 92, 246, 0.1);
            transform: translateY(-0.0625rem);
        }

        .time-slot.available {
            border-left-color: #10b981;
            background-color: rgba(16, 185, 129, 0.05);
        }

        .time-slot.booked {
            border-left-color: #ff6b9d;
            background-color: rgba(255, 107, 157, 0.05);
        }

        .time-slot.blocked {
            border-left-color: #ef4444;
            background-color: rgba(239, 68, 68, 0.05);
        }

        .booking-event {
            position: absolute;
            left: 0.125rem;
            right: 0.125rem;
            background: rgba(255, 107, 157, 0.8);
            color: white;
            padding: 0.125rem 0.25rem;
            border-radius: 0.25rem;
            font-size: 0.7rem;
            margin-top: 0.125rem;
            cursor: pointer;
        }

        .booking-event.available {
            background: rgba(16, 185, 129, 0.8);
        }

        .booking-event.blocked {
            background: rgba(239, 68, 68, 0.8);
        }

        .week-view-container {
            display: none;
        }

        .day-view-container {
            display: none;
        }

        .week-day-header {
            padding: 1rem;
            border-bottom: 0.0625rem solid #e5e7eb;
            text-align: center;
            font-weight: 600;
        }

        .dark .week-day-header {
            border-color: #374151;
        }

        .week-time-slot {
            height: 3.75rem;
            border-bottom: 0.0625rem solid #f3f4f6;
            display: flex;
            align-items: center;
            padding: 0 1rem;
            position: relative;
        }

        .dark .week-time-slot {
            border-color: #374151;
        }

        .week-event {
            position: absolute;
            left: 0.25rem;
            right: 0.25rem;
            background: rgba(255, 107, 157, 0.9);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            font-size: 0.75rem;
            cursor: pointer;
            z-index: 10;
        }

        /* Custom scrollbar */
        .time-picker-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.5rem;
        }

        .time-slot-btn {
            padding: 0.5rem;
            text-align: center;
            border: 0.0625rem solid #e5e7eb;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .time-slot-btn:hover {
            background-color: rgba(139, 92, 246, 0.1);
            border-color: #8B5CF6;
        }

        .time-slot-btn.selected {
            background-color: #8B5CF6;
            color: white;
            border-color: #8B5CF6;
        }

        .time-slot-btn.unavailable {
            background-color: #f3f4f6;
            color: #9ca3af;
            cursor: not-allowed;
        }

        .dark .time-slot-btn {
            border-color: #374151;
            background-color: #1f2937;
        }

        .dark .time-slot-btn.unavailable {
            background-color: #374151;
            color: #6b7280;
        }
    


                    body { font-family: Arial, sans-serif; margin: 1.25rem; }
                    .header { text-align: center; border-bottom: 0.125rem solid #333; padding-bottom: 0.625rem; }
                    .section { margin: 1.25rem 0; }
                    .label { font-weight: bold; }
                    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
                    @media print { body { margin: 0; } }
