/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-lwkc7uuxy3] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Pinned top header */
.topbar[b-lwkc7uuxy3] {
    position: sticky;
    top: 0;
    z-index: 200;
    background: linear-gradient(180deg, var(--sidebar-2) 0%, var(--sidebar) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.28);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 16px rgba(33, 28, 21, 0.12);
}

main[b-lwkc7uuxy3] {
    flex: 1;
    min-width: 0;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ---------------- Top bar layout ---------------- */

.topbar-inner[b-suppc649to] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    height: 3.75rem;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ---------------- Brand ---------------- */

.navbar-brand[b-suppc649to] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0;
    text-decoration: none;
    flex-shrink: 0;
}
.navbar-brand:hover[b-suppc649to] { text-decoration: none; }

.brand-mark[b-suppc649to] {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(150deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    position: relative;
}
.brand-mark[b-suppc649to]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M1 2.828c.885-.37 2.154-.769 3.388-.893 1.33-.134 2.458.063 3.112.752v9.746c-.935-.53-2.12-.603-3.213-.493-1.18.12-2.37.461-3.287.811zm7.5-.141c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492z'/%3E%3C/svg%3E") no-repeat center / 1.05rem;
}

.brand-name[b-suppc649to] {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--sidebar-fg);
}
.brand-name em[b-suppc649to] { color: var(--accent); font-style: normal; }

/* ---------------- Horizontal nav ---------------- */

.topnav[b-suppc649to] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}
.topnav-spacer[b-suppc649to] { margin-left: auto; }

.topnav[b-suppc649to]  .topnav-link {
    display: inline-flex;
    align-items: center;
    height: 2.4rem;
    padding: 0 0.85rem;
    border-radius: 9px;
    color: var(--sidebar-muted);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 180ms ease, color 180ms ease;
}
.topnav[b-suppc649to]  .topnav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--sidebar-fg);
    text-decoration: none;
}
.topnav[b-suppc649to]  .topnav-link.active {
    background: rgba(189, 84, 45, 0.20);
    color: #fff;
}
.topnav[b-suppc649to]  .topnav-link .bi { margin-right: 0.5rem; opacity: 0.9; }

/* Review only stands out when there are items to review. */
.topnav[b-suppc649to]  .topnav-link.nav-review.has-items {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 1px 6px rgba(157, 66, 32, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.topnav[b-suppc649to]  .topnav-link.nav-review.has-items:hover {
    background: var(--accent-strong);
    color: #fff;
}
.topnav[b-suppc649to]  .nav-review.has-items .bi-review-nav-menu {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2z'/%3E%3Cpath d='M7 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708l.146.147 1.147-1.147a.5.5 0 0 1 .707 0M7 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 0 1 .708-.708l.146.147 1.147-1.147a.5.5 0 0 1 .707 0'/%3E%3C/svg%3E");
}

/* Pending-count pill — only shows when standing out, so style for the accent background. */
.topnav[b-suppc649to]  .nav-badge {
    margin-left: 0.5rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

/* User chip + sign out (right side) */
.topnav-user[b-suppc649to] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.6rem 0.25rem 0.3rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--sidebar-fg);
    transition: background 180ms ease;
}
.topnav-user:hover[b-suppc649to] { background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.topnav-avatar[b-suppc649to] {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.topnav-username[b-suppc649to] { font-weight: 600; font-size: 0.92rem; }
.topnav[b-suppc649to]  .topnav-link.topnav-signout { color: var(--sidebar-muted); font-size: 0.9rem; }

/* ---------------- Icons ---------------- */

.bi[b-suppc649to] {
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.92;
}

.bi-book-nav-menu[b-suppc649to] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d8cebb'%3E%3Cpath d='M1 2.828c.885-.37 2.154-.769 3.388-.893 1.33-.134 2.458.063 3.112.752v9.746c-.935-.53-2.12-.603-3.213-.493-1.18.12-2.37.461-3.287.811zm7.5-.141c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783'/%3E%3C/svg%3E");
}
.bi-gear-nav-menu[b-suppc649to] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d8cebb'%3E%3Cpath d='M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492M5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0'/%3E%3Cpath d='M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291A1.873 1.873 0 0 0 1.945 8.93l-.319-.094c-.835-.246-.835-1.428 0-1.674l.319-.094A1.873 1.873 0 0 0 3.06 4.377l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.115z'/%3E%3C/svg%3E");
}
.bi-review-nav-menu[b-suppc649to] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d8cebb'%3E%3Cpath d='M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2z'/%3E%3Cpath d='M7 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708l.146.147 1.147-1.147a.5.5 0 0 1 .707 0M7 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 0 1 .708-.708l.146.147 1.147-1.147a.5.5 0 0 1 .707 0'/%3E%3C/svg%3E");
}
/* Jobs (hourglass-split). Default colour matches the sidebar foreground; the .has-items
   override below recolours it white when a job is active. */
.bi-jobs-nav-menu[b-suppc649to] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d8cebb'%3E%3Cpath d='M2.5 15a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1 0-1h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1zm2-13v1c0 .537.12 1.045.337 1.5h6.326c.216-.455.337-.963.337-1.5V2zm3 6.35c0 .701-.478 1.236-1.011 1.492A3.5 3.5 0 0 0 4.5 13s.866-1.299 3-1.48zm1 0v3.17c2.134.181 3 1.48 3 1.48a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351z'/%3E%3C/svg%3E");
}

/* Jobs button stands out with the same accent treatment as Review, but only when shown
   (the whole pill is hidden by NavMenu.razor when the count is zero — see jobsCount guard). */
.topnav[b-suppc649to]  .topnav-link.nav-jobs.has-items {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 1px 6px rgba(157, 66, 32, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.topnav[b-suppc649to]  .topnav-link.nav-jobs.has-items:hover {
    background: var(--accent-strong);
    color: #fff;
}
.topnav[b-suppc649to]  .nav-jobs.has-items .bi-jobs-nav-menu {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M2.5 15a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1 0-1h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1zm2-13v1c0 .537.12 1.045.337 1.5h6.326c.216-.455.337-.963.337-1.5V2zm3 6.35c0 .701-.478 1.236-1.011 1.492A3.5 3.5 0 0 0 4.5 13s.866-1.299 3-1.48zm1 0v3.17c2.134.181 3 1.48 3 1.48a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351z'/%3E%3C/svg%3E");
}

/* ---------------- Mobile: collapse the nav behind a toggle ---------------- */

.navbar-toggler[b-suppc649to] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.navbar-toggler-label[b-suppc649to] { display: none; }

@media (max-width: 760px) {
    .topbar-inner[b-suppc649to] { gap: 0.75rem; }
    .navbar-toggler-label[b-suppc649to] {
        display: block;
        margin-left: auto;
        width: 2.6rem;
        height: 2.2rem;
        cursor: pointer;
        border: 1px solid var(--sidebar-line);
        border-radius: 8px;
        background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(236,227,211,0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center / 1.4rem;
    }
    .topnav[b-suppc649to] { display: none; }
    .navbar-toggler:checked ~ .topnav[b-suppc649to] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0.6rem;
        background: var(--sidebar);
        border-bottom: 1px solid var(--sidebar-line);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }
    .topnav-spacer[b-suppc649to] { display: none; }
    .topnav[b-suppc649to]  .topnav-link { width: 100%; height: 2.85rem; }
    .topnav-user[b-suppc649to] { width: 100%; margin-top: 0.2rem; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ry30ffy46v],
.components-reconnect-repeated-attempt-visible[b-ry30ffy46v],
.components-reconnect-failed-visible[b-ry30ffy46v],
.components-pause-visible[b-ry30ffy46v],
.components-resume-failed-visible[b-ry30ffy46v],
.components-rejoining-animation[b-ry30ffy46v] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ry30ffy46v],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ry30ffy46v],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ry30ffy46v],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ry30ffy46v],
#components-reconnect-modal.components-reconnect-retrying[b-ry30ffy46v],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ry30ffy46v],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ry30ffy46v],
#components-reconnect-modal.components-reconnect-failed[b-ry30ffy46v],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ry30ffy46v] {
    display: block;
}


#components-reconnect-modal[b-ry30ffy46v] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ry30ffy46v 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ry30ffy46v 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ry30ffy46v 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ry30ffy46v]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ry30ffy46v 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ry30ffy46v {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ry30ffy46v {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ry30ffy46v {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ry30ffy46v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ry30ffy46v] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ry30ffy46v] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ry30ffy46v] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ry30ffy46v] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ry30ffy46v] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ry30ffy46v] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ry30ffy46v 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ry30ffy46v] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ry30ffy46v {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
