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


    /* Custom Animations */

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

    /* 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);
    }

    /* Modal Styles */

    /* 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%; }



.bookings-container {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
}

.status-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.875rem;
    border-bottom: 0.125rem solid #E9ECEF;
    padding-bottom: 1rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: #7F8C8D;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #E74C3C;
}

.tab-btn.active {
    color: #E74C3C;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1.125rem;
    left: 0;
    right: 0;
    height: 0.125rem;
    background: #E74C3C;
}

.tab-btn .badge {
    margin-left: 0.5rem;
    padding: 0.125rem 0.5rem;
    background: #E9ECEF;
    border-radius: 0.75rem;
    font-size: 0.75rem;
}

.tab-btn.active .badge {
    background: #E74C3C;
    color: #fff;
}

.bookings-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.booking-details {
    margin: 1.25rem 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 0.0625rem solid #F8F9FA;
}

.detail-row .label {
    color: #7F8C8D;
    font-weight: 500;
}

.detail-row .value {
    color: #2C3E50;
}

.booking-message {
    background: #F8F9FA;
    border-left: 0.1875rem solid #3498DB;
    padding: 1rem;
    border-radius: 0.375rem;
    margin: 1.25rem 0;
}

.booking-message p {
    margin: 0.5rem 0 0;
    color: #7F8C8D;
    line-height: 1.6;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.customer-info h4 {
    margin: 0;
    color: #2C3E50;
}

.customer-info p {
    margin: 0.25rem 0 0;
    color: #7F8C8D;
}

.booking-date {
    color: #7F8C8D;
    font-size: 0.875rem;
}

.booking-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 0.0625rem solid #E9ECEF;
}

.empty-state {
    text-align: center;
    padding: 2.5rem;
    color: #7F8C8D;
}

.loading {
    text-align: center;
    padding: 2.5rem;
    color: #7F8C8D;
}
