/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-4p7yig4d36] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 10%, var(--bg-glow-1), transparent 45%),
        radial-gradient(circle at 85% 90%, var(--bg-glow-2), transparent 45%),
        var(--bg);
}

main[b-4p7yig4d36] {
    flex: 1;
}

.sidebar[b-4p7yig4d36] {
    background-color: var(--surface-strong);
    background-image:
        linear-gradient(rgba(120, 200, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 200, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    border-right: 1px solid var(--surface-border);
}

.top-row[b-4p7yig4d36] {
    background-color: var(--surface);
    border-bottom: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-4p7yig4d36]  a {
        font-family: var(--font-mono);
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .top-row[b-4p7yig4d36]  a:hover {
        color: var(--accent);
    }

    .top-row[b-4p7yig4d36]  a, .top-row[b-4p7yig4d36]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-4p7yig4d36]  a:hover, .top-row[b-4p7yig4d36]  .btn-link:hover {
        text-decoration: none;
    }

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

@media (max-width: 640.98px) {
    /* Logout moves into the sidebar's collapsible mobile menu (NavMenu.razor's
       .nav-item-logout) instead of sitting in its own always-visible bar here. */
    .top-row[b-4p7yig4d36] {
        display: none;
    }
}

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

    .sidebar[b-4p7yig4d36] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

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

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

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

#blazor-error-ui[b-4p7yig4d36] {
    background: var(--surface-strong);
    color: var(--text);
    border-top: 1px solid var(--danger);
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    display: none;
    left: 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .reload[b-4p7yig4d36] {
        color: var(--accent);
    }

    #blazor-error-ui .dismiss[b-4p7yig4d36] {
        cursor: pointer;
        color: var(--text-muted);
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-3n5qwdwm4z] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-3n5qwdwm4z] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-3n5qwdwm4z] {
    min-height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--surface-border);
}

.navbar-brand[b-3n5qwdwm4z] {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.bi[b-3n5qwdwm4z] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-3n5qwdwm4z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-3n5qwdwm4z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-lock-fill-nav-menu[b-3n5qwdwm4z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2Zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Z'/%3E%3C/svg%3E");
}

.bi-people-fill-nav-menu[b-3n5qwdwm4z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7Zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216ZM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E");
}

.bi-clock-history-nav-menu[b-3n5qwdwm4z] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5Z'/%3E%3Cpath d='M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16Zm0-1.5A6.5 6.5 0 1 0 8 1.5a6.5 6.5 0 0 0 0 13Z'/%3E%3C/svg%3E");
}

.nav-app-icon[b-3n5qwdwm4z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    padding: 0.15rem;
    border-radius: 5px;
    background: #fff;
    top: -1px;
    position: relative;
}

.nav-app-icon img[b-3n5qwdwm4z] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav.flex-column[b-3n5qwdwm4z] {
    height: 100%;
}

.nav-admin-section[b-3n5qwdwm4z] {
    margin-top: auto;
    border-top: 1px solid var(--surface-border);
    padding-top: 0.5rem;
}

.nav-item-logout[b-3n5qwdwm4z] {
    /* Pins to the bottom of the flex-column nav when there's no admin section to do it
       instead (that section's own margin-top:auto already absorbs the space otherwise). */
    margin-top: auto;
}

@media (min-width: 641px) {
    .nav-item-logout[b-3n5qwdwm4z] {
        /* Desktop keeps Logout in MainLayout's top-row header — this is the mobile-menu copy only. */
        display: none;
    }
}

.nav-section-title[b-3n5qwdwm4z] {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding-bottom: 0.5rem;
}

.nav-item[b-3n5qwdwm4z] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-3n5qwdwm4z] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-3n5qwdwm4z] {
        padding-bottom: 1rem;
    }

    .nav-item[b-3n5qwdwm4z]  .nav-link {
        color: var(--text-muted);
        font-size: 0.9rem;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

.nav-item[b-3n5qwdwm4z]  a.active {
    background-color: rgba(229, 160, 13, 0.12);
    border-left: 2px solid var(--accent);
    color: var(--text);
}

.nav-item[b-3n5qwdwm4z]  .nav-link-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-item[b-3n5qwdwm4z]  .nav-link-disabled:hover {
    background: none;
    color: var(--text-muted);
}

.nav-item[b-3n5qwdwm4z]  .nav-link:hover {
    background-color: rgba(120, 200, 255, 0.08);
    color: var(--text);
}

.nav-scrollable[b-3n5qwdwm4z] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-3n5qwdwm4z] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-3n5qwdwm4z] {
        display: none;
    }

    .nav-scrollable[b-3n5qwdwm4z] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-jd80u20cyg],
.components-reconnect-repeated-attempt-visible[b-jd80u20cyg],
.components-reconnect-failed-visible[b-jd80u20cyg],
.components-pause-visible[b-jd80u20cyg],
.components-resume-failed-visible[b-jd80u20cyg],
.components-rejoining-animation[b-jd80u20cyg] {
    display: none;
}

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


#components-reconnect-modal[b-jd80u20cyg] {
    background-color: var(--surface-strong, #0a0e16);
    color: var(--text, #eef6f6);
    font-family: var(--font-mono, ui-monospace, monospace);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--surface-border, rgba(120, 200, 255, 0.15));
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-jd80u20cyg 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-jd80u20cyg] {
    border: 1px solid rgba(229, 160, 13, 0.6);
    background-color: var(--accent, #e5a00d);
    color: #16110a;
    font-weight: 600;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-jd80u20cyg] {
        background-color: var(--accent-hover, #f4b62c);
    }

    #components-reconnect-modal button:active[b-jd80u20cyg] {
        background-color: var(--accent, #e5a00d);
    }

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

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

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

@keyframes components-rejoining-animation-b-jd80u20cyg {
    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;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
.plex-login-page[b-hlukx49wwp] {
    position: fixed;
    inset: 0;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 18% 20%, var(--bg-glow-1), transparent 45%),
        radial-gradient(circle at 82% 78%, var(--bg-glow-2), transparent 45%),
        var(--bg);
    font-family: var(--font-mono);
    color: var(--text);
}

.plex-login-grid[b-hlukx49wwp] {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(120, 200, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 200, 255, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
    pointer-events: none;
}

.plex-login-grid[b-hlukx49wwp]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 3px
    );
    mix-blend-mode: overlay;
}

.plex-login-card[b-hlukx49wwp] {
    position: relative;
    z-index: 1;
    width: min(90vw, 380px);
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(58, 130, 247, 0.1);
}

.plex-login-prompt[b-hlukx49wwp] {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    color: var(--success);
    letter-spacing: 0.02em;
}

.plex-login-title[b-hlukx49wwp] {
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.plex-login-cursor[b-hlukx49wwp] {
    display: inline-block;
    margin-left: 2px;
    color: var(--accent);
    animation: plex-login-blink-b-hlukx49wwp 1.1s steps(1) infinite;
}

@keyframes plex-login-blink-b-hlukx49wwp {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.plex-login-subtitle[b-hlukx49wwp] {
    margin: 0 0 1.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.plex-login-btn[b-hlukx49wwp] {
    appearance: none;
    border: 1px solid rgba(229, 160, 13, 0.6);
    border-radius: 6px;
    padding: 0.7rem 1.75rem;
    font: inherit;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #16110a;
    background: var(--accent);
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    box-shadow: 0 0 20px rgba(229, 160, 13, 0.25);
}

.plex-login-btn:hover:not(:disabled)[b-hlukx49wwp] {
    background: var(--accent-hover);
    box-shadow: 0 0 28px rgba(229, 160, 13, 0.45);
}

.plex-login-btn:active:not(:disabled)[b-hlukx49wwp] {
    transform: translateY(1px);
}

.plex-login-btn:disabled[b-hlukx49wwp] {
    opacity: 0.6;
    cursor: default;
    box-shadow: none;
}

.plex-login-error[b-hlukx49wwp] {
    margin: 1.25rem 0 0;
    font-size: 0.8rem;
    color: var(--danger);
}

.plex-login-error[b-hlukx49wwp]::before {
    content: "! ";
}
