/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ═══ BATMAN MAIN LAYOUT ═══ */

.page[b-zkih32fay0] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #030303;
}

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

/* ─── Batman Sidebar ─── */
.sidebar[b-zkih32fay0] {
    background: linear-gradient(180deg, #050505 0%, #060606 50%, #050505 100%);
    border-right: 1px solid rgba(245, 197, 24, 0.15);
    position: relative;
    overflow: hidden;
}

/* Bat Signal watermark at bottom of sidebar */
.sidebar[b-zkih32fay0]::before {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 90px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'%3E%3Cpath fill='rgba(245%2C197%2C24%2C0.05)' d='M50 55 C42 55 28 42 14 36 C5 31 0 36 0 36 C6 23 18 18 28 24 C33 27 38 24 43 18 C45 13 48 7 50 7 C52 7 55 13 57 18 C62 24 67 27 72 24 C82 18 94 23 100 36 C100 36 95 31 86 36 C72 42 58 55 50 55Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    animation: bat-pulse 4s ease-in-out infinite;
}

/* Vertical golden rule on right edge of sidebar */
.sidebar[b-zkih32fay0]::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(245, 197, 24, 0.3) 30%, rgba(245, 197, 24, 0.3) 70%, transparent);
    pointer-events: none;
}

/* ─── Top row ─── */
.top-row[b-zkih32fay0] {
    background-color: #050505;
    border-bottom: 1px solid rgba(245, 197, 24, 0.15);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-zkih32fay0]  a, .top-row[b-zkih32fay0]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: #f5c518;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
}

.top-row[b-zkih32fay0]  a:hover, .top-row[b-zkih32fay0]  .btn-link:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(245, 197, 24, 0.4);
}

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

@media (max-width: 640.98px) {
    .top-row[b-zkih32fay0] { justify-content: space-between; }
    .top-row[b-zkih32fay0]  a, .top-row[b-zkih32fay0]  .btn-link { margin-left: 0; }
}

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

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

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

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

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

/* ─── Blazor Error UI ─── */
#blazor-error-ui[b-zkih32fay0] {
    background: rgba(100, 0, 0, 0.95);
    border-top: 2px solid #f5c518;
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(245, 197, 24, 0.15);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #f5c518;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
}

#blazor-error-ui .dismiss[b-zkih32fay0] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    color: #f5c518;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ═══ BATMAN NAVIGATION SIDEBAR ═══ */

.navbar-toggler[b-au72js3q93] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: #f5c518;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(245, 197, 24, 0.3);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f5c518' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(245, 197, 24, 0.05);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.navbar-toggler:checked[b-au72js3q93] {
    background-color: rgba(245, 197, 24, 0.15);
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.25);
}

/* ─── Sidebar header row ─── */
.top-row[b-au72js3q93] {
    height: 3.5rem;
    background: linear-gradient(90deg, #050505, #080808);
    border-bottom: 1px solid rgba(245, 197, 24, 0.2);
    position: relative;
    overflow: hidden;
}

/* Animated yellow scanline on header */
.top-row[b-au72js3q93]::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.08), transparent);
    animation: signal-sweep 6s ease-in-out infinite;
}

/* ─── Brand ─── */
.navbar-brand[b-au72js3q93] {
    font-family: 'Cinzel', Georgia, serif !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase;
    color: #f5c518 !important;
    text-shadow: 0 0 16px rgba(245, 197, 24, 0.5), 0 0 30px rgba(245, 197, 24, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ─── Bat icon base ─── */
.bi[b-au72js3q93] {
    display: inline-block;
    position: relative;
    width: 1.4rem;
    height: 1rem;
    margin-right: 0.6rem;
    top: -1px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 4px rgba(245, 197, 24, 0.4));
    flex-shrink: 0;
}

/* All nav icons use the Batman bat silhouette */
.bi-house-door-fill-nav-menu[b-au72js3q93],
.bi-geo-alt-fill-nav-menu[b-au72js3q93],
.bi-plus-square-fill-nav-menu[b-au72js3q93],
.bi-list-nested-nav-menu[b-au72js3q93] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'%3E%3Cpath fill='%23f5c518' d='M50 55 C42 55 28 42 14 36 C5 31 0 36 0 36 C6 23 18 18 28 24 C33 27 38 24 43 18 C45 13 48 7 50 7 C52 7 55 13 57 18 C62 24 67 27 72 24 C82 18 94 23 100 36 C100 36 95 31 86 36 C72 42 58 55 50 55Z'/%3E%3C/svg%3E");
}

/* ─── Nav items ─── */
.nav-item[b-au72js3q93] {
    font-size: 0.8rem;
    padding-bottom: 0.15rem;
}

.nav-item:first-of-type[b-au72js3q93] { padding-top: 0.75rem; }
.nav-item:last-of-type[b-au72js3q93]  { padding-bottom: 1rem; }

.nav-item[b-au72js3q93]  .nav-link {
    color: #777777;
    background: none;
    border: none;
    border-left: 2px solid transparent;
    border-radius: 0 3px 3px 0;
    height: 2.75rem;
    display: flex;
    align-items: center;
    line-height: 1;
    width: 100%;
    font-family: 'Oswald', Impact, sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    transition: all 0.2s ease;
    padding-left: 1rem;
    position: relative;
    overflow: hidden;
}

/* Active nav item — Batman Yellow highlight */
.nav-item[b-au72js3q93]  a.active {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.13) 0%, rgba(245, 197, 24, 0.03) 100%);
    color: #f5c518;
    border-left: 2px solid #f5c518;
    text-shadow: 0 0 10px rgba(245, 197, 24, 0.5);
}

.nav-item[b-au72js3q93]  a.active .bi {
    filter: drop-shadow(0 0 6px rgba(245, 197, 24, 0.9));
}

/* Hover — dim yellow glow */
.nav-item[b-au72js3q93]  .nav-link:hover {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.07) 0%, transparent 100%);
    color: #bbbbbb;
    border-left: 2px solid rgba(245, 197, 24, 0.35);
}

/* ─── Scrollable container ─── */
.nav-scrollable[b-au72js3q93] { display: none; }
.navbar-toggler:checked ~ .nav-scrollable[b-au72js3q93] { display: block; }

@media (min-width: 641px) {
    .navbar-toggler[b-au72js3q93] { display: none; }
    .nav-scrollable[b-au72js3q93] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
