/* _content/SportsGamingBlazor/Shared/MainLayout.razor.rz.scp.css */
.page[b-8cq11xof2k] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-8cq11xof2k] {
    flex: 1;
}

.sidebar[b-8cq11xof2k] {
    background-image: linear-gradient(180deg, rgb(45, 80, 22) 0%, #90bea9 70%);
}

.top-row[b-8cq11xof2k] {
    background-color: #7a9b8c;
    border-bottom: 1px solid #6a8a7a;
    justify-content: flex-end;
    height: auto;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    position: relative;
    z-index: 1060; /* Above sidebar */
}

    .top-row[b-8cq11xof2k]  a, .top-row .btn-link[b-8cq11xof2k] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-8cq11xof2k] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 768px) {
    .top-row[b-8cq11xof2k] {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        min-height: auto;
        padding: 0.75rem 1rem;
    }

    .top-row > div[b-8cq11xof2k] {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-row[b-8cq11xof2k]  a, .top-row .btn-link[b-8cq11xof2k] {
        margin-left: 0;
        margin-right: 0;
    }

    .top-row select[b-8cq11xof2k] {
        width: 100% !important;
        min-width: auto !important;
    }

    .top-row .btn[b-8cq11xof2k] {
        width: 100%;
        margin-top: 0.5rem;
    }

    .top-row span[b-8cq11xof2k] {
        font-size: 0.875rem;
        text-align: center;
    }
}

@media (max-width: 640.98px) {
    /* Don't hide top-row on mobile - we need it for the hamburger button */
    .top-row[b-8cq11xof2k] {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0.75rem;
    }

    .top-row a[b-8cq11xof2k], .top-row .btn-link[b-8cq11xof2k] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-8cq11xof2k] {
        flex-direction: row;
    }

    .sidebar[b-8cq11xof2k] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        display: block !important;
    }

    /* Hide mobile hamburger on desktop */
    .mobile-menu-btn[b-8cq11xof2k] {
        display: none !important;
    }

    /* Hide backdrop on desktop */
    .sidebar-backdrop[b-8cq11xof2k] {
        display: none !important;
    }
}


@media (max-width: 640.98px) {
    .page[b-8cq11xof2k] {
        flex-direction: column;
    }

    /* Sidebar expands inline on mobile - not an overlay */
    .sidebar[b-8cq11xof2k] {
        width: 100%;
        position: relative;
        display: block !important;
    }
    
    /* Ensure NavMenu top-row is visible on mobile */
    .sidebar .top-row[b-8cq11xof2k] {
        display: flex !important;
        visibility: visible !important;
    }

    /* Ensure main content takes full width and isn't pushed by sidebar */
    main[b-8cq11xof2k] {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .top-row[b-8cq11xof2k], article[b-8cq11xof2k] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .content[b-8cq11xof2k] {
        padding-top: 0.5rem;
    }

    /* Mobile hamburger button in top-row - make it visible and prominent */
    .mobile-menu-btn[b-8cq11xof2k] {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        margin-right: 0.75rem;
        background-color: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        border-radius: 6px;
        cursor: pointer;
        flex-shrink: 0;
        z-index: 10;
        position: relative;
        /* Remove any default button styles */
        box-shadow: none !important;
        outline: none !important;
        /* Ensure no white background shows through */
        overflow: hidden;
    }

    .mobile-menu-btn:hover[b-8cq11xof2k],
    .mobile-menu-btn:active[b-8cq11xof2k] {
        background-color: rgba(255, 255, 255, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
    }

    /* Style the SVG directly - no Bootstrap icon classes */
    .mobile-menu-btn svg[b-8cq11xof2k] {
        width: 24px;
        height: 24px;
        display: block;
        flex-shrink: 0;
    }
    
    .mobile-menu-btn svg path[b-8cq11xof2k] {
        stroke: rgba(255, 255, 255, 1);
    }
}

/* Mobile top bar improvements */
@media (max-width: 768px) {
    .top-row[b-8cq11xof2k] {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.4rem 0.5rem;
        min-height: auto;
    }

    .top-row > div:first-child[b-8cq11xof2k] {
        flex: 1 1 100%;
        order: 1;
    }

    .top-row > div:first-child > span[b-8cq11xof2k] {
        display: block;
        text-align: center;
        margin-bottom: 0.3rem;
        font-size: 0.85rem;
    }

    .top-row select[b-8cq11xof2k] {
        width: 100%;
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
    }

    .top-row img[alt="Payment QR Code"][b-8cq11xof2k] {
        display: block;
        margin: 0.3rem auto 0;
        max-width: 60px;
        max-height: 60px;
    }

    .top-row .btn[b-8cq11xof2k] {
        order: 2;
        width: 100%;
        margin-top: 0.3rem;
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Tablet top bar improvements */
@media (min-width: 641px) and (max-width: 1024px) {
    .top-row[b-8cq11xof2k] {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .top-row > div:first-child[b-8cq11xof2k] {
        flex: 1 1 auto;
    }

    .top-row select[b-8cq11xof2k] {
        min-width: 180px;
        max-width: 220px;
    }

    .top-row img[alt="Payment QR Code"][b-8cq11xof2k] {
        max-width: 70px;
        max-height: 70px;
    }
}

/* Mobile Landscape - reduce top bar height to save space */
@media (max-width: 1024px) and (orientation: landscape) {
    .top-row[b-8cq11xof2k] {
        padding: 0.25rem 0.75rem !important;
        min-height: 2.5rem !important;
        height: auto !important;
    }

    .top-row > div:first-child[b-8cq11xof2k] {
        gap: 0.5rem !important;
    }

    .top-row > div:first-child > span[b-8cq11xof2k] {
        font-size: 0.85rem !important;
    }

    .top-row select[b-8cq11xof2k] {
        font-size: 0.8rem !important;
        min-width: 120px !important;
        padding: 0.25rem 0.5rem !important;
    }

    .top-row img[alt="Payment QR Code"][b-8cq11xof2k] {
        max-width: 40px !important;
        max-height: 40px !important;
    }

    .top-row .btn[b-8cq11xof2k] {
        font-size: 0.8rem !important;
        padding: 0.2rem 0.4rem !important;
    }
}
/* _content/SportsGamingBlazor/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ridvz6t68l] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-ridvz6t68l] {
    height: 3.5rem;
    background-color: #7a9b8c;
}

.navbar-brand[b-ridvz6t68l] {
    font-size: 1.1rem;
}

.oi[b-ridvz6t68l] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-ridvz6t68l] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ridvz6t68l] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ridvz6t68l] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ridvz6t68l]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

    .nav-item[b-ridvz6t68l]  button {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        background: transparent;
    }

.nav-item[b-ridvz6t68l]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-ridvz6t68l]  a:hover,
.nav-item[b-ridvz6t68l]  button:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Ensure logout button container is visible and positioned at bottom */
.logout-button-container[b-ridvz6t68l] {
    margin-top: auto;
    position: relative;
    z-index: 10;
    display: block !important;
    visibility: visible !important;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ridvz6t68l] {
        display: none;
    }

    /* Never collapse the sidebar for wide screens */
    .nav-menu-container.collapse[b-ridvz6t68l],
    .nav-menu-container.collapse.show[b-ridvz6t68l] {
        display: flex !important;
    }
    
    .nav-scrollable[b-ridvz6t68l] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

@media (max-width: 640.98px) {
    /* Top-row is visible on mobile - contains hamburger */
    .top-row[b-ridvz6t68l] {
        display: flex !important;
        visibility: visible !important;
        height: 3.5rem !important;
        min-height: 3.5rem !important;
        background-color: #7a9b8c !important;
        padding: 0.5rem 0.75rem !important;
        align-items: center !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .navbar-toggler[b-ridvz6t68l] {
        display: flex !important;
        visibility: visible !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        background-color: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        border-radius: 6px !important;
        cursor: pointer !important;
    }

    .navbar-toggler-icon[b-ridvz6t68l] {
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
        display: block;
    }

    .navbar-brand[b-ridvz6t68l] {
        font-size: 1rem;
        padding: 0;
        font-weight: 600;
        flex: 1;
        margin-left: 0.5rem;
    }

    /* NavMenu container - expands inline below top-row */
    .nav-menu-container[b-ridvz6t68l] {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: relative;
    }

    /* NavMenu collapse state on mobile - hidden by default */
    .nav-menu-container.collapse[b-ridvz6t68l] {
        display: none !important;
    }

    /* NavMenu expanded state - shows inline below top-row */
    .nav-menu-container.collapse.show[b-ridvz6t68l] {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        background-color: #7a9b8c;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .top-row[b-ridvz6t68l] {
        padding: 0.5rem 0.75rem;
        min-height: 3.5rem;
        position: relative;
        z-index: 10;
    }

    .nav-item[b-ridvz6t68l] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item:first-of-type[b-ridvz6t68l] {
        padding-top: 0.5rem;
    }

    .nav-item:last-of-type[b-ridvz6t68l] {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }

    .nav-item[b-ridvz6t68l]  a,
    .nav-item[b-ridvz6t68l]  button {
        padding: 0.75rem 0.5rem;
        font-size: 0.95rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .nav-item[b-ridvz6t68l]  a .oi,
    .nav-item[b-ridvz6t68l]  button .oi {
        width: 1.3rem;
        margin-right: 0.75rem;
        font-size: 1.1rem;
    }
    
    /* Nested items */
    .nav-item[style*="padding-left: 2rem"][b-ridvz6t68l] {
        padding-left: 1.5rem;
    }
    
    .nav-item[style*="padding-left: 2rem"][b-ridvz6t68l]  a {
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Tablet specific styles */
@media (min-width: 641px) and (max-width: 1024px) {
    .sidebar[b-ridvz6t68l] {
        width: 200px;
    }

    .top-row[b-ridvz6t68l], article[b-ridvz6t68l] {
        padding-left: 1.5rem !important;
        padding-right: 1rem !important;
    }

    .nav-item[b-ridvz6t68l]  a,
    .nav-item[b-ridvz6t68l]  button {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

/* Mobile navigation enhancements */
@media (max-width: 640.98px) {
    .navbar-toggler[b-ridvz6t68l] {
        min-height: 48px;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-toggler-icon[b-ridvz6t68l] {
        width: 1.5rem;
        height: 1.5rem;
    }

    .nav-item[b-ridvz6t68l] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item:last-of-type[b-ridvz6t68l] {
        border-bottom: none;
    }

    .nav-item[b-ridvz6t68l]  a,
    .nav-item[b-ridvz6t68l]  button {
        min-height: 48px;
        padding: 1rem 0.75rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
    }

    .nav-item[b-ridvz6t68l]  a .oi,
    .nav-item[b-ridvz6t68l]  button .oi {
        width: 1.5rem;
        margin-right: 0.75rem;
        font-size: 1.2rem;
    }

    /* Better touch targets for nested items */
    .nav-item[style*="padding-left: 2rem"][b-ridvz6t68l]  a {
        padding-left: 2.5rem;
        font-size: 0.95rem;
    }
}

/* Tablet navigation enhancements */
@media (min-width: 641px) and (max-width: 1024px) {
    
}
