/* /Shared/ErrorDialogs/ErrorDialog.razor.rz.scp.css */
/* Friendly error dialog (POC A). Scoped to ErrorDialog.razor by CSS isolation. */

.ed-backdrop[b-soud009gnb] {
    --ed-ink: #1E2227;
    --ed-muted: #4A5058;
    --ed-line: #E6E8EB;
    position: fixed;
    inset: 0;
    z-index: 1060; /* above Bootstrap's modal (1055) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(30, 34, 39, 0.55);
    animation: ed-fade-b-soud009gnb 140ms ease-out;
}

.ed-dialog[b-soud009gnb] {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 40px 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    color: var(--ed-ink);
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    outline: none;
    animation: ed-rise-b-soud009gnb 180ms ease-out;
}

.ed-x[b-soud009gnb] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--ed-muted);
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.ed-x:hover[b-soud009gnb] {
    background: #F1F2F4;
}

.ed-badge[b-soud009gnb] {
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ed-accent);
    border-radius: 50%;
    background: #F2E8E9; /* fallback for browsers without color-mix */
    background: color-mix(in srgb, var(--ed-accent) 10%, #FFFFFF);
}

.ed-copy[b-soud009gnb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ed-title[b-soud009gnb] {
    margin: 0;
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ed-ink);
}

.ed-message[b-soud009gnb] {
    margin: 0;
    font-size: 15px;
    line-height: 23px;
    color: var(--ed-muted);
}

.ed-actions[b-soud009gnb] {
    display: flex;
    gap: 12px;
    width: 100%;
}

.ed-btn[b-soud009gnb] {
    flex: 1 1 0;
    justify-content: center; /* template.css makes every button display:flex */
    height: 46px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

.ed-btn-primary[b-soud009gnb] {
    color: #FFFFFF;
    background: var(--ed-accent);
    border: 0;
}

.ed-btn-primary:hover[b-soud009gnb] {
    filter: brightness(0.9);
}

.ed-btn-secondary[b-soud009gnb] {
    color: var(--ed-ink);
    background: #FFFFFF;
    border: 1px solid #C3C8CF;
}

.ed-btn-secondary:hover[b-soud009gnb] {
    background: #F6F7F8;
}

.ed-btn:focus-visible[b-soud009gnb],
.ed-x:focus-visible[b-soud009gnb],
.ed-phone:focus-visible[b-soud009gnb] {
    outline: 2px solid var(--ed-accent);
    outline-offset: 2px;
}

.ed-support[b-soud009gnb] {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-top: 16px;
    font-size: 14px;
    line-height: 22px;
    color: var(--ed-muted);
    border-top: 1px solid var(--ed-line);
}

.ed-phone[b-soud009gnb] {
    font-weight: 600;
    white-space: nowrap;
    color: var(--ed-accent);
    text-decoration: none;
}

.ed-phone:hover[b-soud009gnb] {
    text-decoration: underline;
}

@media (max-width: 400px) {
    .ed-dialog[b-soud009gnb] {
        padding: 36px 20px 20px;
    }

    .ed-actions[b-soud009gnb] {
        flex-direction: column;
    }

    .ed-btn[b-soud009gnb] {
        flex: 0 0 auto;
    }
}

@keyframes ed-fade-b-soud009gnb {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ed-rise-b-soud009gnb {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .ed-backdrop[b-soud009gnb],
    .ed-dialog[b-soud009gnb] {
        animation: none;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-a9dyrh6t2x] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-a9dyrh6t2x] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-a9dyrh6t2x] {
    font-size: 1.1rem;
}

.oi[b-a9dyrh6t2x] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-a9dyrh6t2x] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-a9dyrh6t2x] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-a9dyrh6t2x] {
        padding-bottom: 1rem;
    }

    .nav-item[b-a9dyrh6t2x]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-a9dyrh6t2x]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-a9dyrh6t2x]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-a9dyrh6t2x] {
        display: none;
    }

    .collapse[b-a9dyrh6t2x] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-a9dyrh6t2x] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
