/* /Pages/Index/IndexComponents/Currencies.razor.rz.scp.css */
/* Wrapper centers the currencies inside the header area */
.currencies-wrapper[b-2ndfx93g5a] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--header-height);
    padding: 0 0.5rem;
    pointer-events: auto;
}

/* The stylized box that looks like a comic-panel frame */
.currency-box[b-2ndfx93g5a] {
    position: relative;
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.35rem 0.6rem;
    background: linear-gradient(180deg, #fffdf2 0%, #fff6d6 100%);
    border-radius: 8px;
    z-index: 0;
    font-weight: 700;
    color: #221b12;
    /* a subtle inner stroke so the background reads like paper */
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Dedicated decorative vertical separator between currency items */
.currency-separator[b-2ndfx93g5a] {
    width: 3px;                                    /* thickness */
    height: calc(var(--header-height) * 0.75);     /* definite height based on header */
    max-height: 1.6rem;                            /* optional cap */
    background: linear-gradient(#8a5a2a, #6b4826);
    border-radius: 2px;
    align-self: center;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.12) inset, 0 1px 0 rgba(255,255,255,0.15);
    margin: 0 0.45rem;                /* space between items and separator */
}


/* Constrain the actual <img> so it never exceeds the header height */
.currency-icon[b-2ndfx93g5a] {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(var(--header-height) - 1rem);
    object-fit: contain;
    vertical-align: middle;
    image-rendering: crisp-edges;
}

/* Small screens: make box compact */
@media (max-width: 480px) {
    .currency-box[b-2ndfx93g5a] {
        gap: 0.5rem;
        padding: 0.2rem 0.45rem;
    }

    .currency-value[b-2ndfx93g5a] {
        font-size: 0.9rem;
    }

    .currency-separator[b-2ndfx93g5a] {
        width: 2px;
        height: calc(var(--header-height) * 0.75); /* definite height based on header */
        margin: 0 0.35rem;
    }
}
/* /Shared/LoginLayout.razor.rz.scp.css */
.login-container[b-netk93in1t] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #f7eac8;
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-912k6mqlff] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #f7eac8;
}

main[b-912k6mqlff] {
    flex: 1;
}

.sidebar[b-912k6mqlff] {
    background-image: linear-gradient(180deg, rgb(122, 65, 17) 0%, #bf8f67 80%);
}

.top-row[b-912k6mqlff] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-912k6mqlff]  a, .top-row[b-912k6mqlff]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-912k6mqlff]  a:hover, .top-row[b-912k6mqlff]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-912k6mqlff]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-912k6mqlff] {
        display: none;
    }

    .top-row.auth[b-912k6mqlff] {
        justify-content: space-between;
    }

    .top-row[b-912k6mqlff]  a, .top-row[b-912k6mqlff]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-912k6mqlff] {
        flex-direction: row;
    }

    .sidebar[b-912k6mqlff] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-912k6mqlff] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-912k6mqlff]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-912k6mqlff], article[b-912k6mqlff] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Slide-in panel + overlay (panel slides; overlay appears instantly) */

.nav-overlay[b-912k6mqlff] {
    position: fixed;
    inset: 0;
    /* overlay visible immediately when .open is toggled; no opacity transition */
    background: rgba(0,0,0,0.45);
    z-index: 1100;
    visibility: hidden;
    pointer-events: none;
}

/* open state: overlay becomes active immediately (no fade) */
.nav-overlay.open[b-912k6mqlff] {
    visibility: visible;
    pointer-events: auto;
}

/* nav panel: start off-screen with translateX and slide using transform */
.nav-wrapper[b-912k6mqlff] {
    position: fixed;
    left: 0;
    top: var(--header-height, 72px);
    bottom: 0;
    width: min(var(--nav-width, 320px), 85vw);
    background: var(--nav-bg, #fff);
    box-shadow: 2px 0 6px rgba(0,0,0,0.12);
    overflow: auto;
    transform: translateX(-100%);       /* hidden off-screen */
    transition: transform 220ms cubic-bezier(.2,.8,.2,1); /* animate only transform */
    will-change: transform;
}

/* reveal panel when overlay is open */
.nav-overlay.open .nav-wrapper[b-912k6mqlff] {
    transform: translateX(0);
}

/* desktop header height override */
@media (min-width: 992px) {
    /* use the unified header variable so all layout pieces remain consistent */
    .nav-wrapper[b-912k6mqlff] { top: var(--header-height, 80px); width: var(--nav-width, 320px); }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-2l11uvqt0d] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-2l11uvqt0d] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-2l11uvqt0d] {
    font-size: 1.1rem;
}

.oi[b-2l11uvqt0d] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-2l11uvqt0d] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-2l11uvqt0d] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-2l11uvqt0d] {
        padding-bottom: 1rem;
    }

    .nav-item[b-2l11uvqt0d]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-2l11uvqt0d]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-2l11uvqt0d]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.navbar-logo[b-2l11uvqt0d] {
    display: block;
    max-height: 3.5rem;
    width: auto;
    height: auto;
}

@media (min-width: 641px) {
    .navbar-toggler[b-2l11uvqt0d] {
        display: none;
    }

    .navbar-logo[b-2l11uvqt0d] {
        object-fit: contain;
    }

    .collapse[b-2l11uvqt0d] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
