*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; width: 100%; }
                :root {
            --bg-color: #f4f6f9;
            --sidebar-bg: #ffffff;
            --sidebar-hover: #f3f4f6;
            --sidebar-text: #4b5563;
            --sidebar-active: #007bff;
            --card-bg: #ffffff;
            --text-main: #333333;
            --text-muted: #6c757d;
            --success: #28a745;
            --accent: #dc3545;
            --primary: #007bff;
            --secondary: #17a2b8;
            --header-bg: #ffffff;
            --border-color: #dee2e6;
        }

        /* Custom Modal & Toast */
        .custom-modal-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px);
            display: none; align-items: center; justify-content: center;
            z-index: 9999; opacity: 0; transition: opacity 0.3s;
        }
        .custom-modal-overlay.active { display: flex; opacity: 1; }
        .custom-modal {
            background: var(--card-bg); border: 1px solid var(--border-color);
            border-radius: 16px; padding: 25px 30px; width: 90%; max-width: 400px;
            text-align: center; box-shadow: 0 15px 30px rgba(0,0,0,0.5);
            transform: translateY(20px); transition: transform 0.3s;
        }
        .custom-modal-overlay.active .custom-modal { transform: translateY(0); }
        .custom-modal-title { font-size: 1.3rem; color: var(--text-main); margin-bottom: 10px; font-weight: 700; }
        .custom-modal-text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; }
        .custom-modal-actions { display: flex; gap: 15px; justify-content: center; }
        .custom-modal-btn {
            padding: 10px 20px; border-radius: 8px; border: none;
            font-family: 'Prompt', sans-serif; font-weight: 600; cursor: pointer; flex: 1;
            transition: opacity 0.2s;
        }
        .custom-modal-btn:hover { opacity: 0.8; }
        .btn-cancel { background: #e5e7eb; color: #374151; }
        .btn-confirm { background: #ef4444; color: #ffffff; }

        .toast-container {
            position: fixed; top: 20px; right: 20px; display: flex;
            flex-direction: column; gap: 10px; z-index: 99999;
        }
        .custom-toast {
            color: #ffffff; padding: 12px 20px; border-radius: 8px; font-weight: 600;
            font-size: 0.9rem; display: flex; align-items: center; gap: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            animation: toast-in 0.3s forwards, toast-out 0.3s forwards 2.7s;
        }
        .toast-success { background: #3b82f6; }
        .toast-error { background: #ef4444; }

        @keyframes toast-in { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        @keyframes toast-out { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }
        
        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2); 
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb {
            background: rgba(0, 198, 255, 0.5); /* var(--primary) with opacity */
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary); 
        }
        body {
            font-family: 'Prompt', sans-serif;
            background: var(--bg-color);
            color: var(--text-main);
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            box-sizing: border-box;
            overflow-x: hidden;
        
            overflow-x: hidden !important;
        }
        .container {
            width: 100%;
        }
        .app-wrapper {
            display: flex;
            width: 100%;
            min-height: 100vh;
        }
        
        /* Sidebar Styles */
        .main-sidebar {
            border-right: 1px solid var(--border-color);
            width: 250px;
            background: var(--sidebar-bg);
            color: var(--sidebar-text);
            display: flex;
            flex-direction: column;
            transition: all 0.3s;
            position: fixed;
            height: 100vh;
            z-index: 1000;
            left: 0;
            top: 0;
        }
        .sidebar-header {
            padding: 20px;
            text-align: center;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-main);
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .close-sidebar {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
            color: var(--text-main);
        }
        .sidebar-user {
            padding: 20px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .sidebar-menu {
            list-style: none;
            padding: 0;
            margin: 0;
            flex: 1;
            overflow-y: auto;
        }
        .sidebar-menu li {
            border-bottom: 1px solid var(--border-color);
        }
        .sidebar-menu a {
            display: block;
            padding: 15px 20px;
            color: var(--sidebar-text);
            text-decoration: none;
            transition: all 0.2s;
            font-size: 0.95rem;
        }
        .sidebar-menu a:hover {
            background: var(--sidebar-hover);
            color: var(--primary);
        }
        .sidebar-menu a.active {
            background: var(--sidebar-active);
            color: #fff;
            border-left: 4px solid #fff;
        }
        .sidebar-footer {
            padding: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        
        /* Main Content Styles */
        .main-content {
            flex: 1;
            margin-left: 250px;
            display: flex;
            flex-direction: column;
            transition: all 0.3s;
            min-height: 100vh;
            width: calc(100% - 250px);
        }
        .top-navbar {
            background: var(--header-bg);
            padding: 15px 20px;
            display: flex;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.04);
            position: sticky;
            top: 0;
            z-index: 999;
        }
        .hamburger-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-main);
            margin-right: 15px;
            display: none;
        }
        .content-wrapper {
            padding: 30px;
            background: var(--bg-color);
            flex: 1;
        }
        
        
        .user-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        .user-card {
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            position: relative;
            transition: box-shadow 0.2s;
        }
        .user-card:hover {
            box-shadow: 0 8px 15px rgba(0,0,0,0.1);
        }
        .user-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed var(--border-color);
        }
        .user-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #f3f4f6;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: #9ca3af;
            overflow: hidden;
            border: 2px solid #e5e7eb;
        }
        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .user-info {
            flex: 1;
            overflow: hidden;
        }
        .user-name {
            font-weight: 600;
            color: var(--text-main);
            font-size: 1.05rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .user-email {
            color: var(--text-muted);
            font-size: 0.85rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .user-uid {
            font-size: 0.75rem;
            color: #6b7280;
            font-family: monospace;
            background: #f3f4f6;
            padding: 3px 8px;
            border-radius: 6px;
            margin-top: 5px;
            display: inline-block;
            border: 1px solid #e5e7eb;
        }
        .user-uid:hover {
            background: #e5e7eb;
        }
        .user-body {
            flex: 1;
            font-size: 0.9rem;
            color: var(--text-main);
        }
        .user-stat {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        .user-stat-label {
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .user-stat-label i {
            width: 16px;
            text-align: center;
            color: #9ca3af;
        }
        .badge {
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        .badge-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
        .badge-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
        .badge-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
        .badge-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
        .badge-gray { background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; }
        .user-footer {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .btn-delete-user {
            background: #fff;
            color: #ef4444;
            border: 1px solid #fecaca;
            padding: 8px 15px;
            border-radius: 6px;
            cursor: pointer;
            font-family: 'Prompt', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
        }
        .btn-delete-user:hover {
            background: #fee2e2;
            border-color: #fca5a5;
        }

          /* Card Sections */
        #lotto-admin-section, #lao-admin-section, #promo-admin-section, #fcm-admin-section, #user-admin-section {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            margin-bottom: 30px;
        }
        
        @media (max-width: 768px) {
            .hamburger-btn { display: inline-block; }
            .main-sidebar {
            border-right: 1px solid var(--border-color);
                left: -250px;
            }
            .main-sidebar.mobile-open {
                left: 0;
            }
            .main-content {
                margin-left: 0;
                width: 100%;
            }
            .close-sidebar {
                display: block;
            }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        h1 { text-align: left; font-size: 2rem; margin-bottom: 20px; margin-top: 0; color: var(--primary); }
        
        .header-actions {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 20px;
        }
        .btn-logout {
            background: rgba(255, 75, 43, 0.2);
            border: 1px solid rgba(255, 75, 43, 0.5);
            color: #ff8a75;
            padding: 8px 16px;
            border-radius: 8px;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s;
            cursor: pointer;
        }
        .btn-logout:hover {
            background: rgba(255, 75, 43, 0.4);
            color: var(--text-main);
        }
        .form-group {
            display: flex;
            gap: 10px;
            margin-bottom: 30px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .form-group input[type="text"], .check-input { flex: 1; min-width: 180px; padding: 12px 20px; border-radius: 8px; border: 1px solid var(--border-color); background: #fff; color: var(--text-main);
            font-family: 'Prompt', sans-serif;
            font-size: 1rem;
            outline: none;
        }
        .form-group button, .btn-check, .btn-archive, .btn-login {
            padding: 15px 30px;
            border-radius: 50px;
            border: none;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: var(--text-main);
            font-family: 'Prompt', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
            justify-content: center;
        }
        .btn-archive {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
        }
        .btn-archive:hover {
            background: rgba(255, 255, 255, 0.2);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        .form-group button:hover, .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0, 114, 255, 0.4);
        }
        .form-group button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .main-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }
        @media (min-width: 900px) {
            .main-layout {
                grid-template-columns: 320px 1fr;
            }
        }
        
        .archive-sidebar {
            background: #f8f9fa;
            border-radius: 16px;
            padding: 20px;
            border: 1px solid rgba(255,255,255,0.05);
            max-height: 800px;
            overflow-y: auto;
        }
        .sidebar h3 {
            margin-top: 0;
            color: var(--primary);
            font-size: 1.1rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 15px;
            margin-bottom: 15px;
        }
        .saved-item { background: #fff; border-radius: 12px; padding: 15px; margin-bottom: 12px; border: 1px solid var(--border-color); box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .saved-item:hover { background: #f1f5f9; box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            transform: translateX(5px);
        }
        .saved-title {
            font-weight: 600;
            color: var(--text-main);
        }
        .saved-meta {
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        .btn-view {
            background: rgba(0, 198, 255, 0.1);
            color: var(--primary);
            border: 1px solid rgba(0, 198, 255, 0.3);
            padding: 8px 10px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.85rem;
            text-align: center;
            transition: all 0.2s;
            font-weight: 600;
            cursor: pointer;
            border: none;
            width: 100%;
        }
        .btn-view:hover {
            background: rgba(0, 198, 255, 0.3);
            color: var(--text-main);
        }

        .status-box {
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 30px;
        }
        .status-success {
            background-color: rgba(16, 185, 129, 0.1);
            color: var(--success);
            border: 1px solid rgba(16, 185, 129, 0.3);
        }
        .status-error {
            background-color: rgba(255, 75, 43, 0.1);
            color: var(--accent);
            border: 1px solid rgba(255, 75, 43, 0.3);
        }
        .status-loading {
            background-color: rgba(0, 198, 255, 0.1);
            color: var(--primary);
            border: 1px solid rgba(0, 198, 255, 0.3);
        }
        
        .data-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }
        .data-card { background: #fff; border-radius: 16px; padding: 20px; text-align: center; border: 1px solid var(--border-color); box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        }
        .data-card h3 {
            margin: 0 0 10px 0;
            color: var(--primary);
            font-size: 1.1rem;
        }
        .data-card .number {
            font-size: 1.6rem;
            font-weight: 700;
            letter-spacing: 2px;
            color: var(--text-main);
        }
        
        .prize-section { margin-top: 20px; background: #f8f9fa; border-radius: 12px; padding: 20px; border: 1px solid var(--border-color);
        }
        .prize-title {
            color: var(--secondary);
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 10px;
            margin-bottom: 15px;
            margin-top: 0;
            font-size: 1.1rem;
        }
        .prize-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
            gap: 10px;
        }
        .prize-number { background: #fff; padding: 8px 5px; text-align: center; border-radius: 6px; font-family: monospace; font-size: 1rem; color: var(--text-main); border: 1px solid var(--border-color); font-weight: bold;
        }
        
        .spinner {
            border: 4px solid rgba(255,255,255,0.1);
            border-left-color: var(--primary);
            border-radius: 50%;
            width: 24px;
            height: 24px;
            animation: spin 1s linear infinite;
            display: inline-block;
            vertical-align: middle;
            margin-right: 10px;
        }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        .archive-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 15px;
        }
        .archive-item { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--border-color); box-shadow: 0 2px 4px rgba(0,0,0,0.02);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
        }
        .archive-item:hover { background: #e0f2fe; border-color: #bae6fd;
            transform: translateY(-3px);
        }
        .archive-item span.title {
            font-size: 1.1rem;
            color: var(--text-main);
            margin-bottom: 5px;
            font-weight: 600;
        }
        .archive-item span.code {
            color: var(--text-muted);
            font-size: 0.9em;
        }

        #login-section, #app-section {
            display: none;
        }
        
        /* Admin Form Styles */
        .admin-form-group { margin-bottom: 15px; text-align: left; }
        .admin-form-group label { display: block; margin-bottom: 5px; color: var(--primary); font-weight: 600; }
        .admin-form-group input, .admin-form-group textarea, .admin-form-group select { width: 100%; padding: 10px; border-radius: 8px; background: #fff; border: 1px solid var(--border-color); color: var(--text-main); font-family: 'Prompt', sans-serif; box-sizing: border-box; }
        .admin-form-group textarea { min-height: 80px; resize: vertical; }

        /* Promo Card Layout */
        .promo-card {
            background: white; 
            border: 1px solid var(--border-color); 
            border-radius: 8px; 
            padding: 12px 15px; 
            display: grid; 
            grid-template-columns: 2fr 1.5fr auto; 
            gap: 10px; 
            align-items: center; 
            box-shadow: 0 1px 3px rgba(0,0,0,0.02); 
            margin-bottom: 0; 
            transition: transform 0.2s;
        }
        .promo-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        .promo-col-2 {
            border-left: 1px dashed #cbd5e1; 
            padding-left: 15px; 
            height: 100%; 
            display: flex; 
            flex-direction: column; 
            justify-content: center;
        }
        .promo-col-3 {
            display: flex; 
            gap: 8px;
        }
        
        @media (max-width: 768px) {
            .promo-card {
                grid-template-columns: 1fr;
                gap: 12px;
                padding: 15px;
            }
            .promo-col-2 {
                border-left: none;
                border-top: 1px dashed #cbd5e1;
                padding-left: 0;
                padding-top: 12px;
            }
            .promo-col-3 {
                justify-content: flex-end;
                margin-top: 5px;
            }
        }

        /* App Landing Page Styles */
        .hero-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            text-align: left;
            padding: 20px;
        }
        @media (max-width: 768px) {
            .hero-section {
                flex-direction: column;
                text-align: center;
            }
        }
        .hero-content {
            flex: 1;
        }
        .hero-content h1 {
            text-align: left;
            font-size: 3rem;
            margin-bottom: 20px;
            line-height: 1.2;
            background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        @media (max-width: 768px) {
            .hero-content h1 { text-align: center; font-size: 2.2rem; }
        }
        .hero-content p {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 30px;
            line-height: 1.6;
        }
        .hero-badges {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        @media (max-width: 768px) {
            .hero-badges { justify-content: center; }
        }
        .play-badge {
            display: inline-block;
            transition: transform 0.2s;
        }
        .play-badge:hover {
            transform: scale(1.05);
        }
        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
        }
        .hero-image img {
            max-width: 100%;
            height: auto;
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
            border: 4px solid rgba(255,255,255,0.1);
        }
        
        /* Secret Footer */
        .secret-footer {
            margin-top: 50px;
            text-align: center;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.2);
            user-select: none;
            cursor: default;
        }

        /* Secret Admin Modal */
        .admin-modal {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.85);
            backdrop-filter: blur(8px);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }
        .admin-modal-content {
            background: var(--bg-color);
            border: 1px solid rgba(255,255,255,0.1);
            padding: 40px;
            border-radius: 24px;
            max-width: 400px;
            width: 90%;
            text-align: center;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
            position: relative;
        }
        .close-modal {
            position: absolute;
            top: 15px; right: 20px;
            color: var(--text-muted);
            font-size: 1.5rem;
            cursor: pointer;
        }
        .close-modal:hover { color: var(--text-main); }
    
        
        /* ========================================================
           Modern White-Themed Landing Page Styles (DiffBubble Style)
           ======================================================== */
        #login-section {
            width: 100%;
            min-height: 100vh;
            background: #ffffff !important;
            color: #0f172a;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            font-family: 'Prompt', sans-serif;
            position: relative;
        }

        /* Navbar */
        .lotto-navbar {
            position: sticky;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid #e2e8f0;
            z-index: 1000;
        }
        .lotto-nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 14px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .lotto-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }
        .lotto-brand img {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            object-fit: cover;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12);
        }
        .lotto-brand-text h1 {
            font-size: 1.15rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0;
            line-height: 1.2;
        }
        .lotto-brand-text span {
            font-size: 0.75rem;
            color: #64748b;
            font-weight: 500;
            display: block;
        }
        .lotto-nav-links {
            display: flex;
            align-items: center;
            gap: 24px;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .lotto-nav-links a {
            color: #475569;
            text-decoration: none;
            font-size: 0.92rem;
            font-weight: 500;
            transition: color 0.2s;
        }
        .lotto-nav-links a:hover {
            color: #2563eb;
        }
        .btn-nav-download {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #0f172a;
            color: #ffffff !important;
            padding: 9px 20px;
            border-radius: 9999px;
            font-size: 0.88rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.25s ease;
            box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
        }
        .btn-nav-download:hover {
            background: #2563eb;
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
        }

        /* Sections Common */
        .lotto-section {
            width: 100%;
            padding: 85px 24px;
            position: relative;
            background: #ffffff;
            box-sizing: border-box;
        }
        .lotto-section.bg-subtle {
            background: #f8fafc;
            border-top: 1px solid #f1f5f9;
            border-bottom: 1px solid #f1f5f9;
        }
        .lotto-container {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }
        .section-header-center {
            text-align: center;
            max-width: 680px;
            margin: 0 auto 50px;
        }
        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #eff6ff;
            color: #2563eb;
            border: 1px solid #bfdbfe;
            border-radius: 9999px;
            padding: 6px 16px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 14px;
        }
        .section-title {
            font-size: 2.3rem;
            font-weight: 800;
            color: #0f172a;
            margin: 0 0 16px;
            line-height: 1.25;
            letter-spacing: -0.01em;
        }
        .section-desc {
            font-size: 1.05rem;
            color: #64748b;
            margin: 0;
            line-height: 1.6;
        }

        /* Hero Section */
        .lotto-hero {
            padding: 65px 24px 85px;
            background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 45%),
                        radial-gradient(circle at 90% 75%, rgba(16, 185, 129, 0.04) 0%, transparent 45%),
                        #ffffff;
        }
        .lotto-hero-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 50px;
            align-items: center;
        }
        .hero-title {
            font-size: 3.4rem;
            font-weight: 800;
            line-height: 1.18;
            color: #0f172a;
            margin: 0 0 20px;
            letter-spacing: -0.02em;
        }
        .gradient-blue-text {
            background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero-desc {
            font-size: 1.12rem;
            color: #475569;
            line-height: 1.7;
            margin: 0 0 32px;
            max-width: 580px;
        }
        .hero-cta-group {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }
        .btn-google-play {
            display: inline-flex;
            align-items: center;
            gap: 14px;
            background: #0f172a;
            color: #ffffff !important;
            padding: 12px 26px;
            border-radius: 14px;
            text-decoration: none;
            box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .btn-google-play:hover {
            background: #1e293b;
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
        }
        .btn-google-play svg {
            width: 26px;
            height: 26px;
            flex-shrink: 0;
        }
        .btn-google-play .play-text {
            display: flex;
            flex-direction: column;
            text-align: left;
            line-height: 1.2;
        }
        .btn-google-play .play-subtitle {
            font-size: 0.68rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #94a3b8;
            font-weight: 600;
        }
        .btn-google-play .play-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: #ffffff;
        }

        .btn-secondary-action {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #f1f5f9;
            color: #334155;
            padding: 14px 24px;
            border-radius: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s;
            border: 1px solid #e2e8f0;
        }
        .btn-secondary-action:hover {
            background: #e2e8f0;
            color: #0f172a;
        }

        .hero-stats {
            display: flex;
            gap: 32px;
            margin-top: 36px;
            padding-top: 28px;
            border-top: 1px solid #e2e8f0;
            flex-wrap: wrap;
        }
        .stat-item h4 {
            font-size: 1.35rem;
            font-weight: 800;
            color: #0f172a;
            margin: 0 0 2px;
        }
        .stat-item p {
            font-size: 0.82rem;
            color: #64748b;
            margin: 0;
        }

        /* Hero Right Preview Card */
        .hero-showcase {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: center;
        }
        .preview-phone-card {
            width: 100%;
            max-width: 440px;
            background: #ffffff;
            border-radius: 28px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 1px rgba(0,0,0,0.06);
            padding: 24px;
            position: relative;
            z-index: 2;
        }
        .card-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
            padding-bottom: 14px;
            border-bottom: 1px solid #f1f5f9;
        }
        .card-brand-mini {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .card-brand-mini img {
            width: 28px;
            height: 28px;
            border-radius: 8px;
        }
        .card-brand-mini span {
            font-size: 0.88rem;
            font-weight: 700;
            color: #0f172a;
        }
        .badge-live {
            background: #ecfdf5;
            color: #059669;
            border: 1px solid #a7f3d0;
            font-size: 0.72rem;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 9999px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .badge-live-dot {
            width: 7px;
            height: 7px;
            background: #10b981;
            border-radius: 50%;
            display: inline-block;
            box-shadow: 0 0 6px #10b981;
        }

        .prize-hero-box {
            background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
            border-radius: 18px;
            padding: 20px;
            text-align: center;
            color: #ffffff;
            margin-bottom: 16px;
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
            position: relative;
            overflow: hidden;
        }
        .prize-hero-box::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 140px;
            height: 140px;
            background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
            border-radius: 50%;
        }
        .prize-hero-box .prize-tag {
            font-size: 0.8rem;
            color: #93c5fd;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
            margin-bottom: 6px;
        }
        .lotto-balls-row {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin: 8px 0;
        }
        .lotto-ball {
            width: 38px;
            height: 38px;
            background: #ffffff;
            color: #1e3a8a;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            font-weight: 800;
            box-shadow: inset 0 -3px 4px rgba(0,0,0,0.15), 0 4px 10px rgba(0,0,0,0.2);
        }
        .prize-amount {
            font-size: 0.78rem;
            color: #e0f2fe;
            margin-top: 4px;
        }

        .prize-mini-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 18px;
        }
        .prize-sub-card {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            padding: 12px 14px;
            text-align: center;
        }
        .prize-sub-card .sub-title {
            font-size: 0.75rem;
            color: #64748b;
            font-weight: 600;
            margin-bottom: 4px;
        }
        .prize-sub-card .sub-number {
            font-size: 1.25rem;
            font-weight: 800;
            color: #0f172a;
            letter-spacing: 2px;
        }

        .interactive-checker-box {
            background: #eff6ff;
            border: 1px solid #bfdbfe;
            border-radius: 14px;
            padding: 14px;
        }
        .checker-title {
            font-size: 0.82rem;
            font-weight: 700;
            color: #1e40af;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .checker-input-row {
            display: flex;
            gap: 8px;
        }
        .checker-input {
            flex: 1;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            padding: 8px 12px;
            font-family: 'Prompt', sans-serif;
            font-size: 0.88rem;
            color: #0f172a;
            outline: none;
        }
        .checker-btn {
            background: #2563eb;
            color: #ffffff;
            border: none;
            border-radius: 8px;
            padding: 8px 14px;
            font-family: 'Prompt', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }
        .checker-btn:hover {
            background: #1d4ed8;
        }
        .checker-result-banner {
            margin-top: 8px;
            background: #ecfdf5;
            border: 1px solid #a7f3d0;
            border-radius: 6px;
            padding: 6px 10px;
            font-size: 0.78rem;
            color: #065f46;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Floating chips around showcase */
        .floating-chip {
            position: absolute;
            background: #ffffff;
            border-radius: 14px;
            padding: 10px 16px;
            box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
            border: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.85rem;
            font-weight: 600;
            color: #0f172a;
            z-index: 5;
            animation: floatSlow 4s ease-in-out infinite alternate;
        }
        .floating-chip-1 {
            top: -15px;
            right: -20px;
        }
        .floating-chip-2 {
            bottom: -15px;
            left: -20px;
            animation-delay: 2s;
        }
        @keyframes floatSlow {
            0% { transform: translateY(0px); }
            100% { transform: translateY(-8px); }
        }

        /* Features Section */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 24px;
        }
        .feature-card {
            background: #ffffff;
            border-radius: 20px;
            border: 1px solid #e2e8f0;
            padding: 32px 28px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 12px rgba(0,0,0,0.02);
            position: relative;
        }
        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.08);
            border-color: #bfdbfe;
        }
        .feature-icon {
            width: 54px;
            height: 54px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            margin-bottom: 20px;
            background: #eff6ff;
            color: #2563eb;
        }
        .feature-card h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0 0 10px;
        }
        .feature-card p {
            font-size: 0.95rem;
            color: #64748b;
            line-height: 1.6;
            margin: 0;
        }

        /* Steps Section */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }
        .step-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 22px;
            padding: 34px 28px;
            position: relative;
            box-shadow: 0 4px 15px rgba(0,0,0,0.02);
            transition: transform 0.25s ease;
        }
        .step-card:hover {
            transform: translateY(-4px);
        }
        .step-num {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: linear-gradient(135deg, #2563eb, #0284c7);
            color: #ffffff;
            font-weight: 800;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 22px;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
        }
        .step-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0 0 10px;
        }
        .step-card p {
            font-size: 0.95rem;
            color: #64748b;
            line-height: 1.6;
            margin: 0;
        }

        /* Preview Highlights Section */
        .highlights-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }
        .check-list {
            list-style: none;
            padding: 0;
            margin: 24px 0 0;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .check-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
        .check-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #ecfdf5;
            color: #059669;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            flex-shrink: 0;
            margin-top: 2px;
        }
        .check-text {
            font-size: 1rem;
            color: #334155;
            font-weight: 500;
            line-height: 1.5;
        }

        .horoscope-box {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 22px;
            padding: 30px;
            box-shadow: 0 15px 35px -5px rgba(0,0,0,0.05);
        }
        .horoscope-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f1f5f9;
        }
        .horoscope-header i {
            font-size: 1.5rem;
            color: #f59e0b;
        }
        .horoscope-header h4 {
            font-size: 1.15rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0;
        }

        /* FAQ Accordion */
        .faq-container {
            max-width: 820px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .faq-item {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.25s ease;
        }
        .faq-item.active {
            border-color: #93c5fd;
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
        }
        .faq-question {
            width: 100%;
            text-align: left;
            background: none;
            border: none;
            padding: 20px 24px;
            font-family: 'Prompt', sans-serif;
            font-size: 1.05rem;
            font-weight: 600;
            color: #0f172a;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        .faq-question .icon {
            font-size: 0.85rem;
            color: #64748b;
            transition: transform 0.3s ease;
        }
        .faq-item.active .faq-question .icon {
            transform: rotate(180deg);
            color: #2563eb;
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease-out;
            padding: 0 24px;
            color: #475569;
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.active .faq-answer {
            max-height: 250px;
            padding-bottom: 20px;
        }

        /* Bottom Download CTA Banner */
        .lotto-cta-banner {
            background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 50%, #f0fdf4 100%);
            border: 1px solid #bfdbfe;
            border-radius: 28px;
            padding: 60px 36px;
            text-align: center;
            max-width: 1100px;
            margin: 0 auto;
            box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.1);
        }
        .lotto-cta-banner h2 {
            font-size: 2.4rem;
            font-weight: 800;
            color: #0f172a;
            margin: 0 0 16px;
            letter-spacing: -0.01em;
        }
        .lotto-cta-banner p {
            font-size: 1.1rem;
            color: #475569;
            max-width: 600px;
            margin: 0 auto 32px;
            line-height: 1.6;
        }

        /* Footer */
        .lotto-footer {
            background: #ffffff;
            border-top: 1px solid #e2e8f0;
            padding: 60px 24px 30px;
        }
        .lotto-footer-top {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 24px;
            padding-bottom: 32px;
            border-bottom: 1px solid #f1f5f9;
        }
        .lotto-footer-links {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            align-items: center;
        }
        .lotto-footer-links a {
            color: #475569;
            text-decoration: none;
            font-size: 0.92rem;
            font-weight: 500;
            transition: color 0.2s;
        }
        .lotto-footer-links a:hover {
            color: #2563eb;
        }
        .admin-portal-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 15px;
            background: #f8fafc;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            color: #334155 !important;
            font-weight: 600;
            font-size: 0.85rem;
            text-decoration: none;
            transition: all 0.2s;
            cursor: pointer;
        }
        .admin-portal-link:hover {
            background: #eff6ff;
            border-color: #93c5fd;
            color: #2563eb !important;
        }
        .lotto-footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            color: #94a3b8;
            font-size: 0.85rem;
        }

        /* Responsive Breakpoints */
        @media (max-width: 992px) {
            .lotto-hero-grid {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 40px;
            }
            .hero-title {
                font-size: 2.8rem;
            }
            .hero-desc {
                margin: 0 auto 30px;
            }
            .hero-cta-group {
                justify-content: center;
            }
            .hero-stats {
                justify-content: center;
            }
            .highlights-grid {
                grid-template-columns: 1fr;
            }
            .floating-chip-1 {
                right: 0px;
            }
            .floating-chip-2 {
                left: 0px;
            }
        }

        @media (max-width: 768px) {
            .lotto-nav-links {
                display: none;
            }
            .hero-title {
                font-size: 2.2rem;
            }
            .section-title {
                font-size: 1.8rem;
            }
            .lotto-cta-banner h2 {
                font-size: 1.8rem;
            }
            .lotto-footer-top {
                flex-direction: column;
                align-items: flex-start;
            }
            .lotto-footer-bottom {
                flex-direction: column;
                align-items: flex-start;
            }
        }


        /* Dashboard Styles */
        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }
        .dashboard-card {
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .dashboard-card h3 {
            font-size: 0.85rem;
            color: var(--text-muted);
            text-transform: uppercase;
            font-weight: 600;
            margin-top: 0;
            margin-bottom: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .dashboard-card h3 i.fa-check-circle {
            color: #10b981;
        }
        .active-users-big {
            font-size: 3rem;
            font-weight: 300;
            color: var(--text-main);
            margin-bottom: 5px;
        }
        .active-users-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px dashed var(--border-color);
            padding-bottom: 15px;
            margin-bottom: 15px;
        }
        .dashboard-table-2col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .dash-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
        }
        .dash-table th {
            text-align: left;
            color: var(--text-muted);
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.75rem;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }
        .dash-table td {
            padding: 12px 0;
            color: var(--text-main);
            border-bottom: 1px solid rgba(0,0,0,0.02);
        }
        @media (max-width: 1024px) {
            .dashboard-grid { grid-template-columns: 1fr; }
            .dashboard-table-2col { grid-template-columns: 1fr; }
        }

        @media (max-width: 768px) {
            .dash-table thead { display: none; }
            .dash-table tbody { display: block; width: 100%; }
            .dash-table tr { 
                display: flex; 
                flex-direction: column; 
                border: 1px solid var(--border-color) !important; 
                border-radius: 12px; 
                margin-bottom: 15px; 
                padding: 10px; 
                background: #fff;
                box-shadow: 0 2px 4px rgba(0,0,0,0.02);
            }
            .dash-table td { 
                display: flex; 
                justify-content: space-between; 
                align-items: center; 
                border-bottom: 1px dashed var(--border-color) !important; 
                padding: 12px 10px !important; 
                text-align: right;
            }
            .dash-table td:last-child { border-bottom: none !important; justify-content: flex-end; gap: 10px; }
            .dash-table td::before { 
                content: attr(data-label); 
                font-weight: 600; 
                color: var(--text-muted); 
                font-size: 0.85rem; 
                text-transform: uppercase;
            }
        }


/* Admin Action Buttons (for Lotto fetching section) */
.btn-admin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Prompt', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-admin-action svg {
    flex-shrink: 0;
}

.btn-admin-action.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}
.btn-admin-action.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(0, 114, 255, 0.3);
    transform: translateY(-2px);
}

.btn-admin-action.btn-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}
.btn-admin-action.btn-success:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.btn-admin-action.btn-pink {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}
.btn-admin-action.btn-pink:hover {
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.3);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .user-profile-cell { justify-content: flex-end; text-align: right; width: 100%; }
    .user-profile-cell > div:last-child div { text-align: right !important; }
    .user-action-cell { justify-content: flex-end !important; }
}


.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    backdrop-filter: blur(2px);
}
@media (max-width: 768px) {
    .sidebar-overlay.active { display: block; }
    .main-sidebar.mobile-open { z-index: 1000; }
}


@media (max-width: 768px) {
    .content-wrapper {
        padding: 2px !important;
    }
    
    #user-admin-section > div:nth-child(2),
    #lotto-admin-section > div,
    #fcm-admin-section > div,
    #lao-admin-section > div,
    #promo-admin-section > div,
    #transaction-admin-section > div,
    #saved-tickets-admin-section > div {
        padding: 2px !important;
    }
}

@media (max-width: 768px) {
    .top-navbar {
        left: 0;
        width: 100%;
    }
    .content-wrapper {
        padding-top: 80px !important; 
    }
}

/* ========================================================
   ThiaLoto Live Board & Public Lotto Component Styles
   ======================================================== */
.lotto-tab-control {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 16px;
    gap: 6px;
}
.lotto-tab-btn {
    flex: 1;
    padding: 8px 14px;
    border-radius: 9px;
    border: none;
    background: transparent;
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.lotto-tab-btn:hover {
    color: #1e293b;
}
.lotto-tab-btn.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.card-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-refresh-lotto {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.btn-refresh-lotto:hover {
    background: #e2e8f0;
    color: #2563eb;
}
.live-status-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.status-cache {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.status-live {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.status-loading {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fef08a;
}
.status-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.ball-lao {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
}
.tag-lao {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}
.lao-hero-box {
    border-color: #bae6fd !important;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%) !important;
}
.highlight-green {
    color: #10b981 !important;
}
.highlight-blue {
    color: #2563eb !important;
}
.highlight-purple {
    color: #8b5cf6 !important;
}
.btn-view-all-prizes {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #475569;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Prompt', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-view-all-prizes:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

/* Modal for full prizes */
.full-prizes-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
}
.full-prizes-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}
.full-prizes-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
}
.full-prizes-modal-body {
    padding: 24px;
    overflow-y: auto;
}
.prize-section-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}
.prize-section-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}
.prizes-table-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.badge-num {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 1px;
}


