/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-av7pxu1y8u] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-av7pxu1y8u] {
    flex: 1;
}

.sidebar[b-av7pxu1y8u] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-av7pxu1y8u] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-av7pxu1y8u]  a, .top-row[b-av7pxu1y8u]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-av7pxu1y8u]  a:hover, .top-row[b-av7pxu1y8u]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-av7pxu1y8u]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row[b-av7pxu1y8u] {
        justify-content: space-between;
    }

        .top-row[b-av7pxu1y8u]  a, .top-row[b-av7pxu1y8u]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-av7pxu1y8u] {
        flex-direction: row;
    }

    .sidebar[b-av7pxu1y8u] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-av7pxu1y8u] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-av7pxu1y8u]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-av7pxu1y8u], article[b-av7pxu1y8u] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-av7pxu1y8u] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-av7pxu1y8u] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Hide bottom footer on mobile devices */
@media (max-width: 768px) {
    .bottom-footer[b-av7pxu1y8u] {
        display: none !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navHeader[b-p6qj96672s] {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #253551;
    color: white;
    width: 100%;
    transition: top 0.3s ease-in-out;
}

.navButton[b-p6qj96672s] {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.navButton:hover[b-p6qj96672s] {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.nav-link.active[b-p6qj96672s] {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

/* Mobile navigation styles */
.mobile-menu-button[b-p6qj96672s] {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.5rem;
}

.mobile-nav-links[b-p6qj96672s] {
    display: flex;
    flex: 1;
}

/* Keep cart and login/logout visible */
.persistent-buttons[b-p6qj96672s] {
    display: flex;
    align-items: center;
    flex-direction: row;
    white-space: nowrap;
    gap: 0.5rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .navHeader[b-p6qj96672s] {
        justify-content: space-between;
        padding: 0.5rem;
    }
    
    .mobile-menu-button[b-p6qj96672s] {
        display: block;
    }
    
    .mobile-nav-links[b-p6qj96672s] {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #253551;
        flex-direction: column;
        padding: 0.5rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }
    
    .mobile-nav-links.show[b-p6qj96672s] {
        max-height: 500px; /* Adjust based on your menu height */
    }
    
    .mobile-nav-links .navButton[b-p6qj96672s] {
        margin: 0.25rem 0.5rem;
    }
}
