/* homepage.css - Clean Predictions Page with Full Width Fix */
/* IMPORTANT: Reset everything for iframe content */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: #f8fafc !important;
    min-height: auto !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Force hide any shell elements that might leak into iframe */
.header-container,
.main-header,
.desktop-nav,
.auth-section,
.bottom-nav,
.main-footer,
.footer-container,
.footer-grid,
.footer-bottom,
.social-links,
.footer-links,
.footer-newsletter,
.footer-brand,
.modal-bottom-sheet,
.modal-fullscreen,
.user-menu,
.auth-buttons,
.btn-login,
.btn-register,
.mobile-menu-btn,
.app-shell,
.bottom-nav,
.nav-items,
.nav-item {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc !important;
    color: #1e293b;
    margin: 0 !important;
    padding: 0 !important;
}

.predictions-page {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    scrollbar-width: none;
    overflow-y: auto;
    -ms-overflow-style: none;
    z-index: 1;
}

/* ==================== PILLS STYLES ==================== */
.pills-container {
    margin-bottom: 20px;
    position: relative;
    background: #f8fafc;
    padding: 10px 0;
    z-index: 10;
    border-radius: 0;
}

.pills-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: left;
    padding: 8px 4px 12px;
}

.pills-wrapper::-webkit-scrollbar {
    height: 4px;
}

.pills-wrapper::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.pills-wrapper::-webkit-scrollbar-thumb {
    background: #f2a83a;
    border-radius: 10px;
}

.pill {
    padding: 10px 24px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.pill:hover {
    border-color: #f2a83a;
    color: #f2a83a;
    transform: translateY(-2px);
    background: #fef9f0;
}

.pill.active {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    border-color: #f2a83a;
    color: white;
    box-shadow: 0 4px 12px rgba(242, 168, 58, 0.25);
}

.pill.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #f2a83a;
    border-radius: 3px;
}

/* ==================== GAMES CONTAINER - FULL WIDTH FIX ==================== */
.games-container {
    background: white;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
    margin-top: 0;
    z-index: 5;
    width: 100%;
}

.games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
    flex-wrap: wrap;
    gap: 15px;
}

.title-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 5px;
}

.selected-date {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 5px;
}

.date-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.date-tabs {
    display: flex;
    gap: 8px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 48px;
}

.date-tab {
    padding: 8px 24px;
    border: none;
    border-radius: 40px;
    background: transparent;
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.date-tab:hover {
    color: #f2a83a;
    background: rgba(242, 168, 58, 0.1);
}

.date-tab.active {
    background: #1f2a44;
    color: white;
    position: relative;
}

.calendar-wrapper {
    position: relative;
}

.calendar-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-btn:hover {
    border-color: #f2a83a;
    color: #f2a83a;
    background: #fef9f0;
}

/* ==================== GAMES LIST - FULL WIDTH ==================== */
.games-list {
    min-height: auto;
    width: 100%;
    overflow-x: auto;
}

.simple-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Game items - full width */
.game-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s;
    width: 100%;
}

.game-item:hover {
    background: #f8fafc;
}

.game-time {
    min-width: 80px;
    width: 80px;
    color: #64748b;
    font-weight: 500;
    font-size: 0.85rem;
    font-family: monospace;
}

.game-match {
    flex: 1;
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
    margin: 0 20px;
    text-align: left;
}

.game-prediction {
    padding: 6px 18px;
    background: #f2a83a;
    color: #0f172a;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 80px;
    text-align: center;
}

.game-prediction.won {
    background: #10b981 !important;
    color: white !important;
}

.game-prediction.lost {
    background: #ef4444 !important;
    color: white !important;
}

/* Odds Groups View - Full Width */
.odds-groups {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.odds-group {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
    width: 100%;
}

.odds-header {
    background: #f8fafc;
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #1f2a44;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.slip-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.slip-status.won {
    background: #d1fae5;
    color: #059669;
}

.slip-status.lost {
    background: #fee2e2;
    color: #dc2626;
}

.odds-games {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Odds game row - full width */
.odds-game-row {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
}

.odds-game-row:last-child {
    border-bottom: none;
}

.odds-game-time {
    min-width: 70px;
    width: 70px;
    color: #64748b;
    font-weight: 500;
    font-size: 0.85rem;
    font-family: monospace;
}

.odds-game-name {
    flex: 1;
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
    margin: 0 20px;
    text-align: left;
}

.odds-game-tip {
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: center;
}

.odds-game-tip.won {
    background: #10b981;
    color: white;
}

.odds-game-tip.lost {
    background: #ef4444;
    color: white;
}

/* Loading & No Data */
.loading-spinner {
    text-align: center;
    padding: 60px;
    color: #94a3b8;
    min-height: 200px;
    position: relative;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 12px;
    animation: spin 1s linear infinite;
    color: #f2a83a;
}

/* Add skeleton loading effect */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Improve rendering performance */
.predictions-page,
.games-container,
.games-list {
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.no-data-message {
    text-align: center;
    padding: 60px;
    color: #94a3b8;
}

.no-data-message i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    color: #f2a83a;
}

.date-note {
    text-align: center;
    padding: 12px;
    font-size: 0.75rem;
    color: #64748b;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Calendar Bottom Sheet (Mobile) */
.calendar-bottom-sheet {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: flex-end;
}

.calendar-bottom-sheet.show {
    display: flex;
}

.calendar-bottom-sheet .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.calendar-content {
    background: white;
    width: 100%;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    padding: 20px;
    position: relative;
    z-index: 2001;
    max-height: 90vh;
    overflow-y: auto;
}

/* Ensure it covers bottom navigation */
@media (max-width: 768px) {
    .calendar-bottom-sheet {
        bottom: 0;
        top: 0;
    }
    
    .calendar-content {
        max-height: 90vh;
        margin-bottom: 0;
        border-radius: 24px 24px 0 0;
    }
    
    /* Ensure it appears above bottom nav */
    .calendar-bottom-sheet {
        z-index: 9999;
    }
    
    .bottom-nav {
        z-index: 100;
    }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.calendar-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2a44;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 10px 0;
    font-weight: 600;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.calendar-day:hover:not(.empty) {
    background: #fef9f0;
}

.calendar-day.selected {
    background: #f2a83a;
    color: white;
}

.calendar-day.today {
    border: 2px solid #f2a83a;
    font-weight: bold;
}

.calendar-day.empty {
    visibility: hidden;
    cursor: default;
}

.calendar-footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.calendar-today-btn {
    flex: 1;
    padding: 10px;
    background: #f2a83a;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #1f2a44;
}

.calendar-today-btn:hover {
    background: #e5982b;
}

.calendar-cancel-btn {
    flex: 1;
    padding: 10px;
    background: #f1f5f9;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
}

.calendar-cancel-btn:hover {
    background: #e2e8f0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Desktop Calendar Modal */
.calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.calendar-modal.show {
    display: flex;
}

.calendar-modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.calendar-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2a44;
}

.calendar-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.calendar-modal-close:hover {
    background: #f1f5f9;
}

.calendar-modal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 10px 0;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 10px;
}

.calendar-modal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 20px;
}

.calendar-modal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.calendar-modal-day:hover:not(.empty) {
    background: #fef9f0;
}

.calendar-modal-day.selected {
    background: #f2a83a;
    color: white;
}

.calendar-modal-day.today {
    border: 2px solid #f2a83a;
    font-weight: bold;
}

.calendar-modal-day.empty {
    visibility: hidden;
    cursor: default;
}

.calendar-modal-footer {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.calendar-modal-today,
.calendar-modal-cancel {
    flex: 1;
    padding: 10px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.calendar-modal-today {
    background: #f2a83a;
    color: #1f2a44;
}

.calendar-modal-today:hover {
    background: #e5982b;
}

.calendar-modal-cancel {
    background: #f1f5f9;
    color: #64748b;
}

.calendar-modal-cancel:hover {
    background: #e2e8f0;
}

/* Access Modal */
.access-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.access-modal {
    background: white;
    border-radius: 24px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.access-modal-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.access-modal h3 {
    font-size: 1.5rem;
    color: #1f2a44;
    margin-bottom: 12px;
}

.access-modal p {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
}

.access-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.access-btn {
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.access-btn.primary {
    background: #f2a83a;
    color: #1f2a44;
}

.access-btn.primary:hover {
    background: #e5982b;
    transform: translateY(-2px);
}

.access-btn.secondary {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.access-btn.secondary:hover {
    border-color: #f2a83a;
    color: #f2a83a;
}

/* ==================== RESPONSIVE (PRESERVED) ==================== */
@media (max-width: 768px) {
    .predictions-page {
        padding: 12px;
        max-width: 100%;
        width: 100%;
    }
    
    .pills-container {
        position: relative;
        top: auto;
    }
    
    .games-container {
        width: 100%;
        border-radius: 20px;
    }
    
    .games-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }
    
    .date-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .date-tabs {
        flex: 1;
    }
    
    .date-tab {
        flex: 1;
        text-align: center;
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .game-item {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 16px;
    }
    
    .game-time {
        min-width: 60px;
        width: auto;
    }
    
    .game-match {
        margin: 0;
        width: 100%;
        order: 2;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    
    .game-prediction {
        order: 3;
    }
    
    .odds-game-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 16px;
    }
    
    .odds-game-time {
        order: 1;
        width: auto;
    }
    
    .odds-game-name {
        order: 2;
        margin: 0;
        width: 100%;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    
    .odds-game-tip {
        order: 3;
    }
    
    /* Hide scrollbar on mobile but keep functionality */
    .pills-wrapper {
        scrollbar-width: auto;
        -ms-overflow-style: auto;
    }
    
    .pills-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .calendar-bottom-sheet {
        display: none;
    }
    .calendar-bottom-sheet.show {
        display: flex;
    }
    
    .calendar-modal {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .predictions-page {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }
    
    .calendar-bottom-sheet {
        display: none !important;
    }
    
    .calendar-modal {
        display: none;
    }
    .calendar-modal.show {
        display: flex;
    }
}

@media (max-width: 600px) {
    .pill {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #f2a83a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e5982b;
}

/* ==================== FILTER BUTTON ==================== */
.filter-wrapper {
    position: relative;
    display: none;
}

.filter-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-btn:hover {
    border-color: #f2a83a;
    color: #f2a83a;
    background: #fef9f0;
}

.filter-btn.active {
    background: #f2a83a;
    color: white;
    position: relative;
}

.filter-btn.active::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid white;
}

/* ==================== FILTER MODAL ==================== */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.filter-modal.show {
    display: flex;
}

.filter-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.filter-modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    overflow: hidden;
    animation: filterModalFadeIn 0.3s ease;
    z-index: 2001;
}

@keyframes filterModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.filter-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2a44;
}

.filter-modal-header h3 i {
    color: #f2a83a;
    margin-right: 8px;
}

.filter-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.filter-modal-close:hover {
    background: #f1f5f9;
    color: #ef4444;
}

.filter-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.filter-search {
    position: relative;
    margin-bottom: 20px;
}

.filter-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.filter-search-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 40px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.filter-search-input:focus {
    outline: none;
    border-color: #f2a83a;
    box-shadow: 0 0 0 3px rgba(242, 168, 58, 0.1);
}

.filter-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.filter-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.filter-category-item:hover {
    background: #fef9f0;
    border-color: #f2a83a;
}

.filter-category-item.selected {
    background: #fef9f0;
    border-color: #f2a83a;
}

.filter-category-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.filter-category-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.filter-category-name {
    font-weight: 500;
    color: #1f2a44;
}

.filter-category-count {
    font-size: 0.7rem;
    color: #94a3b8;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 20px;
}

.filter-category-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.filter-category-item.selected .filter-category-checkbox {
    background: #f2a83a;
    border-color: #f2a83a;
}

.filter-category-item.selected .filter-category-checkbox::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.filter-btn-clear,
.filter-btn-apply {
    flex: 1;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.filter-btn-clear {
    background: #f1f5f9;
    color: #64748b;
}

.filter-btn-clear:hover {
    background: #e2e8f0;
}

.filter-btn-apply {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    color: #1f2a44;
}

.filter-btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 168, 58, 0.3);
}

/* Mobile filter adjustments */
@media (max-width: 768px) {
    .filter-modal {
        align-items: flex-end;
    }
    
    .filter-modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        max-height: 85vh;
        animation: slideUp 0.3s ease;
    }
    
    .filter-modal-body {
        max-height: calc(85vh - 70px);
    }
}

/* Calendar Navigation Buttons */
.calendar-modal-nav-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.calendar-modal-nav-btn:hover {
    background: #f1f5f9;
    color: #f2a83a;
}

.calendar-nav-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
    background: #f1f5f9;
    color: #f2a83a;
}

/* Inline Access Modal Styles */
.inline-access-modal {
    padding: 48px 32px;
    text-align: center;
    background: #ffffff;
    border-radius: 24px;
    margin: 40px auto;
    max-width: 450px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 10;
}

.inline-modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.inline-access-modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 12px;
}

.inline-access-modal p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 8px;
}

.inline-modal-sub {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.inline-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.inline-modal-btn {
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 0.9rem;
}

.inline-modal-btn.primary {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    color: #1f2a44;
}

.inline-modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 168, 58, 0.3);
}

.inline-modal-btn.secondary {
    background: #f1f5f9;
    color: #64748b;
}

.inline-modal-btn.secondary:hover {
    background: #e2e8f0;
}

/* Ensure the inline modal appears inside the games container */
.games-list {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .inline-access-modal {
        padding: 32px 20px;
        margin: 20px auto;
        max-width: 90%;
    }
    
    .inline-modal-buttons {
        flex-direction: column;
    }
    
    .inline-modal-btn {
        width: 100%;
    }
}

/* ==================== STATUS MESSAGE CARD ==================== */
.status-message-card {
    max-width: 500px;
    margin: 40px auto;
    padding: 32px;
    background: white;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    animation: fadeInUp 0.5s ease;
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.status-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2a44;
    margin-bottom: 12px;
}

.status-message {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.status-details {
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
    border: 1px solid #e2e8f0;
}

.status-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.status-btn {
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 0.9rem;
}

.status-btn.primary {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    color: #1f2a44;
}

.status-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 168, 58, 0.3);
}

.status-btn.secondary {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.status-btn.secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.status-timer {
    margin-top: 20px;
    padding: 12px;
    background: #fef9f0;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-expiry {
    margin-top: 20px;
    padding: 12px;
    background: #d1fae5;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* VIP Access Granted Animation */
.vip-access-granted {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 24px;
    margin: 40px auto;
    max-width: 500px;
    animation: pulse 1s ease;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

.granted-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .status-message-card {
        margin: 20px;
        padding: 24px;
    }
    
    .status-actions {
        flex-direction: column;
    }
    
    .status-btn {
        width: 100%;
    }
    
    .status-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .status-title {
        font-size: 1.3rem;
    }
}