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


        /* ============================================================
           Keyframe Animations
           ============================================================ */

        @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);
            }
        }

        /* ============================================================
           Animation Utility Classes
           ============================================================ */

        .animate-bounce-in {
            animation: bounceIn 0.6s ease-out both;
        }

        .animate-scale-in {
            animation: scaleIn 0.4s ease-out both;
        }

        .stagger-1 { animation-delay: 0.1s; }
        .stagger-2 { animation-delay: 0.2s; }
        .stagger-3 { animation-delay: 0.3s; }
        .stagger-4 { animation-delay: 0.4s; }
        .stagger-5 { animation-delay: 0.5s; }
        .stagger-6 { animation-delay: 0.6s; }

        /* ============================================================
           Brand Colors & Gradients
           ============================================================ */
        .logo-gradient {
            background: linear-gradient(135deg, #ff6b9d, #ffd700);
        }

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

        /* ============================================================
           Stat Cards
           ============================================================ */
        .stat-clickable {
            cursor: pointer;
        }

        .stat-clickable:hover {
            border-color: #8B5CF6;
        }

        .stat-card.stat-active {
            border-color: #8B5CF6;
            box-shadow: 0 0 0 0.0625rem #8B5CF6;
        }

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

        .order-new {
            background: rgba(59, 130, 246, 0.1);
            color: #3B82F6;
            border: 0.0625rem solid rgba(59, 130, 246, 0.3);
        }

        .order-processing {
            background: rgba(245, 158, 11, 0.1);
            color: #F59E0B;
            border: 0.0625rem solid rgba(245, 158, 11, 0.3);
        }

        .order-shipped {
            background: rgba(139, 92, 246, 0.1);
            color: #8B5CF6;
            border: 0.0625rem solid rgba(139, 92, 246, 0.3);
        }

        .order-delivered {
            background: rgba(16, 185, 129, 0.1);
            color: #10B981;
            border: 0.0625rem solid rgba(16, 185, 129, 0.3);
        }

        .order-cancelled {
            background: rgba(239, 68, 68, 0.1);
            color: #EF4444;
            border: 0.0625rem solid rgba(239, 68, 68, 0.3);
        }

        /* ============================================================
           Table Styles
           ============================================================ */
        .orders-table th {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05rem;
            font-weight: 600;
        }

        .orders-table td {
            font-size: 0.875rem;
            vertical-align: middle;
        }

        .orders-table tr {
            transition: background-color 0.2s ease;
        }

        .orders-table tbody tr:hover {
            background-color: rgba(139, 92, 246, 0.04);
        }

        .dark .orders-table tbody tr:hover {
            background-color: rgba(139, 92, 246, 0.08);
        }

        /* ============================================================
           Modal Styles
           ============================================================ */

        .modal-content {
            background: white;
            border-radius: 1rem;
            width: 100%;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            transform: scale(0.95) translateY(1rem);
            transition: transform 0.3s ease;
            overflow: hidden;
        }

        .dark .modal-content {
            background: rgb(31, 41, 55);
        }
        .modal-detail {
            max-width: 48rem;
        }

        .modal-small {
            max-width: 28rem;
        }

        /* ============================================================
           Order Timeline
           ============================================================ */
        .timeline-item {
            position: relative;
            padding-left: 2rem;
            padding-bottom: 1.5rem;
        }

        .timeline-item:last-child {
            padding-bottom: 0;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0.4375rem;
            top: 1.5rem;
            bottom: 0;
            width: 0.125rem;
            background: #e5e7eb;
        }

        .dark .timeline-item::before {
            background: #374151;
        }

        .timeline-item:last-child::before {
            display: none;
        }

        .timeline-dot {
            position: absolute;
            left: 0;
            top: 0.25rem;
            width: 1rem;
            height: 1rem;
            border-radius: 50%;
            border: 0.125rem solid #8B5CF6;
            background: white;
        }

        .dark .timeline-dot {
            background: rgb(31, 41, 55);
        }

        .timeline-dot.active {
            background: #8B5CF6;
        }

        /* ============================================================
           Skeleton Loader
           ============================================================ */
        .skeleton {
            background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
            background-size: 60rem 100%;
            animation: shimmer 1.5s infinite linear;
            border-radius: 0.5rem;
        }

        .dark .skeleton {
            background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
            background-size: 60rem 100%;
        }

        /* ============================================================
           Notification Dot
           ============================================================ */
        .notification-dot {
            animation: pulse 2s infinite;
        }

        /* ============================================================
           Custom Scrollbar
           ============================================================ */
        /* ============================================================
           Toast Notifications
           ============================================================ */
        .toast-enter {
            animation: slideUp 0.3s ease-out both;
        }

        /* ============================================================
           Mobile Order Cards
           ============================================================ */
        .order-card-mobile {
            background: white;
            border: 0.0625rem solid #e5e7eb;
            border-radius: 0.75rem;
            padding: 1rem;
            transition: all 0.2s ease;
        }

        .order-card-mobile:hover {
            border-color: #8B5CF6;
        }
