/* /Layout/AuthLayout.razor.rz.scp.css */
.auth-shell[b-q8s0wy4thj] {
    --brand-primary: #362F2D;
    --brand-primary-2: #4a403d;
    --line: #d7cfcb;
    --surface: #f6f4f3;
    min-height: 100vh;
    position: relative;
    display: grid;
    place-items: center;
    padding: 20px 14px;
    overflow: hidden;
    background: radial-gradient(1000px 280px at 10% -20%, #efe4de 0%, transparent 58%),
                radial-gradient(900px 280px at 95% -25%, #e7dcd5 0%, transparent 60%),
                var(--surface);
}

.auth-backdrop[b-q8s0wy4thj] {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(54, 47, 45, 0.08), rgba(54, 47, 45, 0));
    pointer-events: none;
}

.auth-container[b-q8s0wy4thj] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
}

.auth-brand[b-q8s0wy4thj] {
    text-align: center;
    margin-bottom: 16px;
}

.auth-title[b-q8s0wy4thj] {
    display: inline-block;
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 900;
    line-height: .95;
    letter-spacing: .18em;
    color: #2a2321;
    text-transform: uppercase;
    text-shadow: 0 14px 32px rgba(54, 47, 45, .12);
}

.auth-subtitle[b-q8s0wy4thj] {
    margin-top: 8px;
    font-size: 13px;
    color: #756a66;
}

.auth-panel[b-q8s0wy4thj] {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(28, 21, 19, 0.10);
}

.auth-panel :is(.card)[b-q8s0wy4thj] {
    border-radius: 14px;
    border-color: var(--line);
}

.auth-panel :is(.btn, .form-control, .form-select, .input-group-text, .alert)[b-q8s0wy4thj] {
    border-radius: 12px;
}

.auth-panel :is(.btn-primary, .btn-success)[b-q8s0wy4thj] {
    border-color: #2f2826;
    background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-primary-2) 100%);
}

.auth-panel :is(.btn-outline-primary, .btn-outline-secondary, .btn-outline-dark)[b-q8s0wy4thj] {
    border-color: #c8bfbb;
    color: #3e3431;
}

.auth-panel :is(.btn-outline-primary:hover, .btn-outline-secondary:hover, .btn-outline-dark:hover)[b-q8s0wy4thj] {
    color: #fff;
    border-color: var(--brand-primary);
    background: var(--brand-primary);
}

.auth-panel :is(a, .btn-link)[b-q8s0wy4thj] {
    color: #5a4740;
}

.auth-footer[b-q8s0wy4thj] {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    color: #867a76;
}

@media (max-width: 640px) {
    .auth-shell[b-q8s0wy4thj] {
        padding: 14px 10px;
    }

    .auth-panel[b-q8s0wy4thj] {
        border-radius: 16px;
        padding: 14px;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-hjaxrnk807],
.app-shell *[b-hjaxrnk807] {
    box-sizing: border-box;
}

.app-shell[b-hjaxrnk807] {
    --brand-primary: #362F2D;
    --brand-primary-2: #4a403d;
    --brand-accent: #e9ddd4;
    --surface: #f6f4f3;
    --ink: #1f1b1a;
    --muted: #786d69;
    --line: #d7cfcb;
    --topbar-height: 60px;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(1200px 300px at 20% -20%, #f0e7e2 0%, transparent 55%),
        radial-gradient(900px 300px at 90% -30%, #e8dfda 0%, transparent 58%),
        var(--surface);
    color: var(--ink);
}

.topbar[b-hjaxrnk807] {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--topbar-height);
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-primary-2) 100%);
    color: #fff;
}

.topbar-left[b-hjaxrnk807] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 0 0 auto;
}

.brand-link[b-hjaxrnk807] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    text-decoration: none;
    min-width: 0;
    width: auto;
    max-width: clamp(72px, 24vw, 260px);
    height: 36px;
    max-height: 36px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    flex: 0 1 auto;
    overflow: hidden;
    line-height: 1;
}

.brand-text-desktop[b-hjaxrnk807] {
    display: inline;
}

.brand-text-mobile[b-hjaxrnk807] {
    display: none;
}

.brand-header-logo[b-hjaxrnk807] {
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
}

.icon-btn[b-hjaxrnk807] {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.hamburger[b-hjaxrnk807],
.hamburger[b-hjaxrnk807]::before,
.hamburger[b-hjaxrnk807]::after {
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    content: "";
    display: block;
}

.hamburger[b-hjaxrnk807]::before {
    transform: translateY(-5px);
}

.hamburger[b-hjaxrnk807]::after {
    transform: translateY(3px);
}

.topbar-search[b-hjaxrnk807] {
    position: relative;
    min-width: 120px;
    flex: 1 1 auto;
}

.search-input[b-hjaxrnk807] {
    width: 100%;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    padding: 0 14px;
    outline: none;
}

.search-input[b-hjaxrnk807]::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.search-popover[b-hjaxrnk807] {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(26, 20, 18, 0.16);
    overflow: hidden auto;
    max-height: min(50vh, 360px);
    z-index: 1300;
}

.search-item[b-hjaxrnk807] {
    width: 100%;
    border: 0;
    background: #fff;
    text-align: left;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    cursor: pointer;
}

.search-item:hover[b-hjaxrnk807] {
    background: #f9f5f2;
}

.search-item-title[b-hjaxrnk807] {
    font-weight: 600;
    color: var(--ink);
}

.search-item-meta[b-hjaxrnk807] {
    font-size: 12px;
    color: var(--muted);
}

.topbar-actions[b-hjaxrnk807] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.notif-btn[b-hjaxrnk807] {
    position: relative;
}

.notif-dot[b-hjaxrnk807] {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #b42318;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    border: 1px solid var(--brand-primary);
}

.icon-text[b-hjaxrnk807] {
    font-size: 14px;
}

.profile-btn[b-hjaxrnk807] {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 12px;
    height: 36px;
    padding: 0 10px;
    max-width: 260px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
}

.profile-email[b-hjaxrnk807] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13.5px;
}

.profile-caret[b-hjaxrnk807] {
    font-size: 12px;
}

.floating-panel[b-hjaxrnk807] {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 320px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(20, 14, 12, 0.2);
    padding: 14px;
    color: var(--ink);
    z-index: 1300;
}

.notif-panel[b-hjaxrnk807] {
    right: 48px;
    width: 300px;
}

.panel-title[b-hjaxrnk807] {
    font-weight: 700;
    margin-bottom: 10px;
}

.panel-body[b-hjaxrnk807],
.panel-row[b-hjaxrnk807] {
    color: var(--muted);
    font-size: 13.5px;
    margin-bottom: 10px;
}

.panel-link[b-hjaxrnk807] {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    margin-top: 6px;
    cursor: pointer;
    color: var(--ink);
}

.panel-link-danger[b-hjaxrnk807] {
    border-color: #f3d4cf;
    color: #ae2a1a;
    background: #fff7f5;
}

.drawer-overlay[b-hjaxrnk807] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1190;
}

.drawer-overlay.open[b-hjaxrnk807] {
    opacity: 1;
    pointer-events: auto;
}

.drawer[b-hjaxrnk807] {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, var(--brand-primary) 0%, #2f2826 100%);
    color: #f7f2ef;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    transition: left 0.25s ease;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 36px rgba(20, 14, 12, 0.35);
}

.drawer.open[b-hjaxrnk807] {
    left: 0;
}

.drawer-header[b-hjaxrnk807] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 14px 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.drawer-title[b-hjaxrnk807] {
    font-weight: 700;
}

.drawer-loading[b-hjaxrnk807] {
    padding: 12px 14px;
    opacity: 0.85;
}

.drawer-body[b-hjaxrnk807] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.drawer-body[b-hjaxrnk807]::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.drawer-section[b-hjaxrnk807] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.drawer-section-head[b-hjaxrnk807] {
    width: calc(100% - 16px);
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    text-align: left;
    padding: 10px 12px;
    margin: 8px 8px 4px 8px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
    min-height: 44px;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.drawer-section-head:hover[b-hjaxrnk807] {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.drawer-section-head:focus-visible[b-hjaxrnk807],
.drawer-section-head:active[b-hjaxrnk807] {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.30);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

.drawer-arrow[b-hjaxrnk807] {
    font-size: 12px;
    opacity: 0.9;
}

.drawer-submenu[b-hjaxrnk807] {
    display: grid;
    gap: 4px;
    padding: 0 8px 10px 8px;
}

.drawer-submenu a[b-hjaxrnk807] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #f2e8e3;
    text-decoration: none;
    padding: 9px 10px;
    min-height: 44px;
    font-size: 14px;
    width: 100%;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.drawer-submenu a[b-hjaxrnk807],
.drawer-submenu a:link[b-hjaxrnk807],
.drawer-submenu a:visited[b-hjaxrnk807] {
    color: #f2e8e3 !important;
    text-decoration: none !important;
}

.drawer-submenu a.active[b-hjaxrnk807] {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

.drawer-submenu a:hover[b-hjaxrnk807] {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff !important;
    text-decoration: none !important;
}

.drawer-badge[b-hjaxrnk807] {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.content-wrap[b-hjaxrnk807] {
    width: 100%;
}

.content-area[b-hjaxrnk807] {
    padding: calc(var(--topbar-height) + 18px) 24px 26px 24px;
}

@media (max-width: 900px) {
    .app-shell[b-hjaxrnk807] {
        --topbar-height: 56px;
    }

    .topbar[b-hjaxrnk807] {
        gap: 8px;
        padding: 8px 10px;
    }

    .brand-text-desktop[b-hjaxrnk807] {
        display: none;
    }

    .brand-text-mobile[b-hjaxrnk807] {
        display: inline;
    }

    .brand-link[b-hjaxrnk807] {
        width: auto;
        max-width: clamp(56px, 26vw, 150px);
        height: 34px;
        max-height: 34px;
    }

    .topbar-search[b-hjaxrnk807] {
        min-width: 84px;
    }

    .search-input[b-hjaxrnk807] {
        height: 34px;
        border-radius: 10px;
        padding: 0 10px;
        font-size: 12.5px;
    }

    .topbar-actions[b-hjaxrnk807] {
        gap: 6px;
    }

    .floating-panel[b-hjaxrnk807] {
        right: 0;
        width: min(320px, calc(100vw - 20px));
    }

    .notif-panel[b-hjaxrnk807] {
        right: 0;
        width: min(300px, calc(100vw - 20px));
    }

    .profile-btn[b-hjaxrnk807] {
        max-width: 42px;
        width: 42px;
        justify-content: center;
        padding: 0;
    }

    .profile-email[b-hjaxrnk807] {
        display: none;
    }

    .drawer[b-hjaxrnk807] {
        left: -100vw;
        width: 100vw;
        max-width: 100vw;
        border-right: 0;
    }

    .drawer.open[b-hjaxrnk807] {
        left: 0;
    }

    .drawer-header[b-hjaxrnk807] {
        padding: 16px 16px 12px 14px;
    }

    .drawer-title[b-hjaxrnk807] {
        font-size: 1.05rem;
    }

    .drawer-header .icon-btn[b-hjaxrnk807] {
        margin-right: 2px;
    }

    .drawer-section-head[b-hjaxrnk807] {
        width: calc(100% - 20px);
        font-size: 0.98rem;
        margin: 10px 10px 6px 10px;
        min-height: 46px;
    }

    .drawer-submenu a[b-hjaxrnk807] {
        font-size: 0.96rem;
        padding: 11px 12px;
        min-height: 46px;
    }

    .drawer-submenu[b-hjaxrnk807] {
        padding: 0 12px 14px 12px;
        gap: 8px;
    }

    .drawer-section[b-hjaxrnk807] {
        padding-bottom: 2px;
    }

    .drawer-overlay.open[b-hjaxrnk807] {
        background: rgba(0, 0, 0, 0.45);
    }

    .content-area[b-hjaxrnk807] {
        padding: calc(var(--topbar-height) + 12px) 14px 20px 14px;
    }
}
