﻿        /* --- 1. CORE RESETS & CHECK-IN UI --- */
        .olami-checkin-wrap,
        .olami-stats-wrap,
        .oma-shell {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            color: #333;
            box-sizing: border-box;
            width: 100%;
        }

        .oc-group-body.forced-open {
            display: block !important;
        }

        /* BADGES ON GRID CARDS */
        .oc-select-card {
            overflow: visible !important;
            /* This allows the badge to pop out of the top */
            position: relative;
            margin-top: 12px;
            /* Adds space so the badge doesn't hit the section title */
        }

        .oc-badge-pending {
            position: absolute;
            top: -10px;
            /* Moves it up above the card border */
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
        }

        /* Sleek, optimized date field */
        input[type="date"] {
            appearance: none;
            -webkit-appearance: none;
            border: 1px solid #d2d2d7;
            border-radius: 8px;
            padding: 10px 12px;
            background-color: #fff;
            font-size: 14px;
            width: 100%;
            max-width: 220px;
            cursor: pointer;
        }

        /* Force the placeholder to show MM/DD/YYYY in supporting browsers */
        input[type="date"]::before {
            content: attr(placeholder);
            width: 100%;
        }

        /* RED BADGE: Pending (Top Left or Inline) */
        .oc-badge-pending {
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            background: #ff3b30;
            color: white;
            font-size: 10px;
            font-weight: 800;
            padding: 3px 8px;
            border-radius: 10px;
            box-shadow: 0 2px 5px rgba(255, 59, 48, 0.3);
            z-index: 10;
            white-space: nowrap;
        }

        /* Hide the GO button to save space */
        #btn_load_list {
            display: none !important;
        }

        /* Ensure the date selector looks clean now that it's the primary trigger */
        .oc-date-row {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 10px;
        }

        /* Hide Group filter by default until JS decides to show it */
        #olami_group_filter {
            display: none;
        }



        /* New Event Grid Cards */
        .oc-event-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }

        .oc-grid-label {
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            color: #999;
            width: 100%;
            margin: 10px 0 5px 0;
            letter-spacing: 0.5px;
        }

        .oc-select-card {
            flex: 1 1 calc(25% - 10px);
            min-width: 140px;
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .oc-select-card:hover {
            border-color: #bbb;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }

        .oc-select-card.active {
            border-color: #000;
            background: #fdfdfd;
            box-shadow: 0 0 0 2px #000;
            z-index: 2;
        }

        .oc-card-icon {
            font-size: 22px;
            margin-bottom: 5px;
        }

        .oc-card-title {
            font-size: 13px;
            font-weight: 700;
            color: #222;
            line-height: 1.2;
        }

        .oc-card-meta {
            font-size: 10px;
            color: #888;
            margin-top: 2px;
        }

        /* Mobile Scroll for Event Cards Grid */
        @media (max-width: 768px) {
            .oc-event-grid {
                display: flex !important;
                flex-wrap: nowrap !important;
                overflow-x: auto !important;
                gap: 10px !important;
                padding-bottom: 10px;
                flex-wrap: nowrap;
                scrollbar-width: none;
            }
            
            .oc-event-grid::-webkit-scrollbar {
                display: none;
            }

            .oc-select-card {
                flex: 0 0 140px !important;
                min-width: 140px !important;
                max-width: 140px !important;
            }

            .oc-select-card::-webkit-scrollbar {
                display: none;
            }
            
            /* Hide grid labels on mobile to save space */
            .oc-grid-label {
                width: auto !important;
                flex-shrink: 0;
            }
        }

        /* Existing Check-in Items */
        .oc-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #fff;
            padding: 12px 10px !important;
            border-bottom: 1px solid #f0f0f0;
            transition: background 0.1s;
            box-sizing: border-box !important;
            width: 100%;
        }

        .oc-item:hover {
            background: #fafafa;
            transition: background-color 0.5s ease, opacity 0.2s ease;
        }

        .rsvp-cb {
            transform: scale(1.3);
            transform-origin: center;
            margin: 0 12px 0 5px !important;
            accent-color: var(--primary-color);
            cursor: pointer;
            flex-shrink: 0;
        }

        .oc-left {
            display: flex;
            align-items: center;
            gap: 0 !important;
            overflow: hidden;
        }

        .oc-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid #e0e0e0;
            flex-shrink: 0;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .oc-info {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            justify-content: center;
            margin-left: 12px;
        }

        .oc-name {
            font-size: 15px;
            font-weight: 700;
            color: #222;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
        }

        .oc-meta {
            font-size: 12px;
            color: #888;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-top: 2px;
        }

        .oc-badge {
            background: #e3f2fd;
            color: #0d47a1;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 9px;
            text-transform: uppercase;
            font-weight: 700;
            margin-left: 6px;
            vertical-align: middle;
        }

        .oc-item.is-pending {
            background: #fffdf0 !important;
            border-left: 4px solid #ffca28;
        }
        
        /* Selected state for bulk actions */
        .oc-item.selected {
            background: #e3f2fd !important;
            border-left: 4px solid #2196f3 !important;
            box-shadow: inset 0 0 0 1px rgba(33, 150, 243, 0.3);
        }
        
        .oc-item.is-pending.selected {
            background: #fff8e1 !important;
            border-left: 4px solid #ff9800 !important;
            box-shadow: inset 0 0 0 2px rgba(255, 152, 0, 0.4);
        }
        
        /* Pending bulk bar positioning */
        #oc-pending-bulk-bar {
            position: sticky;
            top: 0;
            z-index: 100;
            margin-bottom: 10px;
        }
        
        /* Shift-click hint */
        .oc-shift-hint {
            background: #e3f2fd;
            color: #1565c0;
            padding: 8px 15px;
            border-radius: 8px;
            font-size: 12px;
            margin-bottom: 10px;
            display: none;
            align-items: center;
            gap: 5px;
        }
        
        .oc-shift-hint.show {
            display: flex;
        }
        
        .oc-shift-hint kbd {
            background: #fff;
            padding: 2px 6px;
            border-radius: 4px;
            font-family: monospace;
            font-weight: bold;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }

        .oc-btn-approve {
            background-color: #4caf50 !important;
            color: #fff !important;
            width: 38px !important;
            height: 38px !important;
            border-radius: 50% !important;
            cursor: pointer;
            font-size: 18px !important;
            display: flex !important;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15) !important;
            border: 2px solid #fff !important;
            margin-right: 8px !important;
            flex-shrink: 0 !important;
        }

        .oc-btn-reject {
            background-color: #f44336 !important;
            color: #fff !important;
            width: 38px !important;
            height: 38px !important;
            border-radius: 50% !important;
            cursor: pointer;
            font-size: 18px !important;
            display: flex !important;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15) !important;
            border: 2px solid #fff !important;
            flex-shrink: 0 !important;
        }

        #oc-bulk-bar {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: #222;
            color: #fff;
            padding: 12px 25px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            z-index: 9999999 !important;
            width: 90%;
            max-width: 450px;
            justify-content: space-between;
        }

        #bulk-count {
            font-weight: 700;
            font-size: 13px;
        }

        .oc-bulk-actions {
            display: flex;
            gap: 8px;
        }

        .oc-bulk-btn {
            background: #444 !important;
            color: #fff !important;
            border: 1px solid #555 !important;
            padding: 8px 14px !important;
            border-radius: 20px !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            height: auto !important;
            line-height: normal !important;
        }

        .btn-checkin {
            background: #2e7d32 !important;
            border-color: #2e7d32 !important;
        }

        .btn-trash {
            background: #c62828 !important;
            border-color: #c62828 !important;
        }

        .oc-group-header {
            padding: 10px 15px;
            background: #f9f9f9;
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            color: #888;
            border-bottom: 1px solid #eee;
            margin-top: 10px;
        }

        .oc-switch {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
            flex-shrink: 0;
        }

        .oc-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked+.slider {
            background-color: #2e7d32;
        }

        input:checked+.slider:before {
            transform: translateX(20px);
        }

        .oc-tabs {
            display: flex;
            justify-content: center;
            /* This centers them! */
            border-bottom: 2px solid #eee;
            margin-bottom: 20px;
            gap: 60px;
            /* Generous spacing between the two tabs */
        }

        .oc-tab {
            padding: 15px 5px;
            background: transparent;
            border-bottom: 3px solid transparent;
            font-weight: 700;
            color: #999;
            /* Darker gray for better readability */
            cursor: pointer;
            font-size: 14px;
            /* Slightly larger text */
            text-transform: uppercase;
            letter-spacing: 1px;
            /* Makes caps easier to read */
            transition: all 0.2s ease;
            user-select: none;
        }

        .oc-tab:hover {
            color: #555;
            /* Darkens slightly when you mouse over */
        }

        .oc-tab.active {
            border-bottom-color: var(--primary-color);
            /* Your Brand Red Underline */
            color: #000;
            /* Sharp Black Text */
            font-weight: 800;
            /* Extra bold */
        }

        .oc-controls {
            padding: 10px;
            background: #fcfcfc;
            border-bottom: 1px solid #eee;
            display: flex;
            gap: 10px;
        }

        .oc-filter-input {
            width: 100%;
            border: 1px solid #ddd;
            padding: 8px;
            border-radius: 6px;
            font-size: 13px;
        }

        .oc-quick-add {
            padding: 15px;
            background: #fff;
            border-bottom: 1px solid #eee;
            position: relative;
        }

        /* This creates the row layout */
        .oc-quick-row {
            display: flex;
            gap: 10px;
            align-items: center;
            width: 100%;
        }

        #user_search_input {
            flex-grow: 1;
            width: auto !important;
            margin-bottom: 0 !important;
            height: 42px !important;
        }

        /* Buttons stay fixed width/height */
        .oc-quick-btn {
            height: 42px !important;
            padding: 0 20px !important;
            margin: 0 !important;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        #oc-search-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            border: 1px solid #ccc;
            z-index: 100;
            max-height: 200px;
            overflow-y: auto;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .oc-result-item {
            padding: 10px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            font-size: 13px;
        }

        .oc-result-item:hover {
            background: #f0f5fa;
        }

        .olami-checkin-wrap .oc-toolbar {
            background: transparent !important;
            border: none !important;
            padding: 0 !important;
            box-shadow: none !important;
        }

        .olami-checkin-wrap .oc-select-area {
            background: #fff;
            padding: 20px;
            border-radius: 12px;
            border: 1px solid #e5e5ea;
            margin-bottom: 20px;
        }

        .olami-checkin-wrap .nav-tab-wrapper {
            border-bottom: none !important;
            margin-bottom: 15px !important;
            padding-left: 0 !important;
        }

        .olami-checkin-wrap .nav-tab {
            background: transparent !important;
            border: none !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            color: #86868b !important;
            margin-right: 15px !important;
            padding: 0 !important;
        }

        .olami-checkin-wrap .nav-tab-active {
            color: #1d1d1f !important;
        }

        .olami-checkin-wrap h1,
        .olami-checkin-wrap hr,
        .tablenav.top {
            display: none !important;
        }

        .oc-stats {
            display: flex;
            gap: 10px;
            justify-content: space-between;
        }

        .oc-stat-box {
            background: #f0f0f1;
            padding: 8px 15px;
            border-radius: 4px;
            text-align: center;
            min-width: 60px;
            flex-grow: 1;
        }

        .oc-stat-box.is-green {
            background: #d4edda;
            color: #155724;
        }

        .oc-stat-box.is-pending {
            background: #fff3cd;
            color: #856404;
        }

        .oc-stat-num {
            font-size: 20px;
            font-weight: 800;
            display: block;
            line-height: 1;
        }

        .oc-stat-label {
            font-size: 9px;
            text-transform: uppercase;
            opacity: 0.7;
        }

        /* --- MOBILE CHECK-IN MANAGER OPTIMIZATION --- */
        @media (max-width: 768px) {
            /* Stats row - keep as flex, wrap if needed */
            .oc-stats-row {
                display: flex !important;
                flex-wrap: wrap !important;
                gap: 8px !important;
            }
            
            .oc-stat-card {
                flex: 1 1 calc(50% - 8px) !important;
                min-width: 80px !important;
            }
            
            /* Group headers - more touch-friendly */
            .oc-group-header {
                padding: 14px 15px !important;
                font-size: 12px !important;
            }
            
            /* Guest list & pending items - optimized vertical layout */
            .oc-item {
                padding: 12px 10px !important;
            }
            
            .oc-item .oc-avatar {
                width: 40px !important;
                height: 40px !important;
            }
            
            .oc-item .oc-info {
                margin-left: 10px !important;
            }
            
            .oc-item .oc-name {
                font-size: 14px !important;
            }
            
            .oc-item .oc-meta {
                font-size: 11px !important;
            }
            
            /* Approve/Reject buttons - larger touch targets */
            .oc-btn-approve,
            .oc-btn-reject {
                width: 42px !important;
                height: 42px !important;
                font-size: 18px !important;
            }
            
            /* Family dropdown in pending cards */
            .oc-item select {
                max-width: 90px !important;
                font-size: 12px !important;
                padding: 6px 8px !important;
            }
            
            /* Tabs row */
            .oc-tabs-row {
                display: flex !important;
                overflow-x: auto !important;
                flex-wrap: nowrap;
            }
            
            .oc-tab {
                flex: 0 0 auto !important;
                white-space: nowrap !important;
                padding: 12px 14px !important;
                font-size: 12px !important;
            }
            
            /* Search input - prevent iOS zoom */
            .oc-search-input,
            .oc-quick-row input {
                font-size: 16px !important;
            }
            
            /* Bulk action bar */
            #oc-bulk-bar {
                left: 10px !important;
                right: 10px !important;
                transform: none !important;
                width: auto !important;
            }
            
            .oc-bulk-btn {
                padding: 10px 12px !important;
                font-size: 11px !important;
            }
        }

        /* --- 2. MOBILE STUDENT DATABASE (PRESERVED) --- */
        @media (max-width: 768px) {
            .olami-desktop-only {
                display: none !important;
            }

            #wpadminbar {
                position: absolute !important;
            }

            .wp-heading-inline {
                font-size: 20px !important;
            }
        }

        @media (min-width: 769px) {
            .olami-mobile-only {
                display: none !important;
            }
        }

        .olami-student-card {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
            border: 1px solid #f0f0f0;
            margin-bottom: 15px;
            overflow: hidden;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        .osc-header {
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
            border-bottom: 1px solid #f9f9f9;
        }

        .osc-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #fff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .osc-info {
            flex-grow: 1;
        }

        .osc-name {
            font-size: 16px;
            font-weight: 800;
            color: #333;
            margin-bottom: 4px;
        }

        .osc-badges {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .osc-coin-badge {
            background: #fff8e1;
            color: #fbc02d;
            font-size: 10px;
            font-weight: 800;
            padding: 3px 8px;
            border-radius: 50px;
            border: 1px solid #fff3e0;
        }

        .osc-btn-icon {
            background: none !important;
            background-color: transparent !important;
            box-shadow: none !important;
            border: none !important;
            font-size: 20px;
            cursor: pointer;
            padding: 0 !important;
            margin: 0 !important;
            color: #ccc !important;
            width: auto !important;
            height: auto !important;
            display: inline-block !important;
        }

        .osc-btn-icon:hover {
            color: var(--primary-color) !important;
            transform: scale(1.1);
        }

        .osc-actions {
            display: flex;
            padding: 12px;
            gap: 10px;
            background: #fff;
        }

        .osc-action-btn {
            flex: 1;
            background: #fff !important;
            background-color: #fff !important;
            border: 1px solid #e0e0e0 !important;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
            padding: 10px 0 !important;
            font-size: 12px;
            font-weight: 700;
            text-align: center;
            cursor: pointer;
            text-decoration: none !important;
            border-radius: 8px;
            transition: transform 0.1s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            color: #555;
            height: auto !important;
            line-height: normal !important;
        }

        .osc-action-btn:active {
            transform: scale(0.96);
            background: #f9f9f9 !important;
        }

        .btn-wa {
            color: #25D366 !important;
            border-color: #e7fce3 !important;
            background: #fafffa !important;
        }

        .btn-call {
            color: #007aff !important;
            border-color: #e3f2fd !important;
            background: #fafdff !important;
        }

        .btn-more {
            color: #555 !important;
            border-color: #eee !important;
            background: #fff !important;
        }

        .osc-drawer {
            background: #fafafa;
            padding: 15px;
            border-top: 1px solid #f0f0f0;
            font-size: 13px;
            color: #555;
        }

        .osc-row {
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px dashed #e5e5e5;
            padding-bottom: 8px;
        }

        .os-tag {
            padding: 3px 8px;
            border-radius: 6px;
            font-size: 9px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .os-tag-green {
            background: #e8f5e9;
            color: #2e7d32;
        }

        .os-tag-yellow {
            background: #fff3cd;
            color: #856404;
        }

        .os-tag-blue {
            background: #e3f2fd;
            color: #0d47a1;
        }

        .os-tag-gray {
            background: #f5f5f5;
            color: #616161;
        }

        .os-tag-olive {
            background: #556b2f;
            color: #fff;
        }

        /* --- 3. TABLES & SCROLL (PRESERVED) --- */
        .olami-scroll-wrapper {
            display: block;
            width: 100%;
            overflow-x: auto;
            flex-wrap: nowrap;
            margin-bottom: 20px;
            border: 1px solid #e5e5e5;
            background: #fff;
            position: relative;
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
        }

        .olami-scroll-wrapper .wp-list-table {
            table-layout: auto !important;
            width: 100% !important;
            display: table !important;
        }

        .olami-scroll-wrapper .wp-list-table td,
        .olami-scroll-wrapper .wp-list-table th {
            white-space: nowrap;
            vertical-align: middle;
            padding: 12px 10px !important;
        }

        .olami-scroll-wrapper .wp-list-table tr>th:first-child,
        .olami-scroll-wrapper .wp-list-table tr>td:first-child {
            position: sticky !important;
            left: 0;
            z-index: 10;
            background: #fff;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
            border-right: 1px solid #ddd;
        }

        /* --- 4. TICKETS & DASHBOARD (PRESERVED) --- */
        .olami-scroll-snap {
            position: relative;
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding: 20px 20px 40px 20px;
            scroll-snap-type: x mandatory;
            flex-wrap: nowrap;
            scrollbar-width: none;
        }

        .olami-scroll-snap::-webkit-scrollbar {
            display: none;
        }

        .od-wrapper {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            padding: 10px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
        }
        
        /* Announcement Row - Full width above grid */
        .od-announcement-row {
            width: 100%;
            margin-bottom: 20px;
        }
        
        .od-announcement-row .sec-ann-bar {
            margin: 0;
        }

        .od-ticket-section {
            margin-bottom: 25px;
            margin-top: 5px;
        }

        .od-scroll-container {
            display: flex;
            overflow-x: auto;
            gap: 15px;
            padding: 10px 5px 30px 5px;
            scroll-snap-type: x mandatory;
            flex-wrap: nowrap;
            scrollbar-width: none;
        }

        .od-scroll-container::-webkit-scrollbar {
            display: none;
        }

        .od-top-section {
            display: grid;
            grid-template-columns: 1fr 1.2fr 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }

        .od-col {
            background: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            border: 1px solid #f0f0f0;
            height: auto;
            display: flex;
            flex-direction: column;
        }

        .od-h3 {
            font-size: 13px;
            font-weight: 800;
            color: #333;
            margin: 0 0 15px 0;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .od-wallet-card {
            background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
            color: #fcebb6;
            text-align: center;
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid #b8860b;
            justify-content: center;
            align-items: center;
            padding: 30px 20px;
        }

        .od-wallet-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: rgba(255, 255, 255, 0.4);
            margin-bottom: 15px;
        }

        .od-coin-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .od-wallet-coins {
            font-size: 60px;
            font-weight: 800;
            color: #fff;
            line-height: 1;
            text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
        }

        .od-coin-container {
            width: 70px;
            height: 70px;
            perspective: 1000px;
            cursor: pointer;
        }

        .od-coin-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.8s;
            transform-style: preserve-3d;
            animation: spinCoin 5s infinite linear;
        }

        .od-wallet-card:hover .od-coin-inner {
            animation-play-state: paused;
        }

        @keyframes spinCoin {
            0% {
                transform: rotateY(0deg);
            }

            100% {
                transform: rotateY(360deg);
            }
        }

        .od-coin-front,
        .od-coin-back {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            border-radius: 50%;
            background-size: cover;
            background-position: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
            background-color: transparent;
        }

        .od-coin-front {
            background-image: url('https://olamiherzliya.org/wp-content/uploads/2026/01/Adobe-Express-file-3.png');
        }

        .od-coin-back {
            background-image: url('https://olamiherzliya.org/wp-content/uploads/2026/01/Adobe-Express-file-1.png');
            transform: rotateY(180deg);
        }

        .od-stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .od-stat-chip {
            background: #f9f9f9;
            border-radius: 4px;
            padding: 10px;
            text-align: center;
        }

        .od-stat-val {
            font-weight: 800;
            font-size: 16px;
            color: #333;
            display: block;
        }

        .od-stat-lbl {
            font-size: 10px;
            color: #999;
            text-transform: uppercase;
        }

        .od-activity-list {
            max-height: 220px;
            overflow-y: auto;
            padding-right: 5px;
        }

        .od-activity-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #f7f7f7;
            font-size: 13px;
        }

        .od-activity-row:last-child {
            border-bottom: none;
        }

        .olami-trip-wrapper {
            flex: 0 0 340px !important;
            width: 340px !important;
            max-width: 340px !important;
            scroll-snap-align: center;
            position: relative;
            margin-bottom: 25px;
        }

        .olami-ticket-wrapper {
            flex: 0 0 95%;
            max-width: 540px;
            min-width: 300px;
            scroll-snap-align: center;
            position: relative;
            display: flex;
            flex-direction: column;
        }
        
        /* Cancel button below interactive tickets */
        .olami-cancel-row {
            margin-top: 8px;
            padding: 10px 16px;
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 12px;
            font-weight: 600;
            color: #999;
            text-align: center;
        }
        .olami-cancel-row:hover {
            background: #fef2f2;
            border-color: #fca5a5;
            color: #dc2626;
        }

        .obp-card {
            width: 100%;
            height: 500px;
            background: #ffffff;
            color: #000;
            border-radius: 16px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
            border: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
            display: flex;
            flex-direction: column;
            transition: transform 0.2s;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            overflow: hidden;
        }

        .obp-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .obp-card:active {
            transform: translateY(0) scale(0.98);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .obp-top {
            flex: 0 0 280px;
            background-size: cover;
            background-position: center;
            position: relative;
            padding: 25px;
            display: flex;
            flex-direction: column;
        }

        .obp-top::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.70);
            z-index: 0;
        }

        .obp-badge {
            position: absolute;
            top: 25px;
            right: 25px;
            z-index: 2;
            background: #F0F59F;
            color: #000;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 1px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .obp-title {
            margin-top: auto;
            position: relative;
            z-index: 2;
            color: #fff;
            font-size: 28px;
            font-weight: 900;
            line-height: 0.95;
            letter-spacing: -1px;
            text-transform: uppercase;
            text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
        }

        .obp-input-stack {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 30px;
        }

        .obp-ghost-input {
            width: 100%;
            box-sizing: border-box;
            background: rgba(0, 0, 0, 0.5);
            border: 2px solid #F3E5AB;
            border-radius: 10px;
            padding: 12px 15px;
            color: #ffffff !important;
            font-weight: 600;
            font-size: 14px;
            outline: none;
            transition: all 0.2s;
        }

        .obp-ghost-input:focus {
            background: rgba(0, 0, 0, 0.8);
            border-color: #FFF8E7;
        }

        .obp-ghost-input::placeholder {
            color: #ffffff !important;
            opacity: 1;
            text-transform: uppercase;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1px;
        }

        .obp-content {
            flex-grow: 1;
            padding: 12px;
            display: flex;
            flex-direction: column;
            position: relative;
            background: #ffffff;
            justify-content: space-between;
        }

        .obp-content::before {
            content: '';
            position: absolute;
            top: -1px;
            left: 10px;
            right: 10px;
            border-top: 2px dashed rgba(0, 0, 0, 0.1);
            z-index: 10;
        }

        .obp-meta-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
        }

        .obp-label {
            font-size: 9px;
            font-weight: 700;
            color: #aaa;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-bottom: 3px;
            display: block;
        }

        .obp-val {
            font-size: 14px;
            font-weight: 800;
            color: #000;
        }

        /* TARGET PARENT + CHILD TO BEAT THEME */
        .obp-card .obp-input-stack input.obp-clean-input,
        .obp-card .obp-grid-2 select.obp-clean-select,
        .obp-card input.obp-clean-input {
            background-color: rgba(0, 0, 0, 0.5) !important;
            /* Transparent Black */
            color: #ffffff !important;
            /* White Text */
            border: 1px solid rgba(255, 255, 255, 0.5) !important;
            border-radius: 6px !important;
            padding: 10px !important;
            box-shadow: none !important;
            /* Kill theme shadows */
            height: auto !important;
            /* Fix theme height locks */
        }

        /* Fix Placeholder Text */
        .obp-card input.obp-clean-input::placeholder {
            color: rgba(255, 255, 255, 0.7) !important;
            opacity: 1 !important;
        }

        /* Fix Dropdown Arrow & Background */
        .obp-card select.obp-clean-select {
            background-color: rgba(0, 0, 0, 0.5) !important;
            color: #ffffff !important;
            background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24"><path fill="%23ffffff" d="M7 10l5 5 5-5z"/></svg>') !important;
            background-repeat: no-repeat !important;
            background-position: right 10px center !important;
            border: 1px solid rgba(255, 255, 255, 0.5) !important;
        }

        .obp-clean-select {
            -webkit-appearance: none;
            background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24"><path fill="%23333" d="M7 10l5 5 5-5z"/></svg>');
            background-repeat: no-repeat;
            background-position: right 10px center;
            padding-right: 25px;
        }

        .obp-grid-2 {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 10px;
            margin-top: 10px;
        }

        .obp-btn {
            width: 100%;
            padding: 15px;
            border-radius: 10px;
            border: none;
            font-weight: 800;
            text-transform: uppercase;
            font-size: 13px;
            cursor: pointer;
            letter-spacing: 1px;
            text-align: center;
            text-decoration: none;
            display: block;
            margin-top: auto;
        }

        .btn-action {
            background: #000;
            color: #fff;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            transition: transform 0.1s;
        }

        .btn-action:active {
            transform: scale(0.98);
        }

        .btn-booked {
            background: #e8f5e9;
            color: #2e7d32;
            border: 1px solid #c8e6c9;
            cursor: default;
        }

        .btn-pending {
            background: #fff3cd;
            color: #856404;
            border: 1px solid #ffeeba;
            cursor: default;
        }

        .btn-login {
            background: #333;
            color: #fff;
        }

        .obp-success {
            display: none;
            text-align: center;
            padding: 10px 0;
        }

        .obp-success h4 {
            margin-bottom: 2px;
            line-height: 1.6;
        }

        .obp-card.is-ripped .obp-success {
            display: block;
            animation: fadeIn 0.5s;
        }

        .obp-card.is-past::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(30, 30, 30, 0.75);
            z-index: 99;
            pointer-events: all;
        }

        .obp-card.is-past::after {
            content: 'TRIP ENDED';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-12deg);
            z-index: 100;
            color: #b0b0b0;
            font-weight: 800;
            letter-spacing: 2px;
            text-transform: uppercase;
            border: 4px double #b0b0b0;
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 22px;
            white-space: nowrap;
        }

        .olami-ticket {
            width: 100%;
            height: 220px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            position: relative;
            border-radius: 12px;
            transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s;
            margin-bottom: 20px;
            background: #fff;
        }

        @media (max-width: 600px) {
            .olami-ticket {
                height: 230px !important;
            }
        }

        .olami-ticket:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
        }

        .olami-ticket:active {
            transform: scale(0.98) translateY(0);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .olami-ticket-inner {
            display: flex;
            width: 100%;
            height: 100%;
            border-radius: 12px;
            overflow: hidden;
            transform: translateZ(0);
        }

        .olami-ticket-info.has-bg-img {
            background-size: cover !important;
            background-position: center !important;
        }

        .olami-ticket-info.has-bg-img::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
            z-index: 1;
            grid-area: 1 / 1;
        }

        .olami-ticket-info.has-bg-img .ot-title {
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
        }

        .olami-ticket-info.has-bg-img .ot-date {
            color: rgba(255, 255, 255, 0.9);
        }

        .olami-ticket-info.has-bg-img .ot-desc {
            color: #fff;
        }

        .olami-ticket-info.has-bg-img .ot-options-container strong {
            color: rgba(255, 255, 255, 0.8) !important;
        }

        .olami-ticket-info.has-bg-img .ot-extra-label {
            color: rgba(255, 255, 255, 0.8) !important;
        }

        .olami-ticket-info.has-bg-img .ot-success-title {
            color: #fff !important;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        }

        .olami-ticket-info.has-bg-img .ot-success-msg,
        .obp-success span {
            line-height: 1.2;
            margin-top: 0;
            display: block;
        }

        .olami-ticket-info.has-gradient-bg {
            mask-image: radial-gradient(circle at right center, transparent 10px, black 10.5px);
            -webkit-mask-image: radial-gradient(circle at right center, transparent 10px, black 10.5px);
        }

        .olami-ticket-info {
            flex: 1;
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: 1fr;
            position: relative;
            /* UPDATED: Moves content 2px down and 3px right */
            padding: 16px 14px 14px 12px !important;
            border-right: 2px dashed #dcdcdc;
            background: #fff;
            z-index: 2;
        }

        .ot-title {
            font-size: 18px;
            font-weight: 800;
            margin: 0;
            color: #111;
            line-height: 1.1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .ot-date {
            color: #888;
            font-size: 11px;
            margin-top: 3px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .ot-desc {
            margin: 8px 0;
            font-size: 12px;
            line-height: 1.3;
            color: #555;
            flex-grow: 1;
            overflow-y: auto;
            scrollbar-width: none;
        }

        /* NEW: Compact Left-aligned Ticket Layout */
        .ot-content-main {
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 5;
            gap: 2px;
        }

        /* Vertically Centered Content - Matches Backend Preview */
        .ot-content-centered {
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 5;
        }

        .ot-date-line {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            opacity: 0.9;
            margin-bottom: 3px;
        }

        .ot-title-main {
            font-size: 28px;
            font-weight: 900;
            margin: 0;
            line-height: 1.0;
            text-transform: uppercase;
            letter-spacing: -0.5px;
        }

        .ot-location-line {
            font-size: 13px;
            font-weight: 500;
            opacity: 0.9;
            margin-top: 6px;
        }

        .ot-desc-line {
            font-size: 14px;
            margin-top: 10px;
            opacity: 0.85;
            line-height: 1.4;
        }

        /* Options Section - Tight Layout */
        .ot-options-section {
            margin-top: 50px !important;
            position: relative;
            z-index: 5;
            line-height: 1 !important;
        }

        .ot-q-text {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            opacity: 0.8;
            margin-bottom: 6px;
        }

        .ot-pills-row {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: wrap !important;
            justify-content: flex-start !important;
            gap: 2px !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .ot-pill {
            display: flex !important;
            align-items: center !important;
            cursor: pointer !important;
            margin: 0 !important;
            padding: 0 !important;
            width: auto !important;
            flex: 0 0 auto !important;
            border: none !important;
            background: none !important;
        }

        .ot-pill input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .ot-pill span {
            display: inline-block !important;
            padding: 4px 10px !important;
            margin: 0 !important;
            font-size: 13px !important;
            font-weight: 600;
            background: rgba(0, 0, 0, 0.25) !important;
            border: none;
            border-radius: 25px;
            color: #fff;
            transition: all 0.15s ease;
            line-height: normal !important;
        }

        .ot-pill:hover span {
            background: rgba(0, 0, 0, 0.35);
        }

        .ot-pill input:checked+span {
            background: rgba(255, 255, 255, 0.95);
            color: #333;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .ot-text-input {
            width: 100%;
            padding: 10px 16px;
            border-radius: 25px;
            border: none;
            background: rgba(0, 0, 0, 0.25);
            font-size: 13px;
            margin-top: 8px;
            color: #fff;
            outline: none;
            transition: all 0.15s;
        }

        .ot-text-input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .ot-text-input:focus {
            background: rgba(0, 0, 0, 0.35);
        }

        /* OLD STYLES - Keep for backwards compatibility */
        .ot-date-top {
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            opacity: 0.9;
            margin-bottom: 2px;
        }

        .ot-title-big {
            font-size: 26px;
            font-weight: 900;
            margin: 0;
            line-height: 1.05;
            text-transform: uppercase;
            letter-spacing: -0.5px;
        }

        .ot-location {
            font-size: 11px;
            font-weight: 600;
            opacity: 0.85;
            margin-top: 4px;
            letter-spacing: 0.2px;
        }

        .ot-desc-subtle {
            font-size: 13px;
            margin-top: 8px;
            opacity: 0.8;
            line-height: 1.3;
        }

        /* Clean Pill-Style Options */
        .ot-options-bottom {
            margin-top: 10px;
            position: relative;
            z-index: 5;
        }

        .ot-q-label {
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            opacity: 0.7;
            margin-bottom: 5px;
        }

        .ot-options-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .ot-pill-label {
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        .ot-pill-label input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .ot-pill-label span {
            display: inline-block;
            padding: 6px 14px;
            font-size: 12px;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 20px;
            color: #fff;
            transition: all 0.2s ease;
        }

        .ot-pill-label:hover span {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-1px);
        }

        .ot-pill-label input:checked+span {
            background: rgba(255, 255, 255, 0.95);
            color: #333;
            border-color: transparent;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        /* Mobile responsive tickets */
        @media (max-width: 480px) {
            .ot-title-main {
                font-size: 22px;
            }

            .ot-title-big {
                font-size: 20px;
            }

            .ot-date-line,
            .ot-date-top {
                font-size: 9px;
            }

            .ot-location-line,
            .ot-location {
                font-size: 11px;
            }

            .ot-desc-line,
            .ot-desc-subtle {
                font-size: 12px;
            }

            .ot-pill span,
            .ot-pill-label span {
                padding: 6px 14px;
                font-size: 11px;
            }
        }

        /* Reward badge green variant */
        .ot-reward-badge {
            color: #46b450 !important;
            box-shadow: 0 0 15px rgba(70, 180, 80, 0.5), inset 0 0 10px rgba(70, 180, 80, 0.2) !important;
            border-color: rgba(70, 180, 80, 0.5) !important;
        }

        .ot-options-container strong {
            color: #888;
            font-size: 9px;
            text-transform: uppercase;
            display: block;
            margin-bottom: 1px;
        }

        .ot-extra-label {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            color: #888;
            display: block;
            margin-top: 8px;
        }

        .ot-custom-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
            pointer-events: none;
        }

        .ot-state-initial {
            grid-area: 1 / 1;
            display: flex;
            flex-direction: column;
            z-index: 10;
            clip-path: inset(0 0 0 0);
            transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
            position: relative;
        }

        .ot-state-success {
            grid-area: 1 / 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            z-index: 5;
            clip-path: inset(0 0 0 100%);
            transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
            position: relative;
        }

        .olami-ticket.is-ripped .ot-state-initial {
            clip-path: inset(0 100% 0 0);
        }

        .olami-ticket.is-ripped .ot-state-success {
            clip-path: inset(0 0 0 0);
            z-index: 20;
        }

        .ot-success-title {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary-color, #924d61);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 0 0 6px 0;
        }

        .ot-success-msg {
            font-size: 15px;
            color: #cccccc;
            font-weight: 500;
            max-width: 90%;
            line-height: 1.3;
            margin: 0;
        }

        .olami-ticket-stub {
            width: 55px;
            flex: 0 0 55px;
            background: var(--primary-color, #924d61);
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 100;
            transition: transform 0.2s ease, background 0.2s;
            mask-image: radial-gradient(circle at left center, transparent 10px, black 10.5px);
            -webkit-mask-image: radial-gradient(circle at left center, transparent 10px, black 10.5px);
        }

        .olami-ticket-stub:hover {
            background: var(--primary-color-dark, #7a3e50);
            transform: translateY(-2px);
        }

        .olami-ticket-stub:active {
            transform: scale(0.95);
        }

        .olami-stub-text {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            font-weight: 800;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-size: 14px;
        }

        .ot-options-container {
            margin-top: auto;
            width: 100%;
        }

        .ot-options-list {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-top: 4px;
        }

        .ot-opt-label {
            display: flex;
            align-items: center;
            cursor: pointer;
            font-size: 11px;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.9);
            padding: 4px 10px;
            border-radius: 50px;
            color: #444;
            border: 1px solid transparent;
            box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
            transition: all 0.1s ease;
        }

        .ot-opt-label:hover {
            background: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .ot-opt-label:active {
            transform: scale(0.95);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        .ot-opt-label input {
            margin-right: 5px;
            transform: scale(1);
            margin-top: -1px;
            accent-color: var(--primary-color);
        }

        .ot-extra-input {
            width: 100%;
            padding: 8px 14px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            font-size: 12px;
            margin-top: 6px;
            color: #fff;
            outline: none;
            transition: all 0.2s;
        }

        .ot-extra-input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .ot-extra-input:focus {
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.5);
        }

        .olami-ticket.is-ripped:not(.is-pending) .olami-ticket-stub {
            transition: transform 0.8s cubic-bezier(0.55, 0.055, 0.675, 0.19), opacity 0.8s ease-in;
            transform: translate(80px, -400px) rotate(25deg);
            opacity: 0;
            pointer-events: none;
        }

        .olami-ticket.is-ripped .olami-ticket-inner {
            overflow: visible;
        }

        .olami-ticket.is-pending .olami-ticket-stub {
            background: #b8860b;
            cursor: default;
        }

        .olami-ticket.is-pending .ot-success-title {
            color: #b8860b;
        }

        /* Static Ticket Container (holds ticket + cancel button) */
        .ot-pass-container {
            flex: 0 0 auto;
            width: 300px;
            display: flex;
            flex-direction: column;
            scroll-snap-align: start;
            min-height: 140px; /* Consistent height for all tickets */
        }

        .ot-pass-wrapper {
            display: flex;
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            border: 1px solid #e0e0e0;
            position: relative;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            flex: 1; /* Fill available space */
            min-height: 100px;
        }
        
        /* Cancel button for static tickets */
        .ot-cancel-btn {
            margin-top: 8px;
            padding: 8px 12px;
            background: #fff;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            text-align: center;
            font-size: 12px;
            font-weight: 600;
            color: #999;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .ot-cancel-btn:hover {
            background: #fef2f2;
            border-color: #fca5a5;
            color: #dc2626;
        }
        /* Placeholder to maintain consistent height */
        .ot-cancel-placeholder {
            margin-top: 8px;
            height: 34px; /* Same as cancel button */
        }

        .ot-pass-main {
            flex: 1;
            padding: 15px;
            border-right: 2px dashed #d0d0d0;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            opacity: 1;
        }

        .ot-pass-main::after {
            content: '';
            position: absolute;
            right: -6px;
            bottom: -6px;
            width: 12px;
            height: 12px;
            background: #fafafa;
            border-radius: 50%;
            box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
        }

        .ot-pass-main::before {
            content: '';
            position: absolute;
            right: -6px;
            top: -6px;
            width: 12px;
            height: 12px;
            background: #fafafa;
            border-radius: 50%;
            box-shadow: inset 2px -2px 5px rgba(0, 0, 0, 0.05);
        }

        .ot-pass-stub {
            width: 50px;
            background: var(--primary-color, #924d61);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ot-stub-text {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            transform: rotate(180deg);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .ot-date-badge {
            display: inline-block;
            background: #f0f0f0;
            color: #555;
            font-size: 10px;
            font-weight: 700;
            padding: 4px 8px;
            border-radius: 4px;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .ot-h4 {
            font-size: 16px;
            font-weight: 800;
            color: #111;
            line-height: 1.2;
            margin: 0 0 5px 0;
            text-transform: uppercase;
        }

        .ot-meta {
            font-size: 12px;
            color: #666;
            display: flex;
            align-items: center;
            margin-top: 3px;
            font-weight: 500;
        }

        .ot-meta span {
            margin-right: 5px;
            font-size: 14px;
        }

        .ot-pending-msg {
            font-size: 10px;
            color: #b8860b;
            font-weight: 800;
            text-transform: uppercase;
            margin-top: 5px;
        }

        /* Cancel button for interactive tickets - kept simple */
        .olami-cancel-row {
            margin-top: 8px;
            padding: 10px 16px;
            background: #fff;
            border: 1px solid #e5e5e5;
            border-radius: 10px;
            text-align: center;
            font-size: 13px;
            font-weight: 600;
            color: #999;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .olami-cancel-row:hover {
            background: #fef2f2;
            border-color: #fca5a5;
            color: #dc2626;
        }

        #olami-install-banner {
            display: none;
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            z-index: 999999;
            animation: slideUp 0.5s ease-out forwards;
        }

        @media all and (display-mode: standalone) {
            #olami-install-banner {
                display: none !important;
            }
        }

        @keyframes slideUp {
            from {
                transform: translateY(100px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .oib-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .oib-logo {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            margin-right: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .oib-title {
            font-size: 16px;
            font-weight: 700;
            color: #000;
            margin: 0;
            line-height: 1.2;
        }

        .oib-desc {
            font-size: 13px;
            color: #666;
            margin-top: 3px;
        }

        .oib-instructions {
            font-size: 14px;
            color: #333;
            background: #f2f2f7;
            padding: 12px;
            border-radius: 8px;
            line-height: 1.4;
        }

        .oib-icon {
            display: inline-block;
            vertical-align: middle;
            font-size: 18px;
            margin: 0 2px;
            color: #007aff;
        }

        .oib-actions {
            margin-top: 15px;
            display: flex;
            gap: 10px;
        }

        .oib-btn {
            flex: 1;
            padding: 12px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            text-align: center;
            border: none;
            cursor: pointer;
        }

        .oib-btn-close {
            background: #eee;
            color: #888;
        }

        .op-card {
            background: #fff;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            border: 1px solid #f0f0f0;
            max-width: 550px;
            margin: 0 auto;
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            position: relative;
        }

        .op-back-link {
            display: inline-flex;
            align-items: center;
            text-decoration: none;
            color: #999;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 15px;
            transition: all 0.2s;
        }

        .op-back-link:hover {
            color: #b8860b;
            transform: translateX(-3px);
        }

        .op-back-icon {
            margin-right: 5px;
            font-size: 13px;
        }

        .op-header {
            text-align: center;
            margin-bottom: 20px;
            border-bottom: 1px solid #f5f5f5;
            padding-bottom: 20px;
        }

        .op-avatar {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #fff;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            margin-bottom: 10px;
        }

        .op-title {
            font-size: 22px;
            font-weight: 800;
            color: #111;
            margin: 0;
            line-height: 1.1;
        }

        .op-subtitle {
            font-size: 12px;
            color: #999;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 5px;
        }

        .op-section-title {
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #b8860b;
            margin: 18px 0 12px 0;
        }

        .op-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .op-form-group {
            margin-bottom: 0;
            text-align: left;
        }

        .op-label {
            font-size: 10px;
            font-weight: 700;
            color: #aaa;
            text-transform: uppercase;
            display: block;
            margin-bottom: 4px;
        }

        .op-input {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #eee;
            border-radius: 5px;
            font-size: 13px;
            color: #333;
            background: #fafafa;
            box-sizing: border-box;
            transition: all 0.2s;
            height: 38px;
        }

        .op-input:focus {
            background: #fff;
            border-color: #b8860b;
            outline: none;
            box-shadow: 0 2px 5px rgba(184, 134, 11, 0.1);
        }

        .op-input[readonly] {
            background: transparent;
            border-color: transparent;
            padding-left: 0;
            color: #444;
            font-weight: 600;
            cursor: default;
        }

        .op-input-group {
            position: relative;
        }

        .op-icon {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.4;
            font-size: 15px;
        }

        .op-card.is-editing .op-has-icon {
            padding-left: 32px;
        }

        .op-card:not(.is-editing) .op-icon {
            display: none;
        }

        .op-actions {
            margin-top: 25px;
            text-align: center;
            border-top: 1px solid #f5f5f5;
            padding-top: 20px;
        }

        .op-btn {
            padding: 10px 25px;
            border-radius: 50px;
            border: none;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.2s;
            text-decoration: none;
            display: inline-block;
        }

        .op-btn-save {
            background: #000;
            color: #fff;
            display: none;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        }

        .op-btn-edit {
            background: #f5f5f5;
            color: #333;
        }

        .op-btn:hover {
            transform: translateY(-2px);
        }

        .op-card.is-editing .op-input {
            background: #fff;
            border-color: #ddd;
        }

        .op-card.is-editing .op-input[readonly] {
            background: #fafafa;
            border-color: #eee;
            color: #aaa;
        }

        .op-card.is-editing .op-btn-save {
            display: inline-block;
        }

        .op-card.is-editing .op-btn-edit {
            display: none;
        }

        /* COLLAPSIBLE GROUP HEADERS */
        .oc-group-header {
            padding: 12px 15px;
            background: #f9f9f9;
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            color: #666;
            border-bottom: 1px solid #eee;
            margin-top: 10px;
            cursor: pointer;
            /* Shows it's clickable */
            display: flex;
            justify-content: space-between;
            align-items: center;
            user-select: none;
            transition: background 0.2s;
        }

        .oc-group-header:hover {
            background: #f0f0f0;
            color: #000;
        }

        /* THE ARROW ANIMATION */
        .oc-arrow {
            font-size: 10px;
            transition: transform 0.2s ease;
        }

        .oc-group-header.collapsed .oc-arrow {
            transform: rotate(-90deg);
            /* Rotates when closed */
        }

        .oc-group-header.collapsed {
            border-bottom: 1px solid transparent;
            /* Cleaner look when closed */
        }

        /* --- 5. NEW: SHARP / PROFESSIONAL STATS & MAIL CENTER --- */
        .olami-stats-wrap {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            color: #1d1d1f;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .os-grid-4 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
            position: relative;
            z-index: 2;
        }

        .os-grid-2 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }

        /* THE SAFETY SPACER (Fixes the "Slipping" Issue) */
        .os-spacer {
            display: block;
            width: 100%;
            height: 40px;
            clear: both;
        }

        /* SHARP CARD */
        .os-card {
            background: #fff;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            padding: 20px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
            transition: border-color 0.2s;
            position: relative;
        }

        .os-card:hover {
            border-color: #000;
        }

        .os-card h3 {
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            color: #6b7280;
            margin: 0 0 15px 0;
            border-bottom: 1px solid #f3f4f6;
            padding-bottom: 10px;
        }

        /* CLEAN KPI */
        .os-kpi {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .os-icon {
            font-size: 20px;
            width: 40px;
            height: 40px;
            background: #f3f4f6;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #111;
            flex-shrink: 0;
        }

        .os-num {
            font-size: 24px;
            font-weight: 800;
            color: #111;
            line-height: 1.1;
        }

        .os-label {
            font-size: 11px;
            color: #6b7280;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* CLEAN TABLE */
        .os-clean-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13px;
        }

        .os-clean-table th {
            text-align: left;
            color: #6b7280;
            font-weight: 600;
            padding: 12px 15px;
            border-bottom: 1px solid #e5e7eb;
            background: #f9fafb;
            font-size: 11px;
            text-transform: uppercase;
        }

        .os-clean-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #f3f4f6;
            color: #1f2937;
            vertical-align: middle;
        }

        .os-clean-table tr:last-child td {
            border-bottom: none;
        }

        .os-user-cell {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .os-user-cell img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #eee;
        }

        .os-chart-container {
            position: relative;
            height: 220px;
            width: 100%;
        }

        /* CLICKABLE DIVS & BUTTONS */
        .os-cat-card {
            display: flex !important;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            height: auto;
            min-height: 100px;
            text-decoration: none !important;
            color: inherit !important;
            border-bottom: 1px solid #d1d5db !important;
        }

        .os-cat-card.active {
            background-color: #f0fdf4 !important;
            border-color: #16a34a !important;
        }

        .os-div-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 8px 16px;
            background-color: #111;
            color: #fff !important;
            font-size: 13px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: opacity 0.2s;
            user-select: none;
            text-decoration: none !important;
        }

        .os-div-btn:hover {
            opacity: 0.8;
            color: #fff;
        }

        /* STATUS BADGES */
        .os-badge {
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            display: inline-block;
        }

        .os-badge.green {
            background: #dcfce7;
            color: #166534;
        }

        .os-badge.gray {
            background: #f3f4f6;
            color: #4b5563;
        }

        /* =========================================
           NEW ANIMATED DASHBOARD STYLES
           ========================================= */

        .od-animated {
            animation: fadeInUp 0.6s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .od-stagger {
            opacity: 0;
            animation: fadeInUp 0.5s ease-out forwards;
        }

        /* Hero Section - 3 Column on Desktop */
        .od-hero-section {
            display: grid;
            grid-template-columns: 1.2fr 1fr 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }

        /* Wallet Hero Card */
        .od-wallet-hero {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
            border-radius: 20px;
            padding: 25px;
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid #b8860b;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        }

        .od-wallet-glow {
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(184, 134, 11, 0.15) 0%, transparent 50%);
            animation: glowPulse 4s ease-in-out infinite;
        }

        @keyframes glowPulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 0.5;
            }

            50% {
                transform: scale(1.1);
                opacity: 1;
            }
        }

        .od-wallet-content {
            position: relative;
            z-index: 1;
        }

        .od-wallet-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .od-wallet-greeting {
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            font-weight: 500;
        }

        .od-milestone-badge {
            background: linear-gradient(135deg, #b8860b, #daa520);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            padding: 5px 12px;
            border-radius: 20px;
            animation: badgePulse 2s ease-in-out infinite;
        }

        @keyframes badgePulse {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.4);
            }

            50% {
                box-shadow: 0 0 0 8px rgba(184, 134, 11, 0);
            }
        }

        .od-wallet-main {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .od-wallet-balance {
            text-align: left;
        }

        .od-balance-num {
            font-size: 52px;
            font-weight: 800;
            color: #fff;
            line-height: 1;
            text-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
        }

        .od-balance-label {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: rgba(255, 255, 255, 0.4);
            margin-top: 5px;
        }

        .od-streak-bar {
            margin-top: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 30px;
            padding: 8px 15px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .od-streak-fire {
            font-size: 18px;
            animation: fireWiggle 0.5s ease-in-out infinite;
        }

        @keyframes fireWiggle {

            0%,
            100% {
                transform: rotate(-5deg);
            }

            50% {
                transform: rotate(5deg);
            }
        }

        .od-streak-text {
            color: #fbbf24;
            font-size: 13px;
            font-weight: 700;
        }

        /* Stats Hero */
        .od-stats-hero {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .od-stat-card {
            background: #fff;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            border: 1px solid #f0f0f0;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .od-stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .od-stat-main {
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .od-stat-icon {
            font-size: 24px;
            margin-bottom: 5px;
        }

        .od-stat-number {
            font-size: 42px;
            font-weight: 800;
            color: #1a1a1a;
            line-height: 1;
        }

        .od-stat-label {
            font-size: 12px;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 5px;
        }

        .od-stat-bar {
            height: 6px;
            background: #f0f0f0;
            border-radius: 3px;
            margin-top: 15px;
            overflow: hidden;
        }

        .od-stat-bar-fill {
            height: 100%;
            width: 0;
            background: linear-gradient(90deg, var(--primary-color), #ff6b6b);
            border-radius: 3px;
            transition: width 1.5s ease-out;
        }

        .od-stat-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .od-stat-mini {
            background: #fff;
            border-radius: 12px;
            padding: 12px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
            border: 1px solid #f5f5f5;
            transition: all 0.3s;
        }

        .od-stat-mini:hover {
            transform: scale(1.05);
            border-color: var(--primary-color);
        }

        .od-mini-icon {
            font-size: 20px;
            display: block;
            margin-bottom: 5px;
        }

        .od-mini-num {
            font-size: 18px;
            font-weight: 800;
            color: #1a1a1a;
            display: block;
        }

        .od-mini-label {
            font-size: 9px;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: block;
            margin-top: 2px;
        }

        .od-empty-stat {
            grid-column: span 2;
            padding: 20px;
        }

        .od-empty-stat .od-mini-label {
            font-size: 11px;
            margin-top: 8px;
        }

        /* Activity Hero */
        .od-activity-hero {
            background: #fff;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            border: 1px solid #f0f0f0;
            display: flex;
            flex-direction: column;
        }

        .od-activity-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            font-weight: 700;
            color: #1a1a1a;
        }

        .od-see-all {
            font-size: 12px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
        }

        .od-activity-scroll {
            flex: 1;
            overflow-y: auto;
            max-height: 220px;
        }

        .od-activity-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid #f5f5f5;
            transition: background 0.2s;
        }

        .od-activity-item:hover {
            background: #fafafa;
            margin: 0 -10px;
            padding: 10px;
            border-radius: 8px;
        }

        .od-activity-item:last-child {
            border-bottom: none;
        }

        .od-activity-dot {
            width: 8px;
            height: 8px;
            background: var(--primary-color);
            border-radius: 50%;
            flex-shrink: 0;
            animation: dotPulse 2s infinite;
        }

        @keyframes dotPulse {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.5;
                transform: scale(0.8);
            }
        }

        .od-activity-info {
            flex: 1;
            min-width: 0;
        }

        .od-activity-title {
            font-size: 13px;
            font-weight: 600;
            color: #1a1a1a;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .od-activity-date {
            font-size: 11px;
            color: #999;
        }

        .od-activity-coins {
            background: linear-gradient(135deg, #b8860b, #daa520);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 12px;
            flex-shrink: 0;
        }

        .od-activity-empty {
            text-align: center;
            padding: 30px 20px;
            color: #999;
        }

        .od-empty-icon {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .od-empty-cta {
            display: inline-block;
            margin-top: 10px;
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
        }

        /* Empty Tickets State */
        .od-empty-tickets {
            text-align: center;
            padding: 40px 20px;
            background: #fafafa;
            border-radius: 16px;
            border: 2px dashed #e0e0e0;
        }

        .od-empty-tickets-icon {
            font-size: 40px;
            margin-bottom: 10px;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        .od-empty-tickets-text {
            color: #888;
            margin-bottom: 15px;
        }

        .od-empty-tickets-btn {
            display: inline-block;
            background: var(--primary-color);
            color: #fff;
            padding: 12px 24px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .od-empty-tickets-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(226, 27, 77, 0.3);
        }

        /* Keep the golden coin animation */
        .od-coin-container {
            width: 70px;
            height: 70px;
            perspective: 1000px;
            cursor: pointer;
            flex-shrink: 0;
        }

        .od-coin-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.8s;
            transform-style: preserve-3d;
            animation: spinCoin 5s infinite linear;
        }

        .od-wallet-hero:hover .od-coin-inner {
            animation-play-state: paused;
        }

        @keyframes spinCoin {
            0% {
                transform: rotateY(0deg);
            }

            100% {
                transform: rotateY(360deg);
            }
        }

        .od-coin-front,
        .od-coin-back {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            border-radius: 50%;
            background-size: cover;
            background-position: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .od-coin-front {
            background-image: url('https://olamiherzliya.org/wp-content/uploads/2026/01/Adobe-Express-file-3.png');
        }

        .od-coin-back {
            background-image: url('https://olamiherzliya.org/wp-content/uploads/2026/01/Adobe-Express-file-1.png');
            transform: rotateY(180deg);
        }

        /* MOBILE RESPONSIVE */
        @media (max-width: 900px) {
            .od-hero-section {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .od-wallet-hero {
                padding: 20px;
            }

            .od-balance-num {
                font-size: 42px;
            }

            .od-coin-container {
                width: 55px;
                height: 55px;
            }

            .od-stats-hero {
                order: 2;
            }

            .od-activity-hero {
                order: 3;
            }

            .od-stat-main {
                padding: 15px;
            }

            .od-stat-number {
                font-size: 32px;
            }

            .od-activity-scroll {
                max-height: 150px;
            }
        }

        /* MOBILE FIXES */
        @media (max-width: 600px) {
            .olami-checkin-wrap {
                padding: 0 !important
            }

            .oc-toolbar {
                flex-direction: column;
                align-items: stretch;
            }

            .oc-stats {
                justify-content: space-between;
            }

            .wp-list-table thead {
                display: none;
            }

            .wp-list-table tr {
                display: flex;
                align-items: center;
                padding: 12px;
                border-bottom: 1px solid #ddd;
                background: #fff;
                margin-bottom: 5px;
            }

            .wp-list-table td {
                display: block;
                padding: 0 !important;
                border: none !important;
            }

            .column-actions {
                display: none !important;
            }

            .olami-ticket-wrapper {
                width: 90vw;
            }

            .op-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .os-grid-4 {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }

            .os-clean-table th:nth-child(3),
            .os-clean-table td:nth-child(3) {
                display: none;
            }

            /* --- DASHBOARD MOBILE OPTIMIZATIONS --- */
            /* 1. Global Box Sizing & Constraints */
            .od-wrapper,
            .od-hero-section,
            .od-wallet-column,
            .od-stats-hero,
            .od-activity-hero {
                max-width: 100vw !important;
                width: 100% !important;
                box-sizing: border-box !important;
                overflow-x: hidden !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
            }

            .od-wrapper * {
                box-sizing: border-box !important;
            }

            /* 2. Wallet Card Padding Reduction */
            .od-wallet-hero {
                padding: 15px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .od-activity-hero {
                padding: 15px !important;
            }

            .od-activity-scroll {
                overflow-x: hidden;
            }

            .od-activity-item {
                gap: 8px;
            }

            .od-activity-title {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                font-size: 13px;
                /* Ensure readability */
                min-width: 0;
                flex: 1;
                /* Force flex shrinking */
            }

            /* Fix button grid gap on small screens */
            .ob-actions {
                gap: 10px !important;
            }

            /* Reduce font size slightly for balances if needed */
            .ob-card-balance {
                font-size: 32px;
            }

            /* --- MIGRATED BANK STYLES (MOBILE) --- */
            .ob-dash {
                padding: 10px !important;
                margin-top: 0 !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .ob-card {
                padding: 20px !important;
                border-radius: 16px !important;
                margin-bottom: 20px !important;
            }

            .ob-actions {
                gap: 10px !important;
            }

            .ob-btn {
                padding: 12px !important;
                font-size: 13px !important;
            }
        }

        /* --- GLOBAL BANK STYLES (MIGRATED & FORCED) --- */
        /* These were previously hidden in bank-frontend.php, causing missing styles on main dashboard */
        .ob-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 30px;
        }

        .ob-btn {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 0, 0, 0.05);
            padding: 16px;
            border-radius: 16px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
            font-weight: 600;
            color: #1d1d1f;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            font-size: 14px;
        }

        .ob-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            background: #fff;
        }

        .ob-btn:active {
            transform: scale(0.98);
        }

        .ob-btn-primary {
            background: #007aff;
            color: #fff;
            border: none;
            box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
        }

        .ob-btn-primary:hover {
            background: #006ce6;
            box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
        }

        /* FRONTEND MANAGER OVERRIDES (Section 20) */
        /* ... existing styles ... */
        .olami-app {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background: #f9fafb;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            border: 1px solid #e5e7eb;
            margin: 20px 0;
        }

        .oma-header {
            background: #fff;
            padding: 15px 25px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #f0f0f0;
        }

        .oma-logo {
            font-weight: 800;
            font-size: 16px;
            color: #111;
            letter-spacing: -0.5px;
        }

        .oma-badge {
            background: #f3f4f6;
            color: #6b7280;
            font-size: 10px;
            font-weight: 700;
            padding: 4px 8px;
            border-radius: 6px;
            margin-left: 8px;
            text-transform: uppercase;
        }

        .oma-avatar {
            border-radius: 50%;
        }

        .oma-nav {
            background: #fff;
            display: flex;
            align-items: center;
            padding: 0 25px;
            gap: 25px;
            border-bottom: 1px solid #e5e5ea;
            overflow: visible;
            flex-wrap: nowrap;
        }

        .oma-link {
            padding: 15px 0;
            text-decoration: none;
            color: #6b7280;
            font-size: 13px;
            font-weight: 600;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .oma-link.active {
            color: #111;
            border-bottom-color: #111;
        }

        .oma-link.action {
            margin-left: auto;
            color: var(--secondary-color);
        }

        /* More Dropdown - Theme Resistant */
        .oma-more-wrap {
            position: relative;
            display: inline-flex;
            align-items: center;
        }

        .oma-more-btn {
            padding: 15px 0;
            color: #6b7280;
            font-size: 13px;
            font-weight: 600;
            border: none !important;
            background: transparent !important;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-family: inherit;
            outline: none !important;
            box-shadow: none !important;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .oma-more-btn:hover,
        .oma-more-btn.open {
            color: #111;
        }

        .oma-more-btn.active {
            color: #111;
            border-bottom-color: #111;
        }

        .oma-arrow {
            font-size: 10px;
            transition: transform 0.2s;
        }

        .oma-more-btn.open .oma-arrow {
            transform: rotate(180deg);
        }

        .oma-more-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: #fff !important;
            border: 1px solid #e5e5ea !important;
            border-radius: 10px !important;
            box-shadow: 0 10px 40px rgba(0,0,0,0.12) !important;
            min-width: 180px;
            padding: 8px 0 !important;
            z-index: 99999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.2s;
            margin-top: 0;
        }

        .oma-more-menu.open {
            opacity: 1;
            visibility: visible;
        }

        .oma-more-item {
            display: block !important;
            padding: 10px 18px !important;
            color: #6b7280 !important;
            text-decoration: none !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            transition: all 0.15s !important;
            background: transparent !important;
            border: none !important;
        }

        .oma-more-item:hover {
            background: #f3f4f6 !important;
            color: #111 !important;
        }

        .oma-more-item.active {
            background: #f3f4f6 !important;
            color: #111 !important;
        }

        .oma-canvas {
            padding: 25px;
            min-height: 600px;
            background: #f9fafb;
        }

        .oma-shell {
            background: transparent;
        }

        /* SLEEK INPUTS FOR MANAGER */
        .olami-app select,
        .olami-app input[type="text"],
        .olami-app input[type="date"],
        .olami-app input[type="email"] {
            height: 40px !important;
            padding: 0 12px !important;
            font-size: 13px !important;
            border: 1px solid #d1d5db !important;
            border-radius: 6px !important;
            background-color: #fff !important;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
            color: #111 !important;
            width: 100%;
        }

        .olami-app select:focus,
        .olami-app input:focus {
            border-color: #000 !important;
            outline: none;
        }

        .olami-app button,
        .olami-app .button-primary {
            height: 40px !important;
            padding: 0 20px !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            border-radius: 6px !important;
            border: none !important;
            cursor: pointer;
            background: #111 !important;
            color: #fff !important;
            line-height: 40px !important;
        }

        .olami-app .button-secondary {
            background: #fff !important;
            color: #111 !important;
            border: 1px solid #d1d5db !important;
        }

        @media (max-width: 450px) {
            .olami-hide-mobile {
                display: none !important;
            }
        }

        #olami-install-banner {
            display: none;
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            z-index: 999999;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            border: 1px solid rgba(0, 0, 0, 0.05);
            animation: slideUp 0.5s ease-out forwards;
        }

        @keyframes slideUp {
            from {
                transform: translateY(100px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .oib-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .oib-logo {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            margin-right: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .oib-title {
            font-size: 16px;
            font-weight: 700;
            color: #000;
            margin: 0;
            line-height: 1.2;
        }

        .oib-desc {
            font-size: 13px;
            color: #666;
            margin-top: 3px;
        }

        .oib-instructions {
            font-size: 14px;
            color: #333;
            background: #f2f2f7;
            padding: 12px;
            border-radius: 8px;
            line-height: 1.4;
        }

        .oib-icon {
            display: inline-block;
            vertical-align: middle;
            font-size: 18px;
            margin: 0 2px;
            color: #007aff;
        }

        .oib-actions {
            margin-top: 15px;
            display: flex;
            gap: 10px;
        }

        .oib-btn {
            flex: 1;
            padding: 12px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            text-align: center;
            border: none;
            cursor: pointer;
        }

        .oib-btn-close {
            background: #eee;
            color: #888;
        }

        @media all and (display-mode: standalone) {
            #olami-install-banner {
                display: none !important;
            }
        }


        .tablenav.top {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .olami-stats-wrap {
            font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
            color: #1d1d1f;
        }

        .os-grid-4 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 20px;
            margin-bottom: 25px;
        }

        .os-grid-2 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 20px;
            margin-bottom: 25px;
        }

        .os-card {
            background: #fff;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(0, 0, 0, 0.05);
            transition: transform 0.2s;
        }

        .os-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
        }

        .os-card h3 {
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #86868b;
            margin: 0 0 15px 0;
            border-bottom: 1px solid #f5f5f7;
            padding-bottom: 10px;
        }

        .os-kpi {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 20px;
        }

        .os-icon {
            font-size: 20px;
            width: 44px;
            height: 44px;
            background: #f5f5f7;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .os-num {
            font-size: 24px;
            font-weight: 700;
            color: #1d1d1f;
            display: block;
            line-height: 1.1;
        }

        .os-label {
            font-size: 11px;
            color: #86868b;
            font-weight: 500;
        }

        .os-clean-table {
            width: 100%;
            border-collapse: collapse;
        }

        .os-clean-table th {
            text-align: left;
            font-size: 10px;
            text-transform: uppercase;
            color: #86868b;
            padding: 8px 0;
            font-weight: 600;
            border-bottom: 1px solid #f0f0f0;
        }

        .os-clean-table td {
            padding: 12px 0;
            border-bottom: 1px solid #f9f9f9;
            font-size: 13px;
            color: #1d1d1f;
            vertical-align: middle;
        }

        .os-clean-table tr:last-child td {
            border-bottom: none;
        }

        .os-user-cell {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .os-user-cell img {
            border-radius: 50%;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .os-chart-container {
            position: relative;
            height: 220px;
            width: 100%;
        }


        /* --- HIGH END RESET --- */
        .olami-app {
            font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background: #f5f5f7;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
            margin: 20px 0;
            border: 1px solid #d2d2d7;
        }

        /* HEADER */
        .oma-header {
            background: #fff;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #f0f0f0;
        }

        .oma-logo {
            font-weight: 700;
            font-size: 15px;
            color: #1d1d1f;
            letter-spacing: -0.3px;
        }

        .oma-badge {
            background: #f5f5f7;
            color: #86868b;
            font-size: 10px;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 6px;
            margin-left: 8px;
            text-transform: uppercase;
        }

        .oma-avatar {
            border-radius: 50%;
        }

        /* NAV */
        .oma-nav {
            background: #fff;
            display: flex;
            padding: 0 20px;
            gap: 20px;
            border-bottom: 1px solid #e5e5ea;
            overflow: visible;
            flex-wrap: nowrap;
        }

        .oma-link {
            padding: 14px 0;
            text-decoration: none;
            color: #86868b;
            font-size: 13px;
            font-weight: 500;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .oma-link.active {
            color: #1d1d1f;
            border-bottom-color: #1d1d1f;
            font-weight: 600;
        }

        .oma-link.action {
            margin-left: auto;
            color: var(--secondary-color);
            font-weight: 600;
        }

        /* MAIN CONTENT SHELL */
        .oma-canvas {
            padding: 24px;
            min-height: 600px;
            background: #f5f5f7;
        }

        .oma-shell {
            background: transparent;
        }

        /* --- GLOBAL OVERRIDES FOR "SLEEKNESS" --- */

        /* 1. INPUTS & SELECTS - Sleek, defined height */
        .olami-app select,
        .olami-app input[type="text"],
        .olami-app input[type="date"],
        .olami-app input[type="email"] {
            height: 40px !important;
            padding: 0 12px !important;
            font-size: 13px !important;
            border: 1px solid #d2d2d7 !important;
            border-radius: 8px !important;
            background-color: #fff !important;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
            color: #1d1d1f !important;
            appearance: none;
            -webkit-appearance: none;
            width: 100%;
        }

        .olami-app select:focus,
        .olami-app input:focus {
            border-color: var(--secondary-color) !important;
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1) !important;
        }

        /* 2. BUTTONS - No Bricks! */
        .olami-app button,
        .olami-app .button,
        .olami-app .button-primary {
            height: 40px !important;
            padding: 0 20px !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            border-radius: 8px !important;
            border: none !important;
            cursor: pointer;
            transition: all 0.2s ease !important;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
            background: #1d1d1f !important;
            /* Apple Black */
            color: #fff !important;
            line-height: 40px !important;
            margin-top: 0 !important;
        }

        .olami-app button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
        }

        .olami-app button:active {
            transform: scale(0.98);
        }

        .olami-app .button-secondary {
            background: #fff !important;
            color: #1d1d1f !important;
            border: 1px solid #d2d2d7 !important;
        }

        /* 3. TABLES - Apple Style */
        .olami-app table.wp-list-table {
            border: none !important;
            box-shadow: none !important;
            background: transparent !important;
            border-spacing: 0 8px !important;
            border-collapse: separate !important;
            /* Card style rows */
        }

        .olami-app table.wp-list-table thead th {
            border: none !important;
            font-size: 11px !important;
            text-transform: uppercase !important;
            color: #86868b !important;
            font-weight: 600 !important;
            padding: 0 16px 8px 16px !important;
        }

        .olami-app table.wp-list-table tbody tr {
            background: #fff !important;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
            transition: transform 0.2s;
            border-radius: 8px !important;
        }

        .olami-app table.wp-list-table tbody tr:hover {
            transform: scale(1.005);
        }

        .olami-app table.wp-list-table td {
            border: none !important;
            padding: 16px !important;
            vertical-align: middle !important;
            font-size: 13px !important;
            color: #1d1d1f !important;
        }

        .olami-app table.wp-list-table td:first-child {
            border-radius: 8px 0 0 8px !important;
        }

        .olami-app table.wp-list-table td:last-child {
            border-radius: 0 8px 8px 0 !important;
        }

        /* 4. TEXT & TITLES - Small & Sleek */
        .olami-app h2 {
            font-size: 18px !important;
            font-weight: 700 !important;
            letter-spacing: -0.5px !important;
            color: #1d1d1f !important;
            margin-bottom: 5px !important;
        }

        .olami-app label {
            font-size: 11px !important;
            font-weight: 600 !important;
            color: #86868b !important;
            text-transform: uppercase !important;
            margin-bottom: 6px !important;
            display: block;
        }

        /* 5. CHECK-IN SPECIFIC CLEANUP */
        .olami-checkin-wrap .oc-toolbar {
            background: transparent !important;
            border: none !important;
            padding: 0 !important;
            box-shadow: none !important;
        }

        .olami-checkin-wrap .oc-select-area {
            background: #fff;
            padding: 20px;
            border-radius: 12px;
            border: 1px solid #e5e5ea;
            margin-bottom: 20px;
        }

        .olami-checkin-wrap .nav-tab-wrapper {
            border-bottom: none !important;
            margin-bottom: 15px !important;
            padding-left: 0 !important;
        }

        .olami-checkin-wrap .nav-tab {
            background: transparent !important;
            border: none !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            color: #86868b !important;
            margin-right: 15px !important;
            padding: 0 !important;
        }

        .olami-checkin-wrap .nav-tab-active {
            color: #1d1d1f !important;
        }

        /* HIDE WP JUNK */
        .olami-checkin-wrap h1 {
            display: none !important;
        }

        .olami-checkin-wrap hr {
            display: none !important;
        }

        /* .tablenav.top { display: none !important; } */
        /* DISABLED to fix Master Roster */

        /* MOBILE OPTIMIZATIONS */
        @media (max-width: 600px) {
            .oma-canvas {
                padding: 6px !important;
            }
            
            .oma-shell {
                padding: 0 !important;
            }

            .olami-app table.wp-list-table tbody tr {
                display: flex;
                flex-direction: column;
                padding: 15px;
                height: auto !important;
            }

            .olami-app table.wp-list-table td {
                padding: 5px 0 !important;
                display: block;
                text-align: left !important;
            }

            .olami-app table.wp-list-table thead {
                display: none;
            }
        }

        /* Force override just in case the stylesheet loads late */
        .mobile-app-menu a.olami-active-tab {
            color: #c41551 !important;
            transform: translateY(-3px) !important;
            opacity: 1 !important;
        }

        /* Ensure SVG strokes inherit the red color */
        .mobile-app-menu a.olami-active-tab svg * {
            stroke: #c41551 !important;
        }

        #olami-shabbat-popup {
            position: fixed;
            bottom: 20px;
            left: 20px;
            z-index: 99999999;
            background: rgba(255, 255, 255, 0.20);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.4);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            padding: 8px 12px;
            border-radius: 50px;
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            animation: slideInBottom 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        .osp-icon {
            font-size: 25px;
            line-height: 1;
            margin-bottom: 2px;
        }

        .osp-info {
            display: flex;
            flex-direction: column;
            line-height: 1;
            justify-content: center;
        }

        .osp-label {
            font-size: 8px;
            text-transform: uppercase;
            font-weight: 800;
            color: #666;
            margin-bottom: 2px;
        }

        .osp-time {
            font-size: 16px;
            font-weight: 900;
            color: #000;
            line-height: 0.9;
        }

        @keyframes slideInBottom {
            from {
                transform: translateY(60px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @media (max-width: 600px) {
            #olami-shabbat-popup {
                bottom: 75px;
                left: 20px;
            }
        }

        /* =========================================
   OLAMI FRONTEND MANAGER (Apple Style UI)
   ========================================= */
        .olami-app {
            font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background: #f5f5f7;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
            margin: 20px 0;
            border: 1px solid #d2d2d7;
        }

        /* HEADER */
        .oma-header {
            background: #fff;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #f0f0f0;
        }

        .oma-logo {
            font-weight: 700;
            font-size: 15px;
            color: #1d1d1f;
            letter-spacing: -0.3px;
        }

        .oma-badge {
            background: #f5f5f7;
            color: #86868b;
            font-size: 10px;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 6px;
            margin-left: 8px;
            text-transform: uppercase;
        }

        .oma-avatar {
            border-radius: 50%;
        }

        /* NAV */
        .oma-nav {
            background: #fff;
            display: flex;
            padding: 0 20px;
            gap: 20px;
            border-bottom: 1px solid #e5e5ea;
            overflow: visible;
            flex-wrap: nowrap;
        }

        .oma-link {
            padding: 14px 0;
            text-decoration: none;
            color: #86868b;
            font-size: 13px;
            font-weight: 500;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .oma-link.active {
            color: #1d1d1f;
            border-bottom-color: #1d1d1f;
            font-weight: 600;
        }

        .oma-link.action {
            margin-left: auto;
            color: var(--secondary-color);
            font-weight: 600;
        }

        /* MAIN CONTENT SHELL */
        .oma-canvas {
            padding: 24px;
            min-height: 600px;
            background: #f5f5f7;
        }

        .oma-shell {
            background: transparent;
        }

        /* GLOBAL OVERRIDES FOR MANAGER UI */
        .olami-app select,
        .olami-app input[type="text"],
        .olami-app input[type="date"],
        .olami-app input[type="email"] {
            height: 40px !important;
            padding: 0 12px !important;
            font-size: 13px !important;
            border: 1px solid #d2d2d7 !important;
            border-radius: 8px !important;
            background-color: #fff !important;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
            color: #1d1d1f !important;
            appearance: none;
            -webkit-appearance: none;
            width: 100%;
        }

        .olami-app select:focus,
        .olami-app input:focus {
            border-color: var(--secondary-color) !important;
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1) !important;
        }

        .olami-app button,
        .olami-app .button,
        .olami-app .button-primary {
            height: 40px !important;
            padding: 0 20px !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            border-radius: 8px !important;
            border: none !important;
            cursor: pointer;
            transition: all 0.2s ease !important;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
            background: #1d1d1f !important;
            color: #fff !important;
            line-height: 40px !important;
            margin-top: 0 !important;
        }

        .olami-app button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
        }

        .olami-app button:active {
            transform: scale(0.98);
        }

        .olami-app .button-secondary {
            background: #fff !important;
            color: #1d1d1f !important;
            border: 1px solid #d2d2d7 !important;
        }

        /* TABLES - Apple Style */
        .olami-app table.wp-list-table {
            border: none !important;
            box-shadow: none !important;
            background: transparent !important;
            border-spacing: 0 8px !important;
            border-collapse: separate !important;
        }

        .olami-app table.wp-list-table thead th {
            border: none !important;
            font-size: 11px !important;
            text-transform: uppercase !important;
            color: #86868b !important;
            font-weight: 600 !important;
            padding: 0 16px 8px 16px !important;
        }

        .olami-app table.wp-list-table tbody tr {
            background: #fff !important;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
            transition: transform 0.2s;
            border-radius: 8px !important;
        }

        .olami-app table.wp-list-table tbody tr:hover {
            transform: scale(1.005);
        }

        .olami-app table.wp-list-table td {
            border: none !important;
            padding: 16px !important;
            vertical-align: middle !important;
            font-size: 13px !important;
            color: #1d1d1f !important;
        }

        .olami-app table.wp-list-table td:first-child {
            border-radius: 8px 0 0 8px !important;
        }

        .olami-app table.wp-list-table td:last-child {
            border-radius: 0 8px 8px 0 !important;
        }

        .olami-app h2 {
            font-size: 18px !important;
            font-weight: 700 !important;
            letter-spacing: -0.5px !important;
            color: #1d1d1f !important;
            margin-bottom: 5px !important;
        }

        .olami-app label {
            font-size: 11px !important;
            font-weight: 600 !important;
            color: #86868b !important;
            text-transform: uppercase !important;
            margin-bottom: 6px !important;
            display: block;
        }

        /* MOBILE OPTIMIZATIONS FOR MANAGER */
        @media (max-width: 600px) {
            .oma-canvas {
                padding: 15px;
            }

            .olami-app table.wp-list-table tbody tr {
                display: flex;
                flex-direction: column;
                padding: 15px;
                height: auto !important;
            }

            .olami-app table.wp-list-table td {
                padding: 5px 0 !important;
                display: block;
                text-align: left !important;
            }

            .olami-app table.wp-list-table thead {
                display: none;
            }

            .olami-hide-mobile {
                display: none !important;
            }
        }

        /* =========================================
   OLAMI STORE FRONTEND
   ========================================= */
        .olami-store-wrap {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            max-width: 800px;
            margin: 0 auto;
        }

        .os-header {
            background: #000;
            color: #fff;
            padding: 30px;
            border-radius: 12px;
            text-align: center;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .os-balance-label {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            opacity: 0.6;
            margin-bottom: 5px;
        }

        .os-balance-amount {
            font-size: 40px;
            font-weight: 800;
            color: #b8860b;
            text-shadow: 0 2px 10px rgba(184, 134, 11, 0.3);
        }

        .os-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }

        .os-item-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #eee;
            transition: transform 0.2s;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .os-item-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .os-item-card.is-disabled {
            opacity: 0.6;
            pointer-events: none;
        }

        .os-item-img {
            height: 180px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .os-badge-out {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            font-size: 10px;
            padding: 4px 8px;
            border-radius: 4px;
            font-weight: bold;
        }

        .os-item-body {
            padding: 15px;
            text-align: center;
        }

        .os-item-title {
            font-size: 15px;
            font-weight: 700;
            margin: 0 0 5px 0;
            color: #333;
        }

        .os-item-price {
            font-size: 13px;
            color: #b8860b;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .os-btn {
            width: 100%;
            padding: 10px;
            border-radius: 6px;
            border: none;
            font-weight: 700;
            font-size: 12px;
            cursor: pointer;
            text-transform: uppercase;
        }

        .buy-btn {
            background: #000;
            color: #fff;
        }

        .buy-btn:hover {
            background: #333;
        }

        .disabled {
            background: #f0f0f0;
            color: #aaa;
            cursor: default;
        }

        .os-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }

        .os-modal {
            background: #fff;
            padding: 25px;
            border-radius: 12px;
            width: 90%;
            max-width: 320px;
            text-align: center;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        }

        .os-modal h3 {
            margin-top: 0;
        }

        .os-modal-actions {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .os-btn-cancel {
            flex: 1;
            padding: 10px;
            background: #eee;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
        }

        .os-btn-confirm {
            flex: 1;
            padding: 10px;
            background: #000;
            color: #fff;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
        }

        /* =========================================
   SHABBAT CANDLE POPUP
   ========================================= */
        #olami-shabbat-popup {
            position: fixed;
            bottom: 20px;
            left: 20px;
            z-index: 99999999;
            background: rgba(255, 255, 255, 0.20);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.4);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            padding: 8px 12px;
            border-radius: 50px;
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            animation: slideInBottom 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            transform-origin: bottom left;
        }

        .osp-icon {
            font-size: 25px;
            line-height: 1;
            margin-bottom: 2px;
        }

        .osp-info {
            display: flex;
            flex-direction: column;
            line-height: 1;
            justify-content: center;
        }

        .osp-label {
            font-size: 8px;
            text-transform: uppercase;
            font-weight: 800;
            color: #666;
            margin-bottom: 2px;
        }

        .osp-time {
            font-size: 16px;
            font-weight: 900;
            color: #000;
            line-height: 0.9;
        }

        @keyframes slideInBottom {
            from {
                transform: translateY(60px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @media (max-width: 600px) {
            #olami-shabbat-popup {
                bottom: 75px;
                left: 20px;
            }
        }

        /* =========================================
   LOGIN BUTTON SHORTCODE
   ========================================= */
        .olb-wrapper {
            display: flex;
            justify-content: flex-end;
            width: 100%;
        }

        .olb-btn-login {
            text-decoration: none;
            background: #000;
            color: #fff;
            padding: 6px 18px;
            border-radius: 50px;
            font-weight: 800;
            font-size: 12px;
            display: inline-block;
            transition: all 0.2s;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .olb-user-link {
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .olb-avatar-wrap {
            position: relative;
            margin-right: 8px;
            width: 28px;
            height: 28px;
        }

        .olb-avatar-icon {
            background: #000;
            color: #fff;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        .olb-notify-dot {
            position: absolute;
            top: 0;
            right: 0;
            width: 8px;
            height: 8px;
            background: #ff3b30;
            border: 1px solid #fff;
            border-radius: 50%;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        }

        .olb-text-wrap {
            display: flex;
            flex-direction: column;
            justify-content: center;
            line-height: 1.1;
            text-align: left;
        }

        .olb-label-hi {
            font-size: 9px;
            color: #888;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .olb-label-name {
            font-size: 13px;
            font-weight: 800;
            color: #111;
        }

        /* =========================================
   1:1 MENTORING DASHBOARD STYLES
   ========================================= */
        .om-wrapper {
            max-width: 900px;
            margin: 0 auto;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            box-sizing: border-box;
            padding: 10px;
        }

        .om-greeting-box {
            margin-bottom: 25px;
            padding: 0 5px;
        }

        .om-greet-title {
            font-size: 28px;
            font-weight: 800;
            color: #1d1d1f;
            letter-spacing: -0.5px;
            margin-bottom: 5px;
        }

        .om-greet-sub {
            font-size: 15px;
            font-weight: 500;
        }

        /* Stats Bar */
        .om-pulse-bar {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
            background: #fff;
            padding: 25px 20px;
            border-radius: 20px;
            border: 1px solid #e5e5ea;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
        }

        .om-pulse-item {
            flex: 1;
            text-align: center;
        }

        .om-pulse-val {
            font-size: 36px;
            font-weight: 800;
            color: #1d1d1f;
            line-height: 1;
            margin-bottom: 8px;
        }

        .om-pulse-lbl {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            color: #86868b;
            letter-spacing: 0.5px;
        }

        /* Search Bar */
        .om-search-container {
            position: relative;
            margin-bottom: 30px;
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .om-search-input {
            flex-grow: 1;
            height: 50px !important;
            padding: 0 20px !important;
            font-size: 16px !important;
            border-radius: 14px !important;
            border: 1px solid #d2d2d7 !important;
            background-color: #fbfbfd !important;
            transition: all 0.2s;
            box-sizing: border-box;
        }

        .om-search-input:focus {
            background-color: #fff !important;
            box-shadow: 0 0 0 4px rgba(0, 125, 250, 0.1) !important;
            outline: none;
        }

        .om-btn-new {
            height: 50px !important;
            padding: 0 25px !important;
            border-radius: 14px !important;
            font-weight: 700 !important;
            font-size: 14px !important;
            flex-shrink: 0;
            background: #fff !important;
            color: #333 !important;
            border: 1px solid #d1d5db !important;
            cursor: pointer;
        }

        /* Search Dropdown */
        .om-search-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            border-radius: 12px;
            margin-top: 8px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            z-index: 100;
            max-height: 300px;
            overflow-y: auto;
            display: none;
            border: 1px solid #eee;
        }

        .om-result-row {
            padding: 15px;
            border-bottom: 1px solid #f5f5f7;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }

        .om-result-row:hover {
            background: #f9f9f9;
        }

        /* The Grid */
        .om-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 20px;
        }
        
        /* Mobile Search & Grid Styles */
        @media (max-width: 768px) {
            .om-search-container {
                flex-direction: column;
                gap: 12px;
            }
            
            .om-search-input {
                width: 100% !important;
                height: 46px !important;
                font-size: 16px !important;
            }
            
            .om-btn-new {
                width: 100% !important;
                height: 46px !important;
            }
            
            .om-search-dropdown {
                position: fixed;
                top: auto;
                bottom: 0;
                left: 0;
                right: 0;
                border-radius: 16px 16px 0 0;
                max-height: 60vh;
            }
            
            .om-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 12px;
            }
        }
        
        @media (max-width: 480px) {
            .om-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            
            .om-card {
                padding: 15px 10px;
                border-radius: 16px;
            }
            
            .om-avatar-container {
                width: 60px !important;
                height: 60px !important;
            }
        }

        /* The Card */
        .om-card {
            background: #fff;
            border-radius: 20px;
            padding: 20px 15px;
            text-align: center;
            position: relative;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
            border: 2px solid transparent;
            transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s;
        }

        .om-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            z-index: 10;
        }

        /* Status Colors */
        .om-card.status-green {
            border-color: #34c759;
        }

        .om-card.status-yellow {
            border-color: #ffcc00;
        }

        .om-card.status-red {
            border-color: #ff3b30;
            background: #fff5f5;
        }

        /* Avatar */
        .om-avatar-container {
            width: 72px !important;
            height: 72px !important;
            margin: 0 auto 12px auto !important;
            position: relative !important;
            border-radius: 50% !important;
            border: 3px solid #f5f5f7 !important;
            padding: 2px !important;
            cursor: pointer !important;
            background: #fff !important;
            box-sizing: content-box !important;
        }

        .om-avatar {
            width: 100% !important;
            height: 100% !important;
            border-radius: 50% !important;
            object-fit: cover !important;
            display: block !important;
            margin: 0 !important;
            padding: 0 !important;
            border: none !important;
            box-shadow: none !important;
            max-width: none !important;
            min-height: 100% !important;
        }

        .om-status-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            position: absolute;
            bottom: 2px;
            right: 2px;
            border: 2px solid #fff;
        }

        .om-card.status-green .om-status-dot {
            background: #34c759;
        }

        .om-card.status-yellow .om-status-dot {
            background: #ffcc00;
        }

        .om-card.status-red .om-status-dot {
            background: #ff3b30;
        }

        /* Text */
        .om-name {
            font-weight: 700;
            color: #1d1d1f;
            font-size: 15px;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .om-meta {
            font-size: 12px;
            color: #86868b;
            margin-bottom: 15px;
            font-weight: 500;
        }

        /* Button */
        .om-btn-log {
            width: 100%;
            padding: 12px;
            background: #1d1d1f;
            color: #fff;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
            min-height: 44px;
            transition: background 0.2s;
        }

        .om-btn-log:hover {
            background: #000;
        }

        /* Card Menu */
        .om-card-menu {
            position: absolute;
            top: 12px;
            right: 12px;
            cursor: pointer;
            color: #c7c7cc;
            padding: 5px;
            transition: 0.2s;
            font-size: 14px;
        }

        .om-card-menu:hover {
            color: #1d1d1f;
            transform: scale(1.1);
        }

        /* Modals */
        .om-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 99999;
            backdrop-filter: blur(5px);
            display: none;
            align-items: center;
            justify-content: center;
        }

        .om-modal {
            background: #fff;
            width: 90%;
            max-width: 450px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
            animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .om-modal-header {
            padding: 18px 25px;
            background: #f5f5f7;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #e5e5ea;
        }

        .om-modal-header h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 700;
            color: #1d1d1f;
        }

        .om-modal-close {
            font-size: 28px;
            cursor: pointer;
            color: #86868b;
            line-height: 0.8;
        }

        .om-modal-body {
            padding: 25px;
        }

        .om-input {
            width: 100%;
            padding: 12px;
            border: 1px solid #d2d2d7;
            border-radius: 10px;
            font-family: inherit;
            font-size: 14px;
            margin-bottom: 10px;
            box-sizing: border-box;
            background: #fbfbfd;
        }

        .om-hist-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            font-size: 13px;
        }

        @keyframes popIn {
            from {
                transform: scale(0.9);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .om-pop-in {
            animation: popIn 0.4s;
        }

        /* RECURRING FIRE BADGE */
        .om-fire-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            font-size: 18px;
            background: #fff0f0;
            border: 1px solid #ffcccc;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 20;
            box-shadow: 0 2px 5px rgba(255, 0, 0, 0.15);
            cursor: help;
            /* Shows the tooltip on hover */
            animation: pulseFire 2s infinite;
        }

        @keyframes pulseFire {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4);
            }

            70% {
                transform: scale(1.1);
                box-shadow: 0 0 0 6px rgba(255, 59, 48, 0);
            }

            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
            }
        }

        /* =========================================
   EMAIL CENTRAL TOUCH-UPS
   ========================================= */

        /* 1. More breathing room for the table rows */
        .olami-stats-wrap .os-clean-table th,
        .olami-stats-wrap .os-clean-table td {
            padding: 18px 25px !important;
            /* Increased from 12px 15px */
        }

        /* 2. Style the Pagination (Bottom Buttons) */
        /* This targets the standard WP pagination and makes it look like your custom buttons */
        .olami-stats-wrap .page-numbers {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 36px;
            padding: 0 14px;
            margin: 0 4px;
            background: #fff;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            color: #6b7280;
            text-decoration: none;
            font-weight: 600;
            font-size: 13px;
            transition: all 0.2s ease;
            line-height: 1;
        }

        /* Hover State */
        .olami-stats-wrap .page-numbers:hover:not(.current) {
            background: #f9fafb;
            border-color: #9ca3af;
            color: #111;
            transform: translateY(-1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        /* Active State (Current Page) */
        .olami-stats-wrap .page-numbers.current {
            background: #111;
            color: #fff;
            border-color: #111;
            cursor: default;
        }

        /* 3. Style the "View Body" Link inside the table */
        /* Note: You might need to add class='view-body-link' to the PHP anchor tag for this to work perfectly, 
   but this targets the <a> inside the subject cell generally if not */
        .os-clean-table a[onclick*="alert"] {
            display: inline-block;
            font-size: 10px;
            font-weight: 700;
            color: var(--secondary-color) !important;
            background: #eef7ff;
            padding: 3px 8px;
            border-radius: 6px;
            text-decoration: none;
            margin-left: 8px;
            transition: background 0.2s;
            text-transform: uppercase;
        }

        .os-clean-table a[onclick*="alert"]:hover {
            background: #dceeff;
        }

        /* =================================================================
   NEW: SLICK DARK BOARDING PASS FIELDS
   ================================================================= */

        /* 1. Base Style: Dark, Glassy, White Text */
        .obp-clean-input,
        .obp-clean-select {
            appearance: none !important;
            -webkit-appearance: none !important;
            background: rgba(0, 0, 0, 0.25) !important;
            /* Dark Glass */
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
            /* Subtle border */
            border-radius: 8px !important;
            padding: 10px 12px !important;
            font-size: 14px !important;
            color: #fff !important;
            /* White Text */
            width: 100% !important;
            box-shadow: none !important;
            outline: none !important;
            min-height: 42px !important;
            margin-top: 5px !important;
            backdrop-filter: blur(4px);
            /* Blur effect */
            -webkit-backdrop-filter: blur(4px);
            transition: all 0.2s ease;
        }

        /* 2. Placeholder Text (Lighter White) */
        .obp-clean-input::placeholder {
            color: rgba(255, 255, 255, 0.6) !important;
            font-weight: 500;
        }

        /* 3. Focus State (Glow) */
        .obp-clean-input:focus,
        .obp-clean-select:focus {
            background: rgba(0, 0, 0, 0.4) !important;
            border-color: #fff !important;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important;
        }

        /* 4. White Dropdown Arrow */
        .obp-clean-select {
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
            background-repeat: no-repeat !important;
            background-position: right 12px center !important;
            background-size: 16px !important;
            padding-right: 35px !important;
        }

        /* 5. Fix Dropdown Options (Must be dark solid color to be readable) */
        .obp-clean-select option {
            background-color: #333 !important;
            color: #fff !important;
        }

        /* Custom Greeting Styles */
        .olami-greeting {
            font-weight: 600 !important;
            /* Makes it less bold (was 700) */
            font-size: 14px !important;
            /* Makes it smaller */
            letter-spacing: -0.1px;
            /* Tighter character spacing */
            line-height: 1.0;
            /* Tighter line spacing */
            color: #333;
            /* Optional: Dark Grey instead of black */
            display: inline-block;
        }

        /* =========================================
   FLOATING ADMIN GEAR (FORCE POSITION)
   ========================================= */
        .olami-smart-gear {
            position: fixed !important;
            bottom: 20px !important;
            right: 20px !important;
            left: auto !important;
            /* Forces it away from the left */
            z-index: 999999 !important;
            background: rgba(255, 255, 255, 0.20);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px) !important;
            border: 1px solid rgba(255, 255, 255, 0.4);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
            color: #fff !important;
            width: 50px !important;
            height: 50px !important;
            border-radius: 50% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            text-decoration: none !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
            transition: transform 0.2s ease !important;
            font-size: 24px !important;
            border: 2px solid #fff !important;
        }

        .olami-smart-gear:hover {
            transform: scale(1.1) rotate(90deg) !important;
        }

        /* MOBILE OVERRIDE */
        @media (max-width: 600px) {
            .olami-smart-gear {
                bottom: 75px !important;
                right: 15px !important;
                left: auto !important;
            }
        }

        /* Ensure the container handles scrolling correctly */
        #olami_feed_container {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            /* Native smooth scroll support */
            position: relative;
            /* Important for calculations */
            white-space: nowrap;
            flex-wrap: nowrap;
            /* Smooth scroll on iOS */
            padding-bottom: 20px;
            /* Space for scrollbar if visible */
            width: 100%;
        }

        /* =================================================================
   OLAMI LIVE PULSE (Refined Layout)
   ================================================================= */
        .integrated-feed {
            margin: 0 !important;
            max-width: 100% !important;
            border-radius: 12px;
            box-shadow: none !important;
            border: 1px solid #e5e5ea;
        }

        .olami-feed-app-shell {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        .ofa-header {
            padding: 15px 20px;
            background: #fbfbfd;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .ofa-header h3 {
            margin: 0;
            font-size: 16px;
            font-weight: 700;
            color: #111;
        }

        .ofa-refresh {
            cursor: pointer;
            font-size: 18px;
            color: var(--secondary-color);
            margin-left: 10px;
        }

        .olami-feed-wrapper {
            padding: 0;
            background: #fff;
        }

        .ofa-date-group {
            padding: 10px 20px;
            font-size: 11px;
            font-weight: 700;
            color: #86868b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background: #f5f5f7;
            border-bottom: 1px solid #eee;
        }

        /* WIDER CARD + RIGHT ALIGNED BUTTONS */
        .ofa-item {
            display: flex;
            align-items: center;
            /* Center vertically */
            padding: 15px 20px;
            border-bottom: 1px solid #f0f0f0;
            transition: background 0.2s;
        }

        .ofa-item:hover {
            background: #fafafa;
        }

        .ofa-icon-wrapper {
            position: relative;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .ofa-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
        }

        .ofa-type-badge {
            position: absolute;
            bottom: -2px;
            right: -4px;
            width: 20px;
            height: 20px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .ofa-content {
            flex-grow: 1;
            min-width: 0;
        }

        .ofa-top-line {
            font-size: 14px;
            margin-bottom: 2px;
        }

        .ofa-name {
            font-weight: 600;
            color: #1d1d1f;
        }

        .ofa-time {
            font-size: 11px;
            color: #86868b;
            margin-left: 8px;
        }

        .ofa-meta {
            font-size: 13px;
            color: #1d1d1f;
            display: block;
            font-weight: 500;
        }

        .ofa-details {
            font-size: 12px;
            color: #86868b;
        }

        /* OVERRIDE THEME BUTTONS (Fixes Black Buttons) */
        .ofa-actions-inline {
            margin-left: 15px;
            display: flex;
            gap: 8px;
            flex-shrink: 0;
        }

        button.ofa-btn {
            appearance: none;
            -webkit-appearance: none;
            padding: 0;
            width: 34px;
            height: 34px;
            border-radius: 50% !important;
            /* Circle */
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            border: none !important;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s !important;
            line-height: 1;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        button.ofa-btn-approve {
            background-color: #34c759 !important;
            color: #fff !important;
        }

        button.ofa-btn-reject {
            background-color: #ff3b30 !important;
            color: #fff !important;
        }

        button.ofa-btn:hover {
            transform: scale(1.1);
            opacity: 0.9;
        }

        .ofa-birthday-strip div::-webkit-scrollbar {
            display: none;
            /* Hide scrollbar for a clean mobile look */
        }

        .ofa-birthday-strip div {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        /* ========================================
   INTERNATIONAL PHONE INPUT FIX
   ======================================== */
        .iti {
            width: 100% !important;
            display: block !important;
        }

        .um-field .iti {
            width: 100% !important;
        }

        .um-field .iti input,
        .um-field .iti input[type="tel"],
        input[data-key="whatsapp"] {
            padding-left: 100px !important;
            box-sizing: border-box !important;
        }

        .iti--separate-dial-code .iti__selected-flag {
            background: rgba(255, 255, 255, 0.9) !important;
        }

        input[data-key="whatsapp"] {
            padding-left: 100px !important;
        }

        /* =================================================================
   STUDENT DB UPGRADE (Sorting & Inline Edit)
   ================================================================= */

        /* 1. Sortable Headers */
        th.sortable {
            cursor: pointer;
            position: relative;
            padding-right: 20px !important;
            /* Space for arrow */
        }

        th.sortable:hover {
            color: var(--primary-color);
            background: #f9f9f9;
        }

        th.sortable::after {
            content: 'â†•';
            position: absolute;
            right: 5px;
            opacity: 0.3;
            font-size: 12px;
        }

        th.sortable:hover::after {
            opacity: 1;
        }

        th.sortable.sorted-asc::after {
            content: 'â†‘';
            opacity: 1;
            color: var(--primary-color);
        }

        th.sortable.sorted-desc::after {
            content: 'â†“';
            opacity: 1;
            color: var(--primary-color);
        }

        /* 2. Editable Fields */
        .olami-editable {
            transition: background 0.3s ease;
            border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
            /* Subtle hint */
            padding-bottom: 1px;
        }

        .olami-editable:hover {
            background: #fff3cd;
            /* Highlight on hover */
            border-bottom: 1px dashed #999;
            color: #000;
        }

        /* 3. The Input/Select Field Itself */
        .olami-edit-input {
            width: 100%;
            box-sizing: border-box;
            border: 2px solid var(--secondary-color) !important;
            border-radius: 4px;
            padding: 4px 8px;
            font-size: 13px;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            outline: none;
        }

        /* 4. Tags & Badges */
        .os-tag {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            line-height: 1.5;
        }

        .os-tag-gray {
            background: #eee;
            color: #555;
        }

        .os-tag-green {
            background: #d4edda;
            color: #155724;
        }

        .os-tag-yellow {
            background: #fff3cd;
            color: #856404;
        }

        .os-tag-blue {
            background: #cce5ff;
            color: #004085;
        }

        .os-tag-olive {
            background: #556B2F;
            color: #fff;
        }

        /* 5. Mobile Tweaks */
        .olami-editable-mobile {
            border-bottom: 1px dashed #ccc;
        }

        .osc-info .olami-edit-input {
            margin-top: 5px;
            font-size: 16px;
            /* Larger text for mobile inputs */
        }

        /* 6. Success Animation */
        @keyframes flashGreen {
            0% {
                background-color: #d4edda;
            }

            100% {
                background-color: transparent;
            }
        }

        .flash-success {
            animation: flashGreen 1s ease-out;
        }

        /* Fix Search Result Buttons */
        .om-search-item button.button-small {
            padding: 4px 10px !important;
            font-size: 11px !important;
            line-height: 1.5 !important;
            height: auto !important;
            min-height: 28px !important;
            cursor: pointer;
        }

        /* Style the white 'Log' button */
        .om-search-item button[onclick*="quickLogOneOff"] {
            border: 1px solid var(--secondary-color) !important;
            color: var(--secondary-color) !important;
            background: #fff !important;
            margin-right: 8px;
            /* Space between buttons */
        }

        /* Ensure container allows buttons to sit side-by-side */
        .om-search-item>div:last-child {
            display: flex;
            align-items: center;
        }

        /* --- NEW MODAL LAYOUT (Mobile Optimized) --- */
        .om-layout-stack {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 15px;
        }

        /* 1. History Bar (Top) */
        .om-history-bar {
            background: #f0f0f5;
            color: #666;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            text-align: center;
            cursor: pointer;
            border: 1px solid #e1e1e8;
            transition: background 0.2s;
        }

        .om-history-bar:hover {
            background: #e1e1e8;
        }

        /* 2. Dropdown (Middle) */
        .om-full-dropdown {
            width: 100%;
            height: 44px;
            padding: 0 12px;
            border: 1px solid #d2d2d7;
            border-radius: 8px;
            background: #fff;
            font-size: 15px;
            color: #333;
            -webkit-appearance: none;
            /* Modern iOS look */
        }

        /* 3. Three Buttons Inline (Bottom) */
        .om-inline-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1.2fr;
            /* Date | Time | Save (Save is slightly wider) */
            gap: 8px;
            align-items: center;
        }

        /* Force inputs to match height and fit on one line */
        .om-inline-row input,
        .om-inline-row button {
            width: 100%;
            height: 44px;
            margin: 0 !important;
            padding: 0 5px !important;
            font-size: 13px !important;
            text-align: center;
            border-radius: 8px !important;
            box-sizing: border-box;
        }

        .om-inline-row button {
            background: #1d1d1f;
            color: white;
            font-weight: bold;
            border: none;
            cursor: pointer;
        }

        /* Mobile Tweak: Tighten gaps if screen is very small */
        @media (max-width: 380px) {
            .om-inline-row {
                gap: 4px;
            }

            .om-inline-row input {
                font-size: 11px !important;
            }
        }

        /* =================================================================
   1:1 MENTORING PAGE - HEADER CONTROLS
   ================================================================= */
        .om-header-controls {
            display: flex;
            flex-direction: column;
            gap: 8px;
            align-items: flex-end;
        }

        .om-history-dropdown {
            font-size: 12px;
            border-radius: 6px;
            height: 34px;
            padding: 0 10px;
            border: 1px solid #ccc;
            background: #fff;
            min-width: 120px;
        }

        .om-btn-row {
            display: flex;
            gap: 6px;
            flex-wrap: nowrap;
        }

        .om-action-btn {
            font-size: 11px !important;
            height: 34px !important;
            padding: 0 10px !important;
            white-space: nowrap;
            flex-shrink: 0;
            border-radius: 6px !important;
        }

        .om-btn-primary {
            background: var(--primary-color) !important;
            border-color: var(--primary-color) !important;
            color: #fff !important;
        }

        /* Mobile: Stack header controls and keep buttons in one row */
        @media (max-width: 768px) {
            .om-header-controls {
                width: 100%;
                align-items: stretch;
            }

            .om-history-dropdown {
                width: 100%;
                max-width: none;
            }

            .om-btn-row {
                width: 100%;
                justify-content: space-between;
            }

            .om-action-btn {
                flex: 1;
                font-size: 10px !important;
                padding: 0 6px !important;
                min-width: 0;
            }
        }

        /* =================================================================
   ARENA COMMAND CENTER STYLES
   ================================================================= */

        /* Main Wrapper */
        .arena-wrap {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background: #f5f5f7;
            min-height: 100vh;
            margin-left: -20px;
            padding: 0;
        }

        /* Header */
        .arena-header {
            background: #fff;
            padding: 20px 30px;
            border-bottom: 1px solid #e5e5ea;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .arena-brand {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .arena-logo {
            font-size: 36px;
        }

        .arena-titles h1 {
            margin: 0;
            font-size: 24px;
            font-weight: 700;
            color: #1d1d1f;
        }

        .arena-subtitle {
            font-size: 13px;
            color: #86868b;
        }

        /* Navigation */
        .arena-nav {
            background: #fff;
            display: flex;
            gap: 5px;
            padding: 0 20px;
            border-bottom: 1px solid #e5e5ea;
            overflow: visible;
        }

        .arena-nav-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 15px 20px;
            color: #86868b;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            border-bottom: 3px solid transparent;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .arena-nav-link:hover {
            color: #1d1d1f;
            background: #f5f5f7;
        }

        .arena-nav-link.active {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
        }

        .nav-icon {
            font-size: 18px;
        }

        /* Content Area */
        .arena-content {
            padding: 25px;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Stats Grid */
        .arena-stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .arena-stat-card {
            background: #fff;
            border-radius: 16px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
            border: 1px solid #e5e5ea;
        }

        .stat-icon {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .stat-value {
            font-size: 36px;
            font-weight: 800;
            color: #1d1d1f;
            line-height: 1;
        }

        .stat-label {
            font-size: 12px;
            color: #86868b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 8px;
        }

        /* Quick Actions */
        .arena-quick-actions {
            background: #fff;
            border-radius: 16px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
            border: 1px solid #e5e5ea;
        }

        .arena-quick-actions h3 {
            margin: 0 0 15px 0;
            font-size: 16px;
            font-weight: 700;
        }

        .quick-btn-row {
            display: flex;
            gap: 12px;
        }

        /* Buttons - with !important to override theme */
        .arena-btn,
        .arena-frontend .arena-btn,
        .arena-page .arena-btn,
        button.arena-btn {
            padding: 12px 24px !important;
            border-radius: 10px !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            border: 1px solid #d2d2d7 !important;
            background: #fff !important;
            color: #1d1d1f !important;
            transition: all 0.2s !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 8px !important;
            text-decoration: none !important;
            line-height: 1.4 !important;
            text-transform: none !important;
            letter-spacing: normal !important;
            box-shadow: none !important;
        }

        .arena-btn:hover,
        .arena-frontend .arena-btn:hover,
        button.arena-btn:hover {
            background: #f5f5f7 !important;
            transform: translateY(-1px);
            color: #1d1d1f !important;
        }

        .arena-btn-primary,
        .arena-frontend .arena-btn-primary,
        button.arena-btn-primary {
            background: var(--primary-color, #d4204a) !important;
            color: #fff !important;
            border-color: var(--primary-color, #d4204a) !important;
        }

        .arena-btn-primary:hover,
        button.arena-btn-primary:hover {
            background: #c41840 !important;
            color: #fff !important;
        }

        .arena-btn-secondary,
        button.arena-btn-secondary {
            background: #1d1d1f !important;
            color: #fff !important;
            border-color: #1d1d1f !important;
        }

        .arena-btn-success,
        button.arena-btn-success {
            background: #34c759 !important;
            color: #fff !important;
            border-color: #34c759 !important;
        }

        .arena-btn-danger,
        button.arena-btn-danger {
            background: #ff3b30 !important;
            color: #fff !important;
            border-color: #ff3b30 !important;
        }

        .arena-btn-sm,
        button.arena-btn-sm {
            padding: 8px 14px !important;
            font-size: 12px !important;
            border-radius: 8px !important;
        }

        /* Activity Section */
        .arena-activity-section {
            background: #fff;
            border-radius: 16px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
            border: 1px solid #e5e5ea;
        }

        .activity-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .activity-header h3 {
            margin: 0;
            font-size: 16px;
        }

        .arena-activity-feed {
            max-height: 350px;
            overflow-y: auto;
        }

        .activity-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .activity-item:last-child {
            border-bottom: none;
        }

        .activity-icon {
            font-size: 20px;
            width: 36px;
            height: 36px;
            background: #f5f5f7;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .activity-text {
            flex: 1;
            font-size: 14px;
            color: #1d1d1f;
        }

        .activity-text em {
            color: var(--primary-color);
            font-style: normal;
            font-weight: 600;
        }

        .activity-amount {
            background: #fff3cd;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 600;
        }

        .activity-time {
            font-size: 12px;
            color: #86868b;
            white-space: nowrap;
        }

        .activity-empty {
            text-align: center;
            padding: 40px;
            color: #86868b;
        }

        /* Preview Section */
        .arena-preview-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
        }

        .preview-col {
            background: #fff;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
            border: 1px solid #e5e5ea;
        }

        .preview-col h3 {
            margin: 0 0 20px 0;
            font-size: 16px;
        }

        /* Mini Cards */
        .arena-mini-card {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            background: #f9f9fb;
            border-radius: 10px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .arena-mini-card:hover {
            background: #f0f0f5;
            transform: translateX(3px);
        }

        .mini-card-title {
            font-weight: 600;
            font-size: 14px;
            color: #1d1d1f;
        }

        .mini-card-meta {
            font-size: 12px;
            color: #86868b;
            margin-top: 3px;
        }

        .mini-card-time {
            font-size: 14px;
            font-weight: 700;
            color: #86868b;
        }

        .mini-card-time.urgent {
            color: #ff3b30;
        }

        .arena-empty-state {
            text-align: center;
            padding: 30px;
            color: #86868b;
            font-size: 14px;
        }

        .arena-empty-state a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
        }

        .arena-see-all {
            display: block;
            text-align: center;
            padding: 12px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            font-size: 13px;
        }

        /* Section Headers */
        .arena-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .arena-section-header h2 {
            margin: 0;
            font-size: 22px;
            font-weight: 700;
        }

        /* Empty Hero */
        .arena-empty-hero {
            text-align: center;
            padding: 60px 40px;
            background: #fff;
            border-radius: 16px;
            border: 2px dashed #d2d2d7;
        }

        .empty-icon {
            font-size: 60px;
            margin-bottom: 20px;
        }

        .arena-empty-hero h3 {
            margin: 0 0 10px 0;
            font-size: 20px;
        }

        .arena-empty-hero p {
            color: #86868b;
            margin-bottom: 20px;
        }

        /* Cards Grid */
        .arena-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }

        .arena-cards-muted .arena-card {
            opacity: 0.7;
        }

        /* Card */
        .arena-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
            border: 1px solid #e5e5ea;
            position: relative;
            transition: all 0.2s;
        }

        .arena-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .arena-card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: #ff3b30;
            color: #fff;
            font-size: 10px;
            font-weight: 800;
            padding: 4px 10px;
            border-radius: 20px;
            z-index: 10;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .arena-badge-ready {
            background: #34c759;
            animation: pulse-badge 1.5s infinite;
        }

        @keyframes pulse-badge {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }
        }

        .card-hot .arena-card-badge {
            background: #ff9500;
        }

        .card-ended .arena-card-badge {
            background: #86868b;
        }

        .arena-card-image {
            height: 140px;
            background-size: cover;
            background-position: center;
            background-color: #f5f5f7;
        }

        .arena-card-body {
            padding: 20px;
        }

        .arena-card-title {
            margin: 0 0 12px 0;
            font-size: 16px;
            font-weight: 700;
            color: #1d1d1f;
            line-height: 1.3;
        }

        .arena-card-stats {
            display: flex;
            gap: 15px;
            margin-bottom: 12px;
        }

        .card-stat {
            display: flex;
            flex-direction: column;
        }

        .card-stat .stat-val {
            font-size: 14px;
            font-weight: 700;
            color: #1d1d1f;
        }

        .card-stat .stat-lbl {
            font-size: 10px;
            color: #86868b;
            text-transform: uppercase;
        }

        .arena-card-leader,
        .arena-card-pot,
        .arena-card-countdown {
            font-size: 13px;
            color: #86868b;
            margin-bottom: 8px;
        }

        .arena-card-winner {
            background: #fff3cd;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            color: #856404;
        }

        .arena-card-actions {
            padding: 15px 20px;
            background: #f9f9fb;
            display: flex;
            gap: 10px;
            border-top: 1px solid #e5e5ea;
        }

        /* Section Divider */
        .arena-section-divider {
            display: flex;
            align-items: center;
            margin: 40px 0 25px 0;
        }

        .arena-section-divider::before,
        .arena-section-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #d2d2d7;
        }

        .arena-section-divider span {
            padding: 0 20px;
            color: #86868b;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
        }

        /* Settings */
        .arena-settings {
            max-width: 800px;
        }

        .settings-section {
            background: #fff;
            border-radius: 16px;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
            border: 1px solid #e5e5ea;
        }

        .settings-section h3 {
            margin: 0 0 20px 0;
            font-size: 16px;
            font-weight: 700;
        }

        .settings-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }

        .setting-item label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #1d1d1f;
            margin-bottom: 8px;
        }

        .setting-item input[type="number"],
        .setting-item input[type="text"] {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #d2d2d7;
            border-radius: 8px;
            font-size: 14px;
        }

        .setting-item input[type="checkbox"] {
            margin-right: 8px;
        }

        .setting-hint {
            font-size: 11px;
            color: #86868b;
            margin-top: 5px;
        }

        .settings-actions {
            margin-top: 20px;
        }

        .arena-notice {
            padding: 15px 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .arena-notice-success {
            background: #d4edda;
            color: #155724;
        }

        /* History */
        .arena-history {
            background: #fff;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
            border: 1px solid #e5e5ea;
        }

        .history-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
        }

        .history-tab {
            padding: 10px 20px;
            border: none;
            background: #f5f5f7;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .history-tab.active {
            background: var(--primary-color);
            color: #fff;
        }

        .arena-table {
            width: 100%;
            border-collapse: collapse;
        }

        .arena-table th,
        .arena-table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #e5e5ea;
        }

        .arena-table th {
            font-size: 11px;
            text-transform: uppercase;
            color: #86868b;
            font-weight: 700;
        }

        .arena-table td {
            font-size: 14px;
        }

        /* Modals */
        .arena-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            z-index: 100000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .arena-modal {
            background: #fff;
            border-radius: 20px;
            width: 100%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s ease;
        }

        .arena-modal-wide {
            max-width: 700px;
        }

        .arena-modal-center {
            text-align: center;
        }

        @keyframes modalSlideIn {
            from {
                transform: translateY(-20px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .arena-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 25px;
            border-bottom: 1px solid #e5e5ea;
        }

        .arena-modal-header h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 700;
        }

        .arena-modal-close {
            font-size: 28px;
            color: #86868b;
            cursor: pointer;
            line-height: 1;
        }

        .arena-modal-close:hover {
            color: #1d1d1f;
        }

        .arena-modal-body {
            padding: 25px;
        }

        /* Form Styles */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #1d1d1f;
            margin-bottom: 8px;
        }

        .form-group input[type="text"],
        .form-group input[type="number"],
        .form-group input[type="datetime-local"],
        .form-group select {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid #d2d2d7;
            border-radius: 10px;
            font-size: 15px;
            transition: border-color 0.2s;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .form-hint {
            font-size: 11px;
            color: #86868b;
            margin-top: 5px;
        }

        .checkbox-label {
            display: flex !important;
            align-items: center;
            cursor: pointer;
        }

        .checkbox-label input {
            margin-right: 10px;
        }

        .form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px solid #e5e5ea;
        }

        /* Image Upload */
        .image-upload-area {
            border: 2px dashed #d2d2d7;
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
        }

        .image-upload-area:hover {
            border-color: var(--primary-color);
            background: #fef5f7;
        }

        .upload-placeholder span {
            font-size: 36px;
            display: block;
            margin-bottom: 10px;
        }

        .upload-placeholder p {
            margin: 0;
            color: #86868b;
            font-size: 13px;
        }

        /* Manage Details */
        .manage-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 15px;
            margin-bottom: 25px;
        }

        .manage-stat {
            background: #f5f5f7;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
        }

        .manage-stat .stat-label {
            font-size: 11px;
            color: #86868b;
            text-transform: uppercase;
            display: block;
            margin-bottom: 5px;
        }

        .manage-stat .stat-value {
            font-size: 18px;
            font-weight: 700;
            color: #1d1d1f;
        }

        .manage-section {
            margin-bottom: 25px;
        }

        .manage-section h4 {
            margin: 0 0 15px 0;
            font-size: 14px;
            font-weight: 700;
        }

        .manage-actions {
            display: flex;
            gap: 12px;
            padding-top: 20px;
            border-top: 1px solid #e5e5ea;
        }

        .bid-history-list,
        .entrants-list {
            max-height: 200px;
            overflow-y: auto;
        }

        .bid-row,
        .entrant-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 12px;
            background: #f9f9fb;
            border-radius: 8px;
            margin-bottom: 8px;
            font-size: 13px;
        }

        .bid-user,
        .entrant-name {
            font-weight: 600;
        }

        .bid-amount {
            color: var(--primary-color);
            font-weight: 600;
        }

        .bid-time,
        .entrant-odds {
            color: #86868b;
            font-size: 12px;
        }

        .entrant-tickets {
            color: #86868b;
        }

        .text-muted {
            color: #86868b;
        }

        /* Draw Animation */
        .draw-animation {
            padding: 60px 40px;
        }

        .draw-spinner {
            font-size: 80px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        .draw-animation p {
            margin-top: 20px;
            font-size: 18px;
            color: #86868b;
        }

        .draw-winner {
            padding: 40px;
        }

        .winner-icon {
            font-size: 80px;
            margin-bottom: 20px;
        }

        .draw-winner h2 {
            margin: 0 0 20px 0;
            font-size: 32px;
            color: var(--primary-color);
        }

        .winner-name {
            font-size: 28px;
            font-weight: 800;
            color: #1d1d1f;
            margin-bottom: 10px;
        }

        .draw-winner p {
            color: #86868b;
            margin-bottom: 30px;
        }

        .draw-error {
            padding: 40px;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #86868b;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .arena-wrap {
                margin-left: 0;
            }

            .arena-header {
                padding: 15px 20px;
            }

            .arena-titles h1 {
                font-size: 18px;
            }

            .arena-nav {
                padding: 0 10px;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                -ms-overflow-style: none;
            }
            
            .arena-nav::-webkit-scrollbar {
                display: none;
            }

            .arena-nav-link {
                padding: 12px 15px;
                font-size: 13px;
                flex-shrink: 0;
            }

            .nav-text {
                display: none;
            }

            .nav-icon {
                font-size: 20px;
            }

            .arena-content {
                padding: 15px;
            }

            .arena-stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .arena-stat-card {
                padding: 15px;
            }

            .stat-value {
                font-size: 24px;
            }

            .arena-preview-section {
                grid-template-columns: 1fr;
            }

            .arena-cards-grid {
                grid-template-columns: 1fr;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .manage-stats {
                grid-template-columns: repeat(2, 1fr);
            }

            .arena-section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .quick-btn-row {
                flex-direction: column;
            }

            .arena-card-actions {
                flex-direction: column;
            }
        }

        /* =================================================================
   ARENA FRONTEND STYLES (Student-facing)
   ================================================================= */

        .arena-frontend {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
            min-height: 100vh;
            padding-bottom: 60px;
        }

        /* Login Required */
        .arena-login-required {
            text-align: center;
            padding: 80px 40px;
            background: #fff;
            border-radius: 20px;
            max-width: 400px;
            margin: 60px auto;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }

        .arena-login-icon {
            font-size: 60px;
            margin-bottom: 20px;
        }

        .arena-login-required h3 {
            margin: 0 0 10px 0;
            font-size: 24px;
        }

        .arena-login-required p {
            color: #86868b;
            margin-bottom: 25px;
        }

        /* Header */
        .arena-front-header {
            background: linear-gradient(135deg, #1d1d1f 0%, #2d2d2f 100%);
            padding: 25px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #fff;
        }

        .arena-header-left {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .arena-header-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .arena-games-link {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 18px;
            background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
            color: #fff !important;
            text-decoration: none !important;
            border-radius: 25px;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.2s;
            box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
        }
        
        .arena-games-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
        }

        .arena-title-icon {
            font-size: 40px;
        }

        .arena-header-titles h1 {
            margin: 0;
            font-size: 28px;
            font-weight: 800;
            color: #fff;
        }

        .arena-tagline {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.6);
        }

        .arena-wallet {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.1);
            padding: 12px 20px;
            border-radius: 50px;
            backdrop-filter: blur(10px);
        }

        .wallet-icon {
            font-size: 24px;
        }

        .wallet-balance {
            font-size: 24px;
            font-weight: 800;
            color: #ffd700;
        }

        .wallet-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
        }

        /* Activity Ticker */
        .arena-ticker {
            background: var(--primary-color);
            padding: 10px 0;
            overflow: hidden;
            white-space: nowrap;
        }

        .ticker-content {
            display: inline-block;
            animation: ticker-scroll 30s linear infinite;
        }

        .ticker-item {
            display: inline-block;
            padding: 0 40px;
            color: #fff;
            font-size: 13px;
        }

        .ticker-item strong {
            color: #ffd700;
        }

        @keyframes ticker-scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        /* Zones */
        .arena-zone {
            padding: 40px 25px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .zone-header {
            margin-bottom: 25px;
        }

        .zone-header h2 {
            margin: 0;
            font-size: 26px;
            font-weight: 800;
            color: #1d1d1f;
        }

        .zone-subtitle {
            font-size: 14px;
            color: #86868b;
        }

        .arena-zone-empty {
            text-align: center;
            padding: 60px 30px;
            background: #fff;
            border-radius: 20px;
            border: 2px dashed #d2d2d7;
        }

        .arena-zone-empty .empty-icon {
            font-size: 50px;
            margin-bottom: 15px;
        }

        .arena-zone-empty p {
            font-size: 18px;
            color: #1d1d1f;
            margin: 0 0 5px 0;
        }

        .arena-zone-empty span {
            font-size: 14px;
            color: #86868b;
        }

        /* Store Grid */
        .arena-store-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
        }

        .arena-store-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
            position: relative;
        }

        .arena-store-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        }

        .arena-store-card.card-unaffordable {
            opacity: 0.6;
        }

        .store-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            font-size: 10px;
            font-weight: 800;
            padding: 4px 10px;
            border-radius: 20px;
            z-index: 5;
        }

        .badge-new {
            background: #007aff;
            color: #fff;
        }

        .badge-popular {
            background: #ff9500;
            color: #fff;
        }

        .store-card-image {
            height: 120px;
            background-size: cover;
            background-position: center;
            background-color: #f5f5f7;
        }

        .store-card-body {
            padding: 15px;
        }

        .store-card-body h4 {
            margin: 0 0 8px 0;
            font-size: 14px;
            font-weight: 700;
            color: #1d1d1f;
            line-height: 1.3;
        }

        .store-card-price {
            font-size: 16px;
            font-weight: 800;
            color: var(--primary-color);
        }

        .store-card-action {
            padding: 0 15px 15px;
        }

        /* Auctions Grid */
        .arena-auctions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        .arena-auction-card {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            position: relative;
            transition: all 0.3s ease;
        }

        .arena-auction-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        .arena-auction-card.auction-winning {
            border: 3px solid #34c759;
        }

        .arena-auction-card.auction-urgent {
            animation: pulse-urgent 2s infinite;
        }

        @keyframes pulse-urgent {

            0%,
            100% {
                box-shadow: 0 8px 30px rgba(255, 59, 48, 0.2);
            }

            50% {
                box-shadow: 0 8px 40px rgba(255, 59, 48, 0.4);
            }
        }

        .auction-status-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            font-size: 11px;
            font-weight: 800;
            padding: 6px 14px;
            border-radius: 20px;
            z-index: 5;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            backdrop-filter: blur(5px);
        }

        .auction-status-badge.badge-winning {
            background: #34c759;
        }

        .auction-status-badge.badge-ending {
            background: #ff3b30;
            animation: badge-pulse 1s infinite;
        }

        .auction-status-badge.badge-hot {
            background: #ff9500;
        }

        @keyframes badge-pulse {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }
        }

        .auction-card-image {
            height: 180px;
            background-size: cover;
            background-position: center;
            background-color: #f5f5f7;
        }

        .auction-card-body {
            padding: 20px;
        }

        .auction-card-title {
            margin: 0 0 15px 0;
            font-size: 18px;
            font-weight: 800;
            color: #1d1d1f;
            line-height: 1.3;
        }

        .auction-bid-display {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 12px;
        }

        .current-bid {
            display: flex;
            flex-direction: column;
        }

        .bid-label {
            font-size: 11px;
            color: #86868b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .bid-amount {
            font-size: 28px;
            font-weight: 900;
            color: var(--primary-color);
        }

        .bid-count {
            font-size: 13px;
            color: #86868b;
            background: #f5f5f7;
            padding: 6px 12px;
            border-radius: 20px;
        }

        .auction-leader {
            font-size: 13px;
            color: #86868b;
            margin-bottom: 15px;
        }

        .leader-you {
            color: #34c759;
            font-weight: 700;
        }

        .auction-timer {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f5f5f7;
            padding: 12px 16px;
            border-radius: 12px;
        }

        .timer-icon {
            font-size: 18px;
        }

        .timer-value {
            font-size: 18px;
            font-weight: 800;
            color: #1d1d1f;
        }

        .timer-label {
            font-size: 12px;
            color: #86868b;
        }

        .auction-urgent .timer-value {
            color: #ff3b30;
        }

        .auction-card-action {
            padding: 0 20px 20px;
        }

        /* Raffles Grid */
        .arena-raffles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        .arena-raffle-card {
            background: linear-gradient(145deg, #fff 0%, #f8f8fa 100%);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            position: relative;
            transition: all 0.3s ease;
        }

        .arena-raffle-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        .raffle-status-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            font-size: 11px;
            font-weight: 800;
            padding: 6px 14px;
            border-radius: 20px;
            z-index: 5;
            background: #34c759;
            color: #fff;
        }

        .badge-entered {
            background: #007aff;
        }

        .raffle-card-image {
            height: 180px;
            background-size: cover;
            background-position: center;
            background-color: #f5f5f7;
        }

        .raffle-card-body {
            padding: 20px;
        }

        .raffle-card-title {
            margin: 0 0 15px 0;
            font-size: 18px;
            font-weight: 800;
            color: #1d1d1f;
            line-height: 1.3;
        }

        .raffle-stats-row {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
        }

        .raffle-stat {
            display: flex;
            flex-direction: column;
        }

        .raffle-stat .stat-value {
            font-size: 16px;
            font-weight: 800;
            color: #1d1d1f;
        }

        .raffle-stat .stat-label {
            font-size: 11px;
            color: #86868b;
        }

        .raffle-user-status {
            display: flex;
            justify-content: space-between;
            background: #e8f5e9;
            padding: 12px 16px;
            border-radius: 12px;
            margin-bottom: 15px;
        }

        .user-tickets,
        .user-odds {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .tickets-count,
        .odds-value {
            font-size: 20px;
            font-weight: 900;
            color: #34c759;
        }

        .tickets-label,
        .odds-label {
            font-size: 10px;
            color: #86868b;
            text-transform: uppercase;
        }

        .raffle-timer {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f5f5f7;
            padding: 12px 16px;
            border-radius: 12px;
        }

        .raffle-card-action {
            padding: 0 20px 20px;
        }

        /* Winners Zone */
        .arena-winners-zone {
            background: #fff;
            border-radius: 0;
            padding-top: 30px;
            padding-bottom: 30px;
        }

        .arena-winners-scroll {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding: 10px 0;
            scroll-snap-type: x mandatory;
            flex-wrap: nowrap;
        }

        .winner-card {
            flex: 0 0 200px;
            background: linear-gradient(145deg, #f8f8fa 0%, #fff 100%);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
            scroll-snap-align: start;
        }

        .winner-image {
            height: 100px;
            background-size: cover;
            background-position: center;
            background-color: #f5f5f7;
            position: relative;
        }

        .winner-type-icon {
            position: absolute;
            bottom: -15px;
            right: 15px;
            font-size: 30px;
            background: #fff;
            padding: 5px;
            border-radius: 50%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .winner-info {
            padding: 20px 15px 15px;
        }

        .winner-name {
            font-size: 14px;
            font-weight: 800;
            color: #1d1d1f;
            margin-bottom: 4px;
        }

        .winner-prize {
            font-size: 12px;
            color: var(--primary-color);
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .winner-time {
            font-size: 11px;
            color: #86868b;
        }

        .no-winners {
            text-align: center;
            padding: 30px;
            color: #86868b;
            width: 100%;
        }

        /* Buttons - Additional variants with !important */
        .arena-btn-full,
        button.arena-btn-full {
            width: 100% !important;
            justify-content: center !important;
        }

        .arena-btn-outline,
        button.arena-btn-outline {
            background: transparent !important;
            border: 2px solid var(--primary-color, #d4204a) !important;
            color: var(--primary-color, #d4204a) !important;
        }

        .arena-btn-outline:hover,
        button.arena-btn-outline:hover {
            background: var(--primary-color, #d4204a) !important;
            color: #fff !important;
        }

        .arena-btn-disabled,
        button.arena-btn-disabled {
            background: #e5e5ea !important;
            color: #86868b !important;
            cursor: not-allowed !important;
            border-color: #e5e5ea !important;
        }

        .arena-btn-disabled:hover,
        button.arena-btn-disabled:hover {
            background: #e5e5ea !important;
            transform: none !important;
        }

        /* Modals (Frontend version) */
        .arena-modal-compact {
            max-width: 420px;
        }

        .bid-current-info {
            background: #f5f5f7;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 20px;
        }

        .bid-info-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
        }

        .bid-info-row:not(:last-child) {
            border-bottom: 1px solid #e5e5ea;
        }

        .bid-input-section {
            margin-bottom: 20px;
        }

        .bid-input-section label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .bid-input-wrapper {
            display: flex;
            align-items: center;
            background: #f5f5f7;
            border-radius: 12px;
            padding: 5px;
        }

        .bid-input-prefix {
            font-size: 20px;
            padding: 0 15px;
        }

        .bid-input-wrapper input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 24px;
            font-weight: 800;
            padding: 12px;
            outline: none;
        }

        .bid-quick-amounts {
            display: flex;
            gap: 8px;
            margin-top: 12px;
        }

        .quick-bid-btn {
            flex: 1;
            padding: 10px;
            border: 1px solid #d2d2d7;
            border-radius: 8px;
            background: #fff;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

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

        .bid-balance-check {
            text-align: center;
            padding: 12px;
            background: #f5f5f7;
            border-radius: 10px;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .bid-actions {
            display: flex;
            gap: 12px;
        }

        .bid-actions .arena-btn {
            flex: 1;
            justify-content: center;
        }

        /* Raffle Modal Specifics */
        .raffle-prize-preview {
            text-align: center;
            margin-bottom: 20px;
        }

        .raffle-prize-preview img {
            max-width: 100%;
            max-height: 120px;
            border-radius: 12px;
            object-fit: cover;
        }

        .raffle-info-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 20px;
        }

        .raffle-info-item {
            text-align: center;
            background: #f5f5f7;
            padding: 12px;
            border-radius: 10px;
        }

        .raffle-info-item .info-label {
            display: block;
            font-size: 10px;
            color: #86868b;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .raffle-info-item .info-value {
            font-size: 16px;
            font-weight: 800;
            color: #1d1d1f;
        }

        .raffle-quantity-section {
            margin-bottom: 20px;
        }

        .raffle-quantity-section label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .quantity-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .qty-btn {
            width: 44px;
            height: 44px;
            border: none;
            background: #f5f5f7;
            border-radius: 50%;
            font-size: 24px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

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

        .quantity-controls input {
            width: 80px;
            text-align: center;
            font-size: 28px;
            font-weight: 800;
            border: none;
            background: transparent;
            outline: none;
        }

        .raffle-total {
            text-align: center;
            font-size: 16px;
        }

        .raffle-odds-preview {
            margin-bottom: 20px;
        }

        .odds-bar {
            height: 8px;
            background: #e5e5ea;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 8px;
        }

        .odds-fill {
            height: 100%;
            background: linear-gradient(90deg, #34c759, #30d158);
            border-radius: 4px;
            transition: width 0.3s ease;
        }

        .odds-text {
            display: block;
            text-align: center;
            font-size: 13px;
            color: #86868b;
        }

        .odds-text strong {
            color: #34c759;
        }

        /* Toast Notifications */
        #arena-toast-container {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100001;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            width: 90%;
            max-width: 400px;
            pointer-events: none;
        }

        .arena-toast {
            background: #1d1d1f;
            color: #fff;
            padding: 15px 25px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transform: translateY(100px);
            opacity: 0;
            transition: transform 0.3s ease, opacity 0.3s ease;
            max-width: 100%;
            text-align: center;
            pointer-events: auto;
        }

        .arena-toast.toast-show {
            transform: translateY(0);
            opacity: 1;
        }

        .arena-toast-success {
            background: linear-gradient(135deg, #34c759, #30d158);
        }

        .arena-toast-error {
            background: linear-gradient(135deg, #ff3b30, #ff453a);
        }

        .arena-toast-info {
            background: linear-gradient(135deg, #007aff, #0a84ff);
        }

        /* Mobile Responsive - Frontend */
        @media (max-width: 768px) {
            .arena-front-header {
                flex-direction: column;
                gap: 15px;
                padding: 20px;
                text-align: center;
            }

            .arena-header-left {
                flex-direction: column;
                gap: 10px;
            }

            .arena-header-titles h1 {
                font-size: 22px;
            }

            .arena-wallet {
                width: 100%;
                justify-content: center;
            }

            .arena-zone {
                padding: 25px 15px;
            }

            .zone-header h2 {
                font-size: 20px;
            }

            .arena-store-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .store-card-image {
                height: 100px;
            }

            .arena-auctions-grid,
            .arena-raffles-grid {
                grid-template-columns: 1fr;
            }

            .auction-card-image,
            .raffle-card-image {
                height: 150px;
            }

            .bid-amount {
                font-size: 22px;
            }

            .arena-winners-scroll {
                padding-left: 15px;
            }

            .winner-card {
                flex: 0 0 160px;
            }

            #arena-toast-container {
                bottom: 80px;
                left: 10px;
                right: 10px;
                transform: none;
                width: auto;
                max-width: none;
            }

            .arena-toast {
                max-width: 100%;
                padding: 12px 16px;
                font-size: 13px;
                word-wrap: break-word;
            }

            .raffle-info-grid {
                grid-template-columns: 1fr;
                gap: 8px;
            }
        }

        /* =================================================================
   ARENA PHASE 4: STORE MODAL & CELEBRATIONS
   ================================================================= */

        /* Store Redemption Modal */
        .store-redeem-preview {
            text-align: center;
            margin-bottom: 20px;
        }

        .store-redeem-preview img {
            max-width: 150px;
            max-height: 120px;
            border-radius: 12px;
            object-fit: cover;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .store-redeem-info {
            text-align: center;
            margin-bottom: 20px;
        }

        .store-redeem-info h4 {
            margin: 0 0 10px 0;
            font-size: 18px;
            font-weight: 800;
            color: #1d1d1f;
        }

        .store-redeem-price {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
        }

        .store-redeem-price .price-label {
            font-size: 14px;
            color: #86868b;
        }

        .store-redeem-price .price-value {
            font-size: 24px;
            font-weight: 900;
            color: var(--primary-color);
        }

        .store-redeem-balance {
            background: #f5f5f7;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
        }

        .balance-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            font-size: 14px;
        }

        .balance-row:not(:last-child) {
            border-bottom: 1px solid #e5e5ea;
        }

        .balance-after strong {
            color: #34c759;
        }

        .store-redeem-note {
            text-align: center;
            margin-bottom: 20px;
        }

        .store-redeem-note p {
            margin: 0;
            font-size: 13px;
            color: #86868b;
            background: #fff3cd;
            padding: 10px 15px;
            border-radius: 8px;
        }

        /* Success Celebration Modal */
        .arena-modal-success {
            background: transparent;
            box-shadow: none;
            max-width: 400px;
        }

        .success-content {
            background: #fff;
            border-radius: 24px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
        }

        .success-animation {
            position: relative;
            margin-bottom: 20px;
        }

        .success-icon {
            font-size: 80px;
            animation: success-bounce 0.6s ease;
        }

        @keyframes success-bounce {
            0% {
                transform: scale(0);
            }

            50% {
                transform: scale(1.2);
            }

            100% {
                transform: scale(1);
            }
        }

        .success-content h2 {
            margin: 0 0 10px 0;
            font-size: 28px;
            font-weight: 900;
            color: #1d1d1f;
        }

        .success-content p {
            margin: 0 0 25px 0;
            font-size: 16px;
            color: #86868b;
            line-height: 1.5;
        }

        .success-content p strong {
            color: var(--primary-color);
        }

        /* Confetti Animation */
        .confetti-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }

        .confetti-piece {
            position: absolute;
            width: 10px;
            height: 10px;
            top: -20px;
            animation: confetti-fall 2s ease-out forwards;
        }

        .confetti-piece:nth-child(odd) {
            border-radius: 50%;
        }

        .confetti-piece:nth-child(even) {
            border-radius: 2px;
            transform: rotate(45deg);
        }

        @keyframes confetti-fall {
            0% {
                top: -20px;
                opacity: 1;
                transform: translateX(0) rotate(0deg);
            }

            100% {
                top: 100%;
                opacity: 0;
                transform: translateX(50px) rotate(720deg);
            }
        }

        /* Make some confetti fall to the left */
        .confetti-piece:nth-child(3n) {
            animation-name: confetti-fall-left;
        }

        @keyframes confetti-fall-left {
            0% {
                top: -20px;
                opacity: 1;
                transform: translateX(0) rotate(0deg);
            }

            100% {
                top: 100%;
                opacity: 0;
                transform: translateX(-50px) rotate(-720deg);
            }
        }

        /* Enhanced hover states for cards */
        .arena-store-card:hover .store-card-image {
            transform: scale(1.05);
        }

        .store-card-image {
            transition: transform 0.3s ease;
        }

        .arena-auction-card:hover .auction-card-image,
        .arena-raffle-card:hover .raffle-card-image {
            transform: scale(1.05);
        }

        .auction-card-image,
        .raffle-card-image {
            transition: transform 0.3s ease;
            overflow: hidden;
        }

        /* Button pulse on win status */
        .auction-winning .auction-card-action .arena-btn {
            animation: winner-pulse 2s infinite;
        }

        @keyframes winner-pulse {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4);
            }

            50% {
                box-shadow: 0 0 0 10px rgba(52, 199, 89, 0);
            }
        }

        /* Better disabled state */
        .arena-btn:disabled,
        .arena-btn[disabled] {
            cursor: not-allowed;
            opacity: 0.6;
            transform: none !important;
        }

        /* Mobile adjustments for modals */
        @media (max-width: 768px) {
            .success-content {
                padding: 30px 20px;
            }

            .success-icon {
                font-size: 60px;
            }

            .success-content h2 {
                font-size: 22px;
            }
        }

        /* =================================================================
   ARENA PHASE 5: REAL-TIME POLLING ANIMATIONS
   ================================================================= */

        /* Bid Updated Animation */
        .bid-updated {
            animation: bid-flash 1s ease;
        }

        @keyframes bid-flash {
            0% {
                color: var(--primary-color);
            }

            25% {
                color: #ffd700;
                transform: scale(1.2);
            }

            50% {
                color: #34c759;
            }

            75% {
                color: #ffd700;
                transform: scale(1.1);
            }

            100% {
                color: var(--primary-color);
                transform: scale(1);
            }
        }

        /* Card Pulse Animation (when something changes) */
        .card-pulse {
            animation: card-pulse-anim 1s ease;
        }

        @keyframes card-pulse-anim {
            0% {
                box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            }

            25% {
                box-shadow: 0 8px 40px rgba(226, 27, 77, 0.4);
                transform: scale(1.02);
            }

            50% {
                box-shadow: 0 8px 50px rgba(226, 27, 77, 0.3);
            }

            75% {
                box-shadow: 0 8px 40px rgba(226, 27, 77, 0.2);
                transform: scale(1.01);
            }

            100% {
                box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
                transform: scale(1);
            }
        }

        /* Balance Change Animations */
        .wallet-balance {
            transition: all 0.3s ease;
        }

        .balance-increased {
            animation: balance-up 1s ease;
        }

        @keyframes balance-up {
            0% {
                transform: scale(1);
            }

            25% {
                transform: scale(1.3);
                color: #34c759;
            }

            50% {
                transform: scale(1.2);
            }

            100% {
                transform: scale(1);
            }
        }

        .balance-decreased {
            animation: balance-down 0.5s ease;
        }

        @keyframes balance-down {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(0.9);
                color: #ff3b30;
            }

            100% {
                transform: scale(1);
            }
        }

        /* Live indicator dot */
        .arena-front-header::after {
            content: '';
            position: absolute;
            top: 20px;
            right: 20px;
            width: 10px;
            height: 10px;
            background: #34c759;
            border-radius: 50%;
            animation: live-pulse 2s infinite;
        }

        @keyframes live-pulse {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.5;
                transform: scale(1.2);
            }
        }

        .arena-front-header {
            position: relative;
        }

        /* Outbid shake animation */
        .auction-outbid {
            animation: outbid-shake 0.5s ease;
        }

        @keyframes outbid-shake {

            0%,
            100% {
                transform: translateX(0);
            }

            10%,
            30%,
            50%,
            70%,
            90% {
                transform: translateX(-5px);
            }

            20%,
            40%,
            60%,
            80% {
                transform: translateX(5px);
            }
        }

        /* New bid indicator */
        .arena-auction-card.has-new-bid::before {
            content: 'ðŸ”¥ NEW BID!';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(226, 27, 77, 0.95);
            color: #fff;
            padding: 10px 20px;
            border-radius: 10px;
            font-weight: 800;
            font-size: 14px;
            z-index: 20;
            animation: new-bid-fade 2s ease forwards;
        }

        @keyframes new-bid-fade {
            0% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(0.5);
            }

            20% {
                opacity: 1;
                transform: translate(-50%, -50%) scale(1.1);
            }

            30% {
                transform: translate(-50%, -50%) scale(1);
            }

            80% {
                opacity: 1;
            }

            100% {
                opacity: 0;
            }
        }

        /* Ticker glow effect */
        .arena-ticker {
            position: relative;
            overflow: hidden;
        }

        .arena-ticker::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: ticker-shine 3s infinite;
        }

        @keyframes ticker-shine {
            0% {
                left: -100%;
            }

            100% {
                left: 200%;
            }
        }

        /* Toast notification improvements for polling */
        .arena-toast {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .arena-toast::before {
            content: '';
            width: 4px;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            border-radius: 12px 0 0 12px;
        }

        .arena-toast-success::before {
            background: #34c759;
        }

        .arena-toast-error::before {
            background: #ff3b30;
        }

        .arena-toast-info::before {
            background: #007aff;
        }

        /* Smooth updates for stats */
        .raffle-stat .stat-value,
        .arena-stat-card .stat-value,
        .bid-count {
            transition: all 0.3s ease;
        }

        /* Connection status indicator */
        .arena-connection-lost {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: #ff3b30;
            color: #fff;
            text-align: center;
            padding: 10px;
            font-weight: 600;
            font-size: 13px;
            z-index: 100002;
            animation: slide-down 0.3s ease;
        }

        @keyframes slide-down {
            from {
                transform: translateY(-100%);
            }

            to {
                transform: translateY(0);
            }
        }

        /* Winning status glow */
        .auction-winning {
            position: relative;
        }

        .auction-winning::after {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #34c759, #30d158, #34c759);
            border-radius: 22px;
            z-index: -1;
            animation: winning-glow 2s ease infinite;
        }

        @keyframes winning-glow {

            0%,
            100% {
                opacity: 0.5;
            }

            50% {
                opacity: 1;
            }
        }

        /* Raffle countdown urgency */
        .raffle-timer.timer-urgent .timer-value {
            color: #ff3b30;
            animation: urgent-blink 1s infinite;
        }

        @keyframes urgent-blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        /* Skeleton loading state (for future use) */
        .arena-skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: skeleton-shimmer 1.5s infinite;
        }

        @keyframes skeleton-shimmer {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        /* Mobile optimizations for real-time */
        @media (max-width: 768px) {
            .arena-front-header::after {
                top: 15px;
                right: 15px;
                width: 8px;
                height: 8px;
            }

            .arena-toast {
                font-size: 13px;
                padding: 12px 20px;
            }
        }

        /* =================================================================
   ARENA PHASE 6: STORE & EARN CONFIG
   ================================================================= */

        /* Store Management Grid */
        .arena-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }

        .arena-card-store,
        .arena-card-earn {
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            border: 1px solid #e5e5ea;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s;
            position: relative;
            overflow: hidden;
        }

        .arena-card-store:hover,
        .arena-card-earn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .store-card-image {
            width: 100%;
            height: 140px;
            background-size: cover;
            background-position: center;
            border-radius: 8px;
            margin-bottom: 15px;
            background-color: #f9f9f9;
        }

        .store-card-details h3 {
            margin: 0 0 5px 0;
            font-size: 16px;
            font-weight: 700;
        }

        .store-card-price {
            font-weight: 800;
            color: #b8860b;
            font-size: 18px;
        }

        .store-card-stock {
            font-size: 11px;
            text-transform: uppercase;
            color: #666;
            margin-top: 5px;
            display: block;
        }

        .store-card-actions,
        .earn-card-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        /* Earn Opportunities Grid */
        .earn-card-icon {
            font-size: 32px;
            margin-bottom: 10px;
            display: block;
        }

        .earn-card-coins {
            background: #e8f5e9;
            color: #2e7d32;
            padding: 4px 8px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            display: inline-block;
            margin-bottom: 10px;
        }

        /* Frontend "Earn More" Button - with !important */
        .arena-btn-earn,
        button.arena-btn-earn {
            background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
            color: #fff !important;
            border: 1px solid #e59400 !important;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
            box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3) !important;
        }

        .arena-btn-earn:hover,
        button.arena-btn-earn:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 20px rgba(255, 165, 0, 0.4) !important;
            background: linear-gradient(135deg, #FFD700 20%, #ff9d00 100%) !important;
            color: #fff !important;
        }

        /* Frontend Earn Modal List */
        .arena-earn-list {
            display: grid;
            gap: 12px;
        }

        .earn-action-card {
            display: flex;
            align-items: center;
            gap: 15px;
            background: #fff;
            border: 1px solid #eee;
            padding: 15px;
            border-radius: 8px;
            transition: all 0.2s;
        }

        .earn-action-card:hover {
            border-color: #b8860b;
            background: #fffdf5;
            transform: translateX(5px);
        }

        .earn-icon {
            font-size: 24px;
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            background: #f9f9f9;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .earn-details {
            flex-grow: 1;
        }

        .earn-details strong {
            display: block;
            font-size: 14px;
            color: #222;
        }

        .earn-desc {
            font-size: 11px;
            color: #888;
            line-height: 1.3;
        }

        .earn-action .arena-btn-sm {
            white-space: nowrap;
        }

        .earn-empty {
            text-align: center;
            padding: 40px;
            color: #999;
            font-style: italic;
            background: #f9f9f9;
            border-radius: 8px;
        }

        /* =================================================================
   ARENA PHASE 7: SPECTACULAR RAFFLE WHEEL ANIMATION
   ================================================================= */

        /* Draw Modal - Full Screen Overlay */
        #arena-draw-modal {
            background: rgba(0, 0, 0, 0.95);
        }

        #arena-draw-modal .arena-modal {
            background: transparent;
            box-shadow: none;
            max-width: 800px;
            width: 95%;
        }

        /* Wheel Container */
        .draw-wheel-container {
            text-align: center;
            padding: 30px;
        }

        .draw-header h2 {
            color: #ffd700;
            font-size: 28px;
            margin: 0 0 10px;
            text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
        }

        .draw-header p {
            color: rgba(255, 255, 255, 0.7);
            margin: 0;
            font-size: 16px;
        }

        /* Main Draw Area */
        .draw-main {
            display: flex;
            gap: 40px;
            justify-content: center;
            align-items: center;
            margin: 30px 0;
            flex-wrap: wrap;
        }

        /* Wheel Wrapper */
        .wheel-wrapper {
            position: relative;
            width: 300px;
            height: 300px;
        }

        .wheel {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 30px rgba(226, 27, 77, 0.5), 0 0 60px rgba(255, 215, 0, 0.3);
            border: 6px solid #ffd700;
            transition: transform 3s cubic-bezier(0.17, 0.67, 0.12, 0.99);
        }

        .wheel-segment {
            position: absolute;
            width: 50%;
            height: 50%;
            top: 0;
            left: 50%;
            transform-origin: 0% 100%;
            display: flex;
            justify-content: center;
            padding-top: 20px;
            clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
        }

        .wheel-segment span {
            color: #fff;
            font-weight: 800;
            font-size: 11px;
            text-transform: uppercase;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            transform: rotate(0deg);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 60px;
        }

        /* Wheel Center */
        .wheel-center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #1d1d1f, #2d2d2f);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            border: 4px solid #ffd700;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            z-index: 10;
        }

        /* Wheel Pointer */
        .wheel-pointer {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 40px;
            color: #ffd700;
            z-index: 20;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
            animation: pointer-bounce 0.5s infinite;
        }

        @keyframes pointer-bounce {

            0%,
            100% {
                transform: translateX(-50%) translateY(0);
            }

            50% {
                transform: translateX(-50%) translateY(5px);
            }
        }

        /* Names List */
        .wheel-names-list {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 15px;
            max-height: 280px;
            overflow-y: auto;
            min-width: 200px;
            max-width: 250px;
        }

        .wheel-name {
            padding: 10px 15px;
            color: rgba(255, 255, 255, 0.7);
            border-radius: 8px;
            margin-bottom: 8px;
            transition: all 0.15s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.03);
        }

        .wheel-name .name-tickets {
            font-size: 12px;
            opacity: 0.6;
        }

        .wheel-name.highlight {
            background: rgba(255, 215, 0, 0.2);
            color: #ffd700;
            transform: scale(1.05);
        }

        .wheel-name.winner {
            background: linear-gradient(135deg, rgba(226, 27, 77, 0.3), rgba(255, 215, 0, 0.3));
            color: #fff;
            font-weight: 700;
            animation: winner-glow-name 1s infinite;
        }

        @keyframes winner-glow-name {

            0%,
            100% {
                box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
            }

            50% {
                box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
            }
        }

        /* Draw Status */
        .draw-status {
            color: #ffd700;
            font-size: 20px;
            font-weight: 700;
            animation: status-pulse 1s infinite;
        }

        @keyframes status-pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        /* Winner Celebration */
        .winner-celebration {
            position: relative;
            padding: 60px 40px;
            text-align: center;
            overflow: hidden;
        }

        .winner-celebration .confetti-container {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            overflow: hidden;
        }

        .winner-celebration .confetti-piece {
            position: absolute;
            top: -20px;
            border-radius: 3px;
            animation: confetti-fall-admin 4s linear forwards;
        }

        @keyframes confetti-fall-admin {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
            }

            100% {
                transform: translateY(800px) rotate(720deg);
                opacity: 0;
            }
        }

        .winner-content {
            position: relative;
            z-index: 10;
        }

        .winner-trophy {
            font-size: 100px;
            animation: trophy-bounce 1s ease infinite;
            filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.5));
        }

        @keyframes trophy-bounce {

            0%,
            100% {
                transform: scale(1) rotate(-5deg);
            }

            50% {
                transform: scale(1.1) rotate(5deg);
            }
        }

        .winner-title {
            color: #ffd700;
            font-size: 48px;
            font-weight: 900;
            margin: 20px 0;
            text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
            animation: title-glow 2s ease infinite;
        }

        @keyframes title-glow {

            0%,
            100% {
                text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
            }

            50% {
                text-shadow: 0 4px 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(226, 27, 77, 0.5);
            }
        }

        .winner-name-big {
            color: #fff;
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        .winner-stats {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 20px;
        }

        .winner-stats .stat {
            background: rgba(255, 255, 255, 0.1);
            padding: 10px 20px;
            border-radius: 20px;
            color: rgba(255, 255, 255, 0.9);
            font-size: 16px;
        }

        .winner-message {
            color: rgba(255, 255, 255, 0.7);
            font-size: 18px;
            margin-bottom: 30px;
        }

        .arena-btn-lg {
            padding: 18px 50px;
            font-size: 18px;
        }

        /* Draw Error */
        .draw-error {
            text-align: center;
            padding: 60px 40px;
            color: #fff;
        }

        .draw-error p {
            font-size: 18px;
            margin-bottom: 20px;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .draw-main {
                flex-direction: column;
            }

            .wheel-wrapper {
                width: 250px;
                height: 250px;
            }

            .wheel-names-list {
                max-height: 150px;
                width: 100%;
                max-width: none;
            }

            .winner-trophy {
                font-size: 70px;
            }

            .winner-title {
                font-size: 32px;
            }

            .winner-name-big {
                font-size: 24px;
            }

            .winner-stats {
                flex-direction: column;
                gap: 10px;
            }
        }

        /* =================================================================
   ARENA PHASE 8: POLISH & EDGE CASES
   ================================================================= */

        /* Empty States */
        .arena-zone-empty {
            text-align: center;
            padding: 60px 20px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 16px;
            color: #86868b;
        }

        .arena-zone-empty p {
            margin: 0;
            font-size: 16px;
        }

        .arena-zone-empty .empty-icon {
            font-size: 48px;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        /* Loading States */
        .arena-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px;
            color: #86868b;
        }

        .arena-loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #e5e5ea;
            border-top-color: var(--primary-color);
            border-radius: 50%;
            animation: arena-spin 1s linear infinite;
            margin-bottom: 15px;
        }

        @keyframes arena-spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Error States */
        .arena-error {
            background: #fff5f5;
            border: 1px solid #ffcdd2;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            color: #c62828;
        }

        .arena-error .error-icon {
            font-size: 32px;
            margin-bottom: 10px;
        }

        /* Disabled Card State (out of stock, ended, etc) */
        .arena-card-disabled {
            opacity: 0.5;
            pointer-events: none;
            filter: grayscale(50%);
        }

        .arena-card-disabled::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: repeating-linear-gradient(45deg,
                    transparent,
                    transparent 10px,
                    rgba(0, 0, 0, 0.03) 10px,
                    rgba(0, 0, 0, 0.03) 20px);
            border-radius: inherit;
            pointer-events: none;
        }

        /* Out of Stock Badge */
        .badge-out-of-stock {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #86868b;
            color: #fff;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
        }

        /* Sold Out Overlay */
        .sold-out-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: inherit;
            z-index: 5;
        }

        .sold-out-text {
            background: #ff3b30;
            color: #fff;
            padding: 10px 25px;
            font-weight: 800;
            font-size: 14px;
            text-transform: uppercase;
            transform: rotate(-15deg);
            box-shadow: 0 4px 15px rgba(255, 59, 48, 0.4);
        }

        /* Countdown Urgency Levels */
        .countdown-normal {
            color: #1d1d1f;
        }

        .countdown-warning {
            color: #ff9500;
        }

        .countdown-urgent {
            color: #ff3b30;
            font-weight: 700;
            animation: blink 1s infinite;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        /* Better Form Validation */
        .arena-input-error {
            border-color: #ff3b30 !important;
            background: #fff5f5 !important;
        }

        .arena-input-error:focus {
            box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.2) !important;
        }

        .arena-form-error-message {
            color: #ff3b30;
            font-size: 12px;
            margin-top: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Tooltip */
        .arena-tooltip {
            position: relative;
            cursor: help;
        }

        .arena-tooltip::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: #1d1d1f;
            color: #fff;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.2s ease;
            z-index: 100;
        }

        .arena-tooltip:hover::after {
            opacity: 1;
            visibility: visible;
            bottom: calc(100% + 5px);
        }

        /* Skeleton Loading */
        .arena-skeleton-card {
            background: #f5f5f7;
            border-radius: 16px;
            overflow: hidden;
        }

        .arena-skeleton-image {
            height: 150px;
            background: linear-gradient(90deg, #e5e5ea 25%, #f5f5f7 50%, #e5e5ea 75%);
            background-size: 200% 100%;
            animation: skeleton-shimmer 1.5s infinite;
        }

        .arena-skeleton-text {
            height: 16px;
            margin: 15px;
            border-radius: 4px;
            background: linear-gradient(90deg, #e5e5ea 25%, #f5f5f7 50%, #e5e5ea 75%);
            background-size: 200% 100%;
            animation: skeleton-shimmer 1.5s infinite;
        }

        .arena-skeleton-text.short {
            width: 60%;
        }

        .arena-skeleton-text.medium {
            width: 80%;
        }

        /* Better Scrollbars */
        .wheel-names-list::-webkit-scrollbar,
        .arena-activity-feed::-webkit-scrollbar,
        .bid-history-list::-webkit-scrollbar {
            width: 6px;
        }

        .wheel-names-list::-webkit-scrollbar-track,
        .arena-activity-feed::-webkit-scrollbar-track,
        .bid-history-list::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.1);
            border-radius: 3px;
        }

        .wheel-names-list::-webkit-scrollbar-thumb,
        .arena-activity-feed::-webkit-scrollbar-thumb,
        .bid-history-list::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 3px;
        }

        .wheel-names-list::-webkit-scrollbar-thumb:hover,
        .arena-activity-feed::-webkit-scrollbar-thumb:hover,
        .bid-history-list::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.5);
        }

        /* Print Styles (for winner announcements) */
        @media print {
            .arena-frontend {
                background: #fff !important;
            }

            .arena-modal-overlay {
                display: none !important;
            }

            .arena-ticker {
                display: none !important;
            }

            .arena-btn {
                display: none !important;
            }
        }

        /* High Contrast Mode Support */
        @media (prefers-contrast: high) {
            .arena-card {
                border: 2px solid #000;
            }

            .arena-btn {
                border: 2px solid currentColor;
            }
        }

        /* Reduced Motion Support */
        @media (prefers-reduced-motion: reduce) {
            .wheel {
                transition: none !important;
            }

            .confetti-piece {
                animation: none !important;
            }

            .winner-trophy {
                animation: none !important;
            }

            .arena-ticker .ticker-content {
                animation: none !important;
            }

            * {
                animation-duration: 0.01ms !important;
            }
        }

        /* Focus Visible for Accessibility */
        .arena-btn:focus-visible,
        .arena-input:focus-visible {
            outline: 3px solid #007aff;
            outline-offset: 2px;
        }

        /* Better Touch Targets for Mobile */
        @media (max-width: 768px) {
            .arena-btn-sm {
                min-height: 44px;
                min-width: 44px;
            }

            .arena-card-actions {
                gap: 8px;
            }

            .arena-nav-link {
                padding: 12px 16px;
            }
        }

        /* =================================================================
   LIVE DRAW PAGE - FULLSCREEN RAFFLE DRAW FOR EVENTS
   ================================================================= */

        /* Selector Page */
        .live-draw-selector {
            max-width: 800px;
            margin: 60px auto;
            text-align: center;
            padding: 40px;
        }

        .live-draw-selector h1 {
            font-size: 48px;
            margin-bottom: 10px;
        }

        .live-draw-selector p {
            color: #86868b;
            font-size: 18px;
            margin-bottom: 40px;
        }

        .raffle-selector-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }

        .raffle-selector-card {
            background: #fff;
            border: 2px solid #e5e5ea;
            border-radius: 16px;
            padding: 30px;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

        .raffle-selector-card:hover {
            border-color: var(--primary-color);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(226, 27, 77, 0.2);
        }

        .raffle-selector-card h3 {
            margin: 0 0 10px;
            color: #1d1d1f;
        }

        .raffle-selector-card p {
            margin: 0;
            color: #86868b;
            font-size: 14px;
        }

        /* Fullscreen Draw Page */
        .live-draw-fullscreen {
            min-height: 100vh;
            background: linear-gradient(135deg, #1d1d1f 0%, #0a0a0a 100%);
            padding: 40px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .live-draw-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .live-draw-header h1 {
            color: #ffd700;
            font-size: 48px;
            margin: 0;
            text-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
        }

        .live-draw-stats {
            color: rgba(255, 255, 255, 0.6);
            font-size: 20px;
            margin-top: 10px;
        }

        /* Main Draw Area */
        .live-draw-main {
            display: flex;
            gap: 60px;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }

        /* Live Wheel */
        .live-wheel-wrapper {
            position: relative;
            width: 400px;
            height: 400px;
        }

        .live-wheel {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 50px rgba(226, 27, 77, 0.5), 0 0 100px rgba(255, 215, 0, 0.3);
            border: 8px solid #ffd700;
        }

        .live-wheel-segment {
            position: absolute;
            width: 50%;
            height: 50%;
            top: 0;
            left: 50%;
            transform-origin: 0% 100%;
            display: flex;
            justify-content: center;
            padding-top: 25px;
            clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
        }

        .live-wheel-segment span {
            color: #fff;
            font-weight: 800;
            font-size: 14px;
            text-transform: uppercase;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .live-wheel-center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #1d1d1f, #2d2d2f);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            border: 6px solid #ffd700;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
            z-index: 10;
        }

        .live-wheel-pointer {
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 50px;
            color: #ffd700;
            z-index: 20;
            filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
            animation: pointer-bounce 0.5s infinite;
        }

        /* Live Entrants List */
        .live-entrants-list {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            padding: 25px;
            min-width: 280px;
            max-width: 350px;
            max-height: 400px;
            overflow-y: auto;
        }

        .live-entrants-list h3 {
            color: #fff;
            margin: 0 0 20px;
            text-align: center;
        }

        .live-entrant {
            padding: 15px 20px;
            color: rgba(255, 255, 255, 0.8);
            border-radius: 10px;
            margin-bottom: 10px;
            transition: all 0.15s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.03);
        }

        .live-entrant .entrant-name {
            font-weight: 600;
        }

        .live-entrant .entrant-stats {
            font-size: 13px;
            opacity: 0.7;
        }

        .live-entrant.highlight {
            background: rgba(255, 215, 0, 0.2);
            color: #ffd700;
            transform: scale(1.05);
        }

        .live-entrant.winner {
            background: linear-gradient(135deg, rgba(226, 27, 77, 0.4), rgba(255, 215, 0, 0.4));
            color: #fff;
            animation: winner-glow-name 1s infinite;
            transform: scale(1.1);
        }

        /* Draw Actions */
        .live-draw-actions {
            margin-bottom: 30px;
        }

        .live-draw-actions .arena-btn-lg {
            padding: 25px 80px;
            font-size: 24px;
            animation: pulse-button 2s infinite;
        }

        @keyframes pulse-button {

            0%,
            100% {
                box-shadow: 0 4px 20px rgba(226, 27, 77, 0.4);
            }

            50% {
                box-shadow: 0 4px 40px rgba(226, 27, 77, 0.8);
            }
        }

        .live-draw-status {
            color: #ffd700;
            font-size: 24px;
            font-weight: 700;
            min-height: 30px;
        }

        /* Winner Overlay */
        .live-winner-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100000;
        }

        .live-winner-content {
            text-align: center;
            position: relative;
        }

        .live-confetti {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            overflow: hidden;
        }

        .live-confetti-piece {
            position: absolute;
            top: -30px;
            border-radius: 4px;
            animation: live-confetti-fall 5s linear forwards;
        }

        @keyframes live-confetti-fall {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
            }

            100% {
                transform: translateY(100vh) rotate(1080deg);
                opacity: 0;
            }
        }

        .live-winner-trophy {
            font-size: 150px;
            animation: trophy-mega-bounce 1s ease infinite;
            filter: drop-shadow(0 20px 50px rgba(255, 215, 0, 0.5));
        }

        @keyframes trophy-mega-bounce {

            0%,
            100% {
                transform: scale(1) rotate(-10deg);
            }

            50% {
                transform: scale(1.2) rotate(10deg);
            }
        }

        .live-winner-title {
            color: #ffd700;
            font-size: 80px;
            font-weight: 900;
            margin: 30px 0;
            text-shadow: 0 6px 30px rgba(255, 215, 0, 0.6);
            animation: title-mega-glow 2s ease infinite;
        }

        @keyframes title-mega-glow {

            0%,
            100% {
                text-shadow: 0 6px 30px rgba(255, 215, 0, 0.6);
            }

            50% {
                text-shadow: 0 6px 60px rgba(255, 215, 0, 1), 0 0 100px rgba(226, 27, 77, 0.6);
            }
        }

        .live-winner-name {
            color: #fff;
            font-size: 60px;
            font-weight: 800;
            margin-bottom: 20px;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }

        .live-winner-stats {
            color: rgba(255, 255, 255, 0.7);
            font-size: 24px;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .live-draw-fullscreen {
                padding: 20px;
            }

            .live-draw-header h1 {
                font-size: 32px;
            }

            .live-wheel-wrapper {
                width: 280px;
                height: 280px;
            }

            .live-entrants-list {
                max-height: 200px;
                width: 100%;
            }

            .live-draw-actions .arena-btn-lg {
                padding: 20px 50px;
                font-size: 18px;
            }

            .live-winner-trophy {
                font-size: 80px;
            }

            .live-winner-title {
                font-size: 48px;
            }

            .live-winner-name {
                font-size: 36px;
            }
        }

        /* =================================================================
   STORE ORDERS MANAGEMENT - ADMIN
   ================================================================= */

        /* Stats Bar */
        .store-stats-bar {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .store-stat-item {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #fff;
            padding: 15px 20px;
            border-radius: 12px;
            border: 1px solid #e5e5ea;
            flex: 1;
            min-width: 140px;
        }

        .store-stat-icon {
            font-size: 28px;
        }

        .store-stat-info {
            display: flex;
            flex-direction: column;
        }

        .store-stat-value {
            font-size: 24px;
            font-weight: 800;
            color: #1d1d1f;
            line-height: 1;
        }

        .store-stat-label {
            font-size: 12px;
            color: #86868b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .store-stat-item.pending .store-stat-value {
            color: #ff9500;
        }

        .store-stat-item.approved .store-stat-value {
            color: #34c759;
        }

        .store-stat-item.completed .store-stat-value {
            color: #007aff;
        }

        .store-stat-item.revenue .store-stat-value {
            color: #b8860b;
        }

        /* Sub-tabs */
        .store-subtabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 2px solid #e5e5ea;
            padding-bottom: 15px;
        }

        .store-subtab {
            padding: 12px 24px;
            border: none;
            background: #f5f5f7;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .store-subtab:hover {
            background: #e5e5ea;
        }

        .store-subtab.active {
            background: var(--primary-color);
            color: #fff;
        }

        .subtab-badge {
            background: #fff;
            color: var(--primary-color);
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 12px;
            font-weight: 700;
        }

        .store-subtab.active .subtab-badge {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
        }

        /* Order Filters */
        .orders-filters {
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .order-filter {
            padding: 8px 16px;
            border: 1px solid #e5e5ea;
            background: #fff;
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .order-filter:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .order-filter.active {
            background: #1d1d1f;
            color: #fff;
            border-color: #1d1d1f;
        }

        /* Orders List */
        .orders-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .orders-empty {
            text-align: center;
            padding: 60px 20px;
            background: #f9f9fb;
            border-radius: 16px;
            color: #86868b;
        }

        .orders-empty .empty-icon {
            font-size: 48px;
            display: block;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        /* Order Card */
        .order-card {
            background: #fff;
            border: 1px solid #e5e5ea;
            border-radius: 12px;
            padding: 16px;
            transition: all 0.2s ease;
        }

        .order-card:hover {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .order-card[data-status="pending"] {
            border-left: 4px solid #ff9500;
        }

        .order-card[data-status="approved"] {
            border-left: 4px solid #34c759;
        }

        .order-card[data-status="completed"] {
            border-left: 4px solid #007aff;
            opacity: 0.7;
        }

        .order-card[data-status="cancelled"] {
            border-left: 4px solid #ff3b30;
            opacity: 0.5;
        }

        .order-card-main {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .order-item-image {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            overflow: hidden;
            background: #f5f5f7;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .order-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .order-item-image .no-image {
            font-size: 24px;
            opacity: 0.4;
        }

        .order-details {
            flex: 1;
            min-width: 0;
        }

        .order-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 6px;
            flex-wrap: wrap;
        }

        .order-item-name {
            margin: 0;
            font-size: 15px;
            font-weight: 700;
            color: #1d1d1f;
        }

        .order-badge {
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .badge-pending {
            background: #fff3e0;
            color: #ff9500;
        }

        .badge-approved {
            background: #e8f5e9;
            color: #34c759;
        }

        .badge-completed {
            background: #e3f2fd;
            color: #007aff;
        }

        .badge-cancelled {
            background: #ffebee;
            color: #ff3b30;
        }

        .badge-refunded {
            background: #fce4ec;
            color: #e91e63;
        }

        .order-meta {
            display: flex;
            gap: 15px;
            font-size: 13px;
            color: #86868b;
            flex-wrap: wrap;
        }

        .order-notes {
            margin-top: 8px;
            font-size: 12px;
            color: #666;
            background: #f9f9fb;
            padding: 8px 12px;
            border-radius: 8px;
            white-space: pre-wrap;
        }

        .order-actions {
            display: flex;
            gap: 8px;
            flex-shrink: 0;
            align-items: center;
        }

        .order-complete-badge {
            color: #34c759;
            font-weight: 700;
            font-size: 13px;
        }

        /* Order Details Modal */
        .order-detail-view {
            padding: 10px;
        }

        .order-detail-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding-bottom: 20px;
            border-bottom: 1px solid #e5e5ea;
            margin-bottom: 20px;
            gap: 20px;
            flex-wrap: wrap;
        }

        .order-detail-item {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .order-detail-item img {
            width: 80px;
            height: 80px;
            border-radius: 10px;
            object-fit: cover;
        }

        .order-detail-item h3 {
            margin: 0 0 8px;
            font-size: 18px;
        }

        .order-detail-cost {
            text-align: right;
        }

        .cost-amount {
            font-size: 28px;
            font-weight: 800;
            color: #b8860b;
            display: block;
        }

        .cost-label {
            font-size: 12px;
            color: #86868b;
            text-transform: uppercase;
        }

        .order-detail-section {
            margin-bottom: 20px;
        }

        .order-detail-section h4 {
            margin: 0 0 10px;
            font-size: 14px;
            color: #86868b;
            text-transform: uppercase;
        }

        .order-detail-section p {
            margin: 5px 0;
            color: #1d1d1f;
        }

        .customer-info a {
            color: #007aff;
            text-decoration: none;
        }

        .order-history-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .history-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 12px;
            background: #f9f9fb;
            border-radius: 8px;
            font-size: 13px;
        }

        .history-action {
            font-weight: 600;
        }

        .history-meta {
            color: #86868b;
        }

        .order-detail-actions {
            display: flex;
            gap: 10px;
            padding-top: 20px;
            border-top: 1px solid #e5e5ea;
            flex-wrap: wrap;
        }

        /* Products Grid in Store Tab */
        .product-card .arena-card-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .store-stats-bar {
                flex-direction: column;
            }

            .store-stat-item {
                min-width: 100%;
            }

            .store-subtabs {
                flex-direction: column;
            }

            .store-subtab {
                justify-content: center;
            }

            .orders-filters {
                overflow: visible;
                flex-wrap: nowrap;
                padding-bottom: 10px;
                flex-wrap: nowrap;
            }

            .order-filter {
                white-space: nowrap;
                flex-shrink: 0;
            }

            .order-card-main {
                flex-wrap: wrap;
            }

            .order-item-image {
                width: 50px;
                height: 50px;
            }

            .order-details {
                width: calc(100% - 66px);
            }

            .order-actions {
                width: 100%;
                justify-content: flex-start;
                padding-top: 10px;
                border-top: 1px solid #f0f0f0;
                margin-top: 10px;
            }

            .order-meta {
                flex-direction: column;
                gap: 4px;
            }

            .order-detail-header {
                flex-direction: column;
            }

            .order-detail-cost {
                text-align: left;
            }

            .history-item {
                flex-direction: column;
                gap: 4px;
            }
        }

        @media (max-width: 480px) {
            .store-stat-value {
                font-size: 20px;
            }

            .order-item-name {
                font-size: 14px;
            }

            .arena-btn-sm {
                padding: 8px 12px;
                font-size: 12px;
            }
        }

        /* =========================================
   ARENA FRONTEND TICKER (SHORTCODE)
   ========================================= */
        .olami-front-ticker-wrapper {
            display: flex;
            align-items: center;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            height: 60px;
            border: 1px solid #eee;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
            margin-bottom: 20px;
        }

        /* LEFT LABEL: LIVE FEED */
        .oft-label {
            display: flex;
            align-items: center;
            background: var(--primary-color);
            color: #fff;
            height: 100%;
            padding: 0 20px;
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 0.5px;
            flex-shrink: 0;
            position: relative;
            z-index: 2;
        }

        .oft-label::after {
            content: '';
            position: absolute;
            right: -10px;
            top: 50%;
            transform: translateY(-50%) rotate(45deg);
            width: 20px;
            height: 20px;
            background: var(--primary-color);
            z-index: -1;
        }

        .oft-dot {
            width: 8px;
            height: 8px;
            background: #fff;
            border-radius: 50%;
            margin-right: 8px;
            animation: oftPulse 1.5s infinite;
        }

        @keyframes oftPulse {
            0% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.5;
                transform: scale(0.8);
            }

            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* CENTER: TICKER SCROLL */
        .oft-ticker-container {
            flex-grow: 1;
            height: 100%;
            position: relative;
            overflow: hidden;
            background: #f9f9f9;
        }

        .oft-ticker-container .ticker-content {
            display: flex;
            align-items: center;
            position: absolute;
            white-space: nowrap;
            animation: ticker-slide 30s linear infinite;
            height: 100%;
        }

        .oft-ticker-container .ticker-item {
            padding: 0 30px;
            color: #333;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
        }

        .oft-ticker-container .ticker-item strong {
            color: var(--primary-color);
            margin: 0 4px;
        }

        /* RIGHT: CTA BUTTON */
        .oft-cta {
            display: flex;
            align-items: center;
            height: 100%;
            padding: 0 25px;
            background: #1d1d1f;
            color: #fff !important;
            font-weight: 600;
            font-size: 14px;
            text-decoration: none !important;
            transition: all 0.2s ease;
            flex-shrink: 0;
            z-index: 2;
        }

        .oft-cta:hover {
            background: #000;
            padding-right: 30px;
            /* Slide effect */
        }

        .oft-cta-icon {
            margin-left: 8px;
            transition: transform 0.2s ease;
        }

        .oft-cta:hover .oft-cta-icon {
            transform: translateX(3px);
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .olami-front-ticker-wrapper {
                flex-direction: column;
                height: auto;
            }

            .oft-label {
                width: 100%;
                height: 40px;
                justify-content: center;
            }

            .oft-label::after {
                display: none;
            }

            .oft-ticker-container {
                width: 100%;
                height: 40px;
                border-bottom: 1px solid #eee;
            }

            .oft-cta {
                width: 100%;
                height: 40px;
                justify-content: center;
            }
        }

        /* od-wallet-hero height rule removed */

        /* Reduce card height override */
        .ob-actions {
            margin-top: 15px;
            margin-bottom: 0;
        }

        .od-activity-coins {
            font-weight: 700;
        }

        .od-activity-coins.negative {
            color: #d32f2f;
        }

        /* --- OLAMI BANKING INTEGRZATION --- */
        .od-wallet-column {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .ob-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            width: 100%;
        }

        .ob-btn {
            background: #fff;
            border: 1px solid #e5e5ea;
            padding: 12px;
            border-radius: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 600;
            color: #1d1d1f;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 14px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .ob-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            background: #f9f9f9;
        }

        .ob-btn-primary {
            background: #007aff;
            color: #fff;
            border: none;
        }

        .ob-btn-primary:hover {
            background: var(--secondary-color);
        }

        /* Bank Modal */
        .ob-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 99999;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }

        .ob-modal.active {
            display: flex;
        }

        .ob-modal-content {
            background: #fff;
            width: 90%;
            max-width: 400px;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            animation: obPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
        }

        @keyframes obPop {
            from {
                transform: scale(0.9);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .ob-input {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 10px;
            font-size: 16px;
            box-sizing: border-box;
        }

        /* Reduce Wallet Hero Height - OVERRIDDEN BY USER REQUEST */
        /* --- DASHBOARD CARD HEIGHT SETTING (USER EDIT HERE) --- */
        .od-wallet-hero {
            min-height: 220px !important;
            height: 220px !important;
            /* Force explicit height */
            padding-bottom: 20px !important;
            display: flex !important;
            flex-direction: column !important;
        }

        .od-wallet-content {
            flex-grow: 1 !important;
            height: 100% !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
        }

        /* Apple-style Animations */
        .ob-btn {
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .ob-btn:active {
            transform: scale(0.96);
        }

        .ob-modal-content {
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
        }

        .arena-wallet {
            transition: transform 0.2s ease, opacity 0.2s ease;
            cursor: pointer;
        }

        .arena-wallet:hover {
            transform: scale(1.05);
            opacity: 0.9;
        }

        /* =================================================================
   PAID EVENTS & TICKET BADGES
   ================================================================= */

        /* 1. Boarding Pass Badge (Top Right) */
        .olami-price-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            /* Moved to left as per user preference/image hint */
            right: auto;
            background: rgba(0, 0, 0, 0.6);
            /* Semi-transparent background for contrast */
            backdrop-filter: blur(5px);
            color: #FFD700;
            padding: 8px 16px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 800;
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), inset 0 0 10px rgba(255, 215, 0, 0.2);
            z-index: 20;
            border: 1px solid rgba(255, 215, 0, 0.5);
            animation: super-glow 2s infinite alternate;
        }

        .opb-amount {
            font-size: 18px;
            text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
        }

        @keyframes super-glow {
            from {
                box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
                transform: scale(1);
            }

            to {
                box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
                transform: scale(1.05);
            }
        }

        /* 2. Feed Ticket Badge (Top Right of Card) */
        .olami-price-badge-fed {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            color: #FFD700;
            padding: 6px 12px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 800;
            box-shadow: 0 0 15px rgba(255, 215, 0, 0.5), inset 0 0 10px rgba(255, 215, 0, 0.2);
            z-index: 10;
            border: 1px solid rgba(255, 215, 0, 0.5);
            animation: super-glow 2s infinite alternate;
        }

        .olami-price-badge {
            font-weight: 700;
            font-size: 12px;
            color: #d32f2f;
            /* Red cost */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            border: 1px solid #eee;
            animation: badge-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* Shine Animation */
        .olami-price-badge::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
            transform: skewX(-25deg);
            animation: shine-sweep 3s infinite;
        }

        @keyframes shine-sweep {
            0% {
                left: -100%;
            }

            20% {
                left: 200%;
            }

            100% {
                left: 200%;
            }
        }

        @keyframes gold-pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
            }

            70% {
                transform: scale(1.05);
                box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
            }

            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
            }
        }

        /* 3. Earn Button (Gold) */
        .obp-btn.btn-earn {
            background: linear-gradient(135deg, #1d1d1f, #333);
            border: 1px solid #444;
            color: #FFD700;
            /* Gold text */
            font-weight: 800;
        }

        .obp-btn.btn-earn:hover {
            background: #000;
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
        }

        /* =================================================================
   MOBILE TWEAKS (HARDENING)
   ================================================================= */
        @media (max-width: 480px) {

            /* Prevent badge overlap */
            .ot-title,
            .obp-title {
                padding-right: 80px !important;
                white-space: normal !important;
                overflow: visible !important;
                height: auto !important;
            }

            /* Shrink Earn Button text if long */
            .obp-btn.btn-earn {
                font-size: 11px !important;
                padding: 10px 5px !important;
            }
        }

        /* Quantity Stepper Buttons - Refined */
        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: center;
            margin: 20px 0;
        }

        .qty-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #1d1d1f;
            /* Soft black */
            color: #fff;
            border: none;
            font-size: 20px;
            font-weight: 400;
            line-height: 1;
            /* Critical for vertical centering */
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s, transform 0.1s;
            padding: 0 0 2px 0;
            /* Slight visual adjustment */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .qty-btn:active {
            transform: scale(0.95);
            background: #000;
        }

        #raffle-qty-input {
            width: 70px;
            height: 50px;
            text-align: center;
            font-size: 24px;
            font-weight: 700;
            border: 1px solid #d2d2d7;
            /* Standard Apple-esque gray */
            border-radius: 12px;
            padding: 0;
            background: #fff;
            color: #1d1d1f;
            -moz-appearance: textfield;
            /* Remove spinner on FF */
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
        }

        #raffle-qty-input:focus {
            border-color: #0071e3;
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
        }

        /* Remove spinner on Webkit */
        #raffle-qty-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        /* RSVP Family Pill Fix */
        .ot-pill {
            cursor: pointer;
            position: relative;
        }

        .ot-pill input {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .ot-pill span {
            display: inline-block;
            padding: 5px 12px !important;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .ot-pill:hover span {
            background: rgba(255, 255, 255, 0.25);
        }

        /* ACTIVE STATE: Bright White + Brand Color Text */
        .ot-pill input:checked+span {
            background: #ffffff !important;
            color: var(--primary-color, #E21B4D) !important;
            border-color: #ffffff !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            transform: translateY(-1px);
        }
/* =========================================
   DUAL ENGAGEMENT LAYOUT (Poll + Trivia)
   ========================================= */

/* SINGLE ENGAGEMENT: Trivia OR Poll alone - EXACT height match with other cards */
.sec-active-layout .od-poll-col .sec-poll-card,
.sec-active-layout .od-poll-col .sec-trivia-card {
    max-height: 340px;
    min-height: 340px;
    height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    display: flex;
    flex-direction: column;
}

.sec-active-layout .od-poll-col .sec-trivia-card {
    padding: 18px;
}

.sec-active-layout .od-poll-col .sec-trivia-question {
    font-size: 16px;
    margin-bottom: 14px;
    line-height: 1.3;
}

.sec-active-layout .od-poll-col .sec-trivia-options {
    gap: 8px;
}

.sec-active-layout .od-poll-col .sec-trivia-opt {
    padding: 10px 14px;
    gap: 10px;
    font-size: 14px;
}

.sec-active-layout .od-poll-col .sec-trivia-opt-letter {
    width: 26px;
    height: 26px;
    font-size: 12px;
    border-radius: 8px;
}

.sec-active-layout .od-poll-col .sec-trivia-header {
    margin-bottom: 10px;
}

.sec-active-layout .od-poll-col .sec-trivia-reward {
    top: 10px;
    left: 10px;
    font-size: 10px;
    padding: 4px 10px;
}

.sec-active-layout .od-poll-col .sec-trivia-timer {
    top: 10px;
    right: 10px;
    font-size: 11px;
}

.sec-active-layout .od-poll-col .sec-trivia-badge {
    font-size: 10px;
    padding: 4px 10px;
}

.sec-active-layout .od-poll-col .sec-trivia-category {
    font-size: 9px;
}

/* Hide streak in compact mode */
.sec-active-layout .od-poll-col .sec-trivia-streak {
    display: none;
}

/* DUAL ENGAGEMENT: Both poll AND trivia - side by side in 2x2 grid */
.sec-dual-engagement {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    grid-template-rows: auto auto;
    gap: 20px;
}

.sec-dual-engagement .od-engagement-col {
    grid-column: span 2;
    grid-row: span 2;
}

.sec-dual-engagement .od-wallet-col {
    grid-column: span 1;
    grid-row: span 1;
}

.sec-dual-engagement .od-right-col {
    grid-column: span 1;
    grid-row: span 1;
}

.od-engagement-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    height: 100%;
}

/* Both cards side by side, equal height */
.sec-dual-engagement .od-engagement-stack .sec-poll-card,
.sec-dual-engagement .od-engagement-stack .sec-trivia-card {
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    margin: 0;
    height: 100%;
}

.sec-dual-engagement .od-engagement-stack .sec-poll-card {
    padding: 16px;
}

.sec-dual-engagement .od-engagement-stack .sec-trivia-card {
    padding: 16px;
}

.sec-dual-engagement .od-engagement-stack .sec-poll-q,
.sec-dual-engagement .od-engagement-stack .sec-trivia-question {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sec-dual-engagement .od-engagement-stack .sec-poll-opt {
    padding: 8px 12px;
    font-size: 12px;
    margin-bottom: 6px;
}

.sec-dual-engagement .od-engagement-stack .sec-trivia-options {
    gap: 6px;
}

.sec-dual-engagement .od-engagement-stack .sec-trivia-opt {
    padding: 8px 10px;
    font-size: 12px;
    gap: 8px;
}

.sec-dual-engagement .od-engagement-stack .sec-trivia-opt-letter {
    width: 22px;
    height: 22px;
    font-size: 10px;
    border-radius: 6px;
}

.sec-dual-engagement .od-engagement-stack .sec-trivia-header {
    margin-bottom: 8px;
}

.sec-dual-engagement .od-engagement-stack .sec-trivia-reward {
    top: 8px;
    left: 8px;
    font-size: 9px;
    padding: 3px 8px;
}

.sec-dual-engagement .od-engagement-stack .sec-trivia-timer {
    top: 8px;
    right: 8px;
    font-size: 9px;
}

.sec-dual-engagement .od-engagement-stack .sec-trivia-badge {
    font-size: 9px;
    padding: 3px 8px;
}

.sec-dual-engagement .od-engagement-stack .sec-trivia-category {
    font-size: 8px;
}

.sec-dual-engagement .od-engagement-stack .sec-trivia-streak {
    display: none;
}

/* Tablet: 2 columns for engagement, stack wallet/activity */
@media screen and (max-width: 1100px) {
    .sec-dual-engagement {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .sec-dual-engagement .od-engagement-col {
        grid-column: span 2;
    }
    
    .sec-dual-engagement .od-wallet-col,
    .sec-dual-engagement .od-right-col {
        grid-column: span 1;
    }
}

/* ==========================================
   MOBILE COMPACT STYLES
   ========================================== */
@media screen and (max-width: 768px) {
    /* Dual engagement mobile */
    .sec-dual-engagement {
        grid-template-columns: 1fr !important;
    }
    
    .sec-dual-engagement .od-engagement-col,
    .sec-dual-engagement .od-wallet-col,
    .sec-dual-engagement .od-right-col {
        grid-column: span 1;
    }
    
    .od-engagement-stack {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* COMPACT MOBILE CARDS */
    .sec-dual-engagement .od-engagement-stack .sec-poll-card,
    .sec-dual-engagement .od-engagement-stack .sec-trivia-card,
    .sec-active-layout .od-poll-col .sec-poll-card,
    .sec-active-layout .od-poll-col .sec-trivia-card,
    .sec-poll-card,
    .sec-trivia-card {
        max-height: none;
        min-height: auto;
        height: auto;
        padding: 16px !important;
        margin-bottom: 12px;
        border-radius: 16px;
    }
    
    /* Compact question text */
    .sec-poll-q,
    .sec-trivia-question,
    .sec-dual-engagement .od-engagement-stack .sec-poll-q,
    .sec-dual-engagement .od-engagement-stack .sec-trivia-question,
    .sec-active-layout .od-poll-col .sec-trivia-question {
        font-size: 15px !important;
        margin-bottom: 12px !important;
        line-height: 1.3;
    }
    
    /* Compact options */
    .sec-poll-opt,
    .sec-dual-engagement .od-engagement-stack .sec-poll-opt,
    .sec-active-layout .od-poll-col .sec-poll-opt {
        padding: 10px 14px !important;
        font-size: 13px !important;
        margin-bottom: 6px !important;
        border-radius: 10px;
    }
    
    .sec-trivia-options,
    .sec-dual-engagement .od-engagement-stack .sec-trivia-options,
    .sec-active-layout .od-poll-col .sec-trivia-options {
        gap: 6px !important;
    }
    
    .sec-trivia-opt,
    .sec-dual-engagement .od-engagement-stack .sec-trivia-opt,
    .sec-active-layout .od-poll-col .sec-trivia-opt {
        padding: 10px 12px !important;
        font-size: 13px !important;
        gap: 10px !important;
        border-radius: 10px;
    }
    
    .sec-trivia-opt-letter,
    .sec-dual-engagement .od-engagement-stack .sec-trivia-opt-letter,
    .sec-active-layout .od-poll-col .sec-trivia-opt-letter {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    /* Compact header badges */
    .sec-trivia-header {
        margin-bottom: 10px !important;
    }
    
    .sec-trivia-badge {
        font-size: 10px !important;
        padding: 4px 10px !important;
    }
    
    .sec-trivia-category {
        font-size: 9px !important;
    }
    
    .sec-trivia-reward {
        top: 8px !important;
        left: 8px !important;
        font-size: 10px !important;
        padding: 4px 10px !important;
    }
    
    .sec-trivia-timer {
        top: 8px !important;
        right: 8px !important;
        font-size: 11px !important;
    }
    
    /* Hide streak on mobile */
    .sec-trivia-streak {
        display: none;
    }
}
