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

main[b-48l28is2ry] {
    flex: 1;
}

.sidebar[b-48l28is2ry] {
    background: var(--primary);
}

.top-row[b-48l28is2ry] {
    background-color: var(--bg);
    border-bottom: 1px solid var(--text);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

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

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

    /* Mobile: full width, compact padding */
    .page[b-48l28is2ry] {
        flex-direction: column;
    }

    .sidebar[b-48l28is2ry] {
        width: 100%;
        height: auto;
        position: relative;
    }

    .top-row[b-48l28is2ry], article[b-48l28is2ry] {
        padding-left: .75rem !important;
        padding-right: .75rem !important;
    }
}

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

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

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

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

    .top-row[b-48l28is2ry], article[b-48l28is2ry] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-pw0ijzwsi9] {
    background-color: var(--bg);
    border: 1px solid var(--text);
}

.top-row[b-pw0ijzwsi9] {
    height: 3.5rem;
    background-color: var(--primary);
}

.navbar-brand[b-pw0ijzwsi9] {
    font-size: 1.1rem;
}

.bi[b-pw0ijzwsi9] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
}

.nav-item[b-pw0ijzwsi9] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-pw0ijzwsi9] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-pw0ijzwsi9] {
        padding-bottom: 1rem;
    }

    .nav-item[b-pw0ijzwsi9]  a {
        color: var(--bg);
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        text-decoration: none;
    }

.nav-item[b-pw0ijzwsi9]  a.active {
    text-decoration: underline;
}

.nav-item[b-pw0ijzwsi9]  a:hover {
    text-decoration: underline;
}

@media (min-width: 641px) {
    .navbar-toggler[b-pw0ijzwsi9] {
        display: none;
    }

    .collapse[b-pw0ijzwsi9] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-pw0ijzwsi9] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Shared/PublicLayout.razor.rz.scp.css */
/* ===== PUBLIC LAYOUT ===== */
.public-layout[b-ah821wzsr8] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== HEADER / NAVBAR ===== */
.main-header[b-ah821wzsr8] {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg, #fff);
    border-bottom: 1px solid rgba(0,0,0,.08);
    transition: box-shadow .25s ease;
}

.main-header.scrolled[b-ah821wzsr8] {
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

.header-content[b-ah821wzsr8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem 0;
    gap: 1rem;
}

/* Logo */
.header-logo[b-ah821wzsr8] {
    flex-shrink: 0;
}

.logo-link[b-ah821wzsr8] {
    text-decoration: none;
    color: inherit;
}

.logo-container[b-ah821wzsr8] {
    display: flex;
    align-items: center;
}

.logo-image[b-ah821wzsr8] {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-fallback[b-ah821wzsr8] {
    display: flex;
    align-items: center;
}

.logo-title[b-ah821wzsr8] {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary, #B23A2C);
    letter-spacing: .5px;
}

/* Desktop Navigation */
.nav-desktop[b-ah821wzsr8] {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.nav-desktop .nav-link[b-ah821wzsr8] {
    padding: .5rem .85rem;
    font-weight: 600;
    font-size: .92rem;
    color: var(--text, #2B2B2B);
    text-decoration: none;
    border-radius: .4rem;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

.nav-desktop .nav-link:hover[b-ah821wzsr8] {
    background: rgba(178,58,44,.08);
    color: var(--primary, #B23A2C);
}

/* Dropdown */
.nav-dropdown[b-ah821wzsr8] {
    position: relative;
}

.nav-link-dropdown[b-ah821wzsr8] {
    cursor: pointer;
}

.nav-link-dropdown[b-ah821wzsr8]::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: .7rem;
    margin-left: .3rem;
    vertical-align: middle;
}

.nav-dropdown-menu[b-ah821wzsr8] {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--bg, #fff);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .65rem;
    box-shadow: 0 12px 32px rgba(0,0,0,.15);
    padding: .75rem 0;
    z-index: 1100;
    animation: dropdownFadeIn-b-ah821wzsr8 .2s ease;
}

@keyframes dropdownFadeIn-b-ah821wzsr8 {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-dropdown:hover .nav-dropdown-menu[b-ah821wzsr8] {
    display: block;
}

.nav-dropdown-link[b-ah821wzsr8] {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem 1.25rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text, #2B2B2B);
    text-decoration: none;
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
}

.nav-dropdown-link i[b-ah821wzsr8] {
    font-size: .95rem;
    color: var(--primary, #B23A2C);
    opacity: .8;
    transition: all .2s;
    width: 20px;
    text-align: center;
}

.nav-dropdown-link:hover[b-ah821wzsr8] {
    background: linear-gradient(90deg, rgba(178,58,44,.08), rgba(178,58,44,.02));
    color: var(--primary, #B23A2C);
    padding-left: 1.35rem;
    border-left-color: var(--primary, #B23A2C);
}

.nav-dropdown-link:hover i[b-ah821wzsr8] {
    opacity: 1;
    transform: translateX(2px);
}

/* Header Actions */
.header-actions[b-ah821wzsr8] {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.header-social[b-ah821wzsr8] {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.header-social-icon[b-ah821wzsr8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text, #2B2B2B);
    text-decoration: none;
    transition: background .2s, color .2s;
    font-size: .95rem;
}

.header-social-icon:hover[b-ah821wzsr8] {
    background: rgba(178,58,44,.1);
    color: var(--primary, #B23A2C);
}

.btn-lock[b-ah821wzsr8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: .4rem;
    border: 1px solid rgba(0,0,0,.12);
    background: transparent;
    color: var(--text, #2B2B2B);
    text-decoration: none;
    transition: background .2s, color .2s;
}

.btn-lock:hover[b-ah821wzsr8] {
    background: rgba(178,58,44,.08);
    color: var(--primary, #B23A2C);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle[b-ah821wzsr8] {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-line[b-ah821wzsr8] {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text, #2B2B2B);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

/* ===== MOBILE MENU ===== */
.mobile-menu[b-ah821wzsr8] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.45);
    opacity: 0;
    transition: opacity .25s ease;
}

.mobile-menu.active[b-ah821wzsr8] {
    display: flex;
    opacity: 1;
}

.mobile-menu-content[b-ah821wzsr8] {
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg, #fff);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,.15);
    overflow-y: auto;
}

.mobile-menu-header[b-ah821wzsr8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.mobile-logo[b-ah821wzsr8] {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary, #B23A2C);
}

.mobile-logo-image[b-ah821wzsr8] {
    height: 36px;
    width: auto;
}

.mobile-menu-close[b-ah821wzsr8] {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text, #2B2B2B);
    padding: .25rem;
}

.mobile-nav[b-ah821wzsr8] {
    display: flex;
    flex-direction: column;
    padding: .5rem 0;
    flex: 1;
}

.mobile-nav-link[b-ah821wzsr8] {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem 1.25rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--text, #2B2B2B);
    text-decoration: none;
    transition: background .15s;
}

.mobile-nav-link:hover[b-ah821wzsr8] {
    background: rgba(178,58,44,.06);
}

.mobile-nav-highlight[b-ah821wzsr8] {
    color: var(--primary, #B23A2C);
    font-weight: 700;
}

.mobile-nav-submenu[b-ah821wzsr8] {
    padding: .25rem 0;
    border-top: 1px solid rgba(0,0,0,.06);
    margin-top: .25rem;
}

.mobile-nav-submenu-title[b-ah821wzsr8] {
    padding: .5rem 1.25rem .25rem;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text, #2B2B2B);
    opacity: .5;
    margin: 0;
}

.mobile-nav-submenu .mobile-nav-link[b-ah821wzsr8] {
    padding-left: 2rem;
    font-size: .9rem;
}

.mobile-nav-divider[b-ah821wzsr8] {
    height: 1px;
    background: rgba(0,0,0,.08);
    margin: .5rem 0;
}

.mobile-menu-footer[b-ah821wzsr8] {
    padding: 1rem;
    border-top: 1px solid rgba(0,0,0,.08);
}

.mobile-social-icons[b-ah821wzsr8] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

.mobile-social-icon[b-ah821wzsr8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text, #2B2B2B);
    text-decoration: none;
    font-size: 1.1rem;
    border: 1px solid rgba(0,0,0,.1);
    transition: background .2s, color .2s;
}

.mobile-social-icon:hover[b-ah821wzsr8] {
    background: var(--primary, #B23A2C);
    color: #fff;
    border-color: var(--primary, #B23A2C);
}

/* ===== MAIN CONTENT ===== */
.public-main[b-ah821wzsr8] {
    flex: 1;
}

/* Mobile dropdown toggle */
.mobile-dropdown-toggle[b-ah821wzsr8] {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.mobile-nav-sublink[b-ah821wzsr8] {
    padding-left: 2.5rem !important;
    font-size: .9rem;
}

/* Login button style */
.btn-login[b-ah821wzsr8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: .4rem;
    border: 1px solid rgba(0,0,0,.12);
    background: transparent;
    color: var(--text, #2B2B2B);
    text-decoration: none;
    transition: background .2s, color .2s;
}

.btn-login:hover[b-ah821wzsr8] {
    background: rgba(178,58,44,.08);
    color: var(--primary, #B23A2C);
}

/* ===== FOOTER ===== */
.public-footer[b-ah821wzsr8] {
    background: var(--text, #2B2B2B);
    color: #fff;
    padding-top: 1rem;
    margin-top: 2rem;
}

.public-footer a[b-ah821wzsr8] {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: color .2s;
}

.public-footer a:hover[b-ah821wzsr8] {
    color: var(--accent, #F2C94C);
}

.footer-top[b-ah821wzsr8] {
    padding-bottom: .75rem;
}

.footer-title[b-ah821wzsr8] {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .55rem;
    color: var(--accent, #F2C94C);
}

.footer-contact[b-ah821wzsr8] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-contact-item[b-ah821wzsr8] {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin: 0;
    font-size: .9rem;
    color: rgba(255,255,255,.85);
}

.footer-contact-item i[b-ah821wzsr8] {
    margin-top: .15rem;
    color: var(--accent, #F2C94C);
}

.footer-links[b-ah821wzsr8] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.footer-links li a[b-ah821wzsr8] {
    font-size: .9rem;
}

.footer-desc[b-ah821wzsr8] {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    margin-bottom: .75rem;
}

.footer-social[b-ah821wzsr8] {
    display: flex;
    gap: .5rem;
}

.footer-social-icon[b-ah821wzsr8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 1rem;
    transition: background .2s, border-color .2s, color .2s;
}

.footer-social-icon:hover[b-ah821wzsr8] {
    background: var(--accent, #F2C94C);
    border-color: var(--accent, #F2C94C);
    color: var(--text, #2B2B2B);
}

.footer-bottom[b-ah821wzsr8] {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: .55rem 0;
    text-align: center;
}

.footer-copyright[b-ah821wzsr8] {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .nav-desktop[b-ah821wzsr8] {
        display: none;
    }

    .header-social[b-ah821wzsr8] {
        display: none;
    }

    .header-actions .ds-btn[b-ah821wzsr8] {
        display: none;
    }

    .btn-lock[b-ah821wzsr8] {
        display: none !important;
    }

    /* Hide the login lock icon on tablet and mobile — login is in mobile menu */
    .btn-login[b-ah821wzsr8] {
        display: none !important;
    }

    .mobile-menu-toggle[b-ah821wzsr8] {
        display: flex;
    }

    /* Simplify header-actions: only hamburger visible */
    .header-actions[b-ah821wzsr8] {
        gap: .5rem;
    }

    /* Footer adjustments for tablet */
    .public-footer[b-ah821wzsr8] {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .footer-top[b-ah821wzsr8] {
        padding-bottom: .5rem;
    }
}

@media (max-width: 767px) {
    /* Ensure lock icon is hidden on any mobile device */
    .btn-login[b-ah821wzsr8] {
        display: none !important;
    }

    /* Header compact */
    .header-content[b-ah821wzsr8] {
        padding: .5rem 0;
    }

    .logo-image[b-ah821wzsr8] {
        height: 36px;
    }

    /* Footer compact */
    .public-footer[b-ah821wzsr8] {
        padding-top: 1.25rem;
        margin-top: 1rem;
    }

    .footer-title[b-ah821wzsr8] {
        font-size: .88rem;
        margin-bottom: .4rem;
    }

    .footer-links li a[b-ah821wzsr8] {
        font-size: .84rem;
    }

    .footer-contact-item[b-ah821wzsr8] {
        font-size: .84rem;
    }

    .footer-desc[b-ah821wzsr8] {
        font-size: .82rem;
    }

    .footer-social-icon[b-ah821wzsr8] {
        width: 34px;
        height: 34px;
        font-size: .9rem;
    }

    .footer-copyright[b-ah821wzsr8] {
        font-size: .76rem;
    }
}

@media (max-width: 575px) {
    .logo-image[b-ah821wzsr8] {
        height: 32px;
    }

    .header-content[b-ah821wzsr8] {
        gap: .35rem;
    }

    .mobile-menu-toggle[b-ah821wzsr8] {
        padding: .55rem .65rem;
    }

    /* Full width mobile menu on small phones */
    .mobile-menu-content[b-ah821wzsr8] {
        width: 100%;
        max-width: 100%;
    }
}
