/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Responsive layout and theme colors are shared through app.css. */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Navigation styling is shared through app.css, including theme colors. */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-sl3qir1gwo],
.components-reconnect-repeated-attempt-visible[b-sl3qir1gwo],
.components-reconnect-failed-visible[b-sl3qir1gwo],
.components-pause-visible[b-sl3qir1gwo],
.components-resume-failed-visible[b-sl3qir1gwo],
.components-rejoining-animation[b-sl3qir1gwo] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-sl3qir1gwo],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-sl3qir1gwo],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-sl3qir1gwo],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-sl3qir1gwo],
#components-reconnect-modal.components-reconnect-retrying[b-sl3qir1gwo],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-sl3qir1gwo],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-sl3qir1gwo],
#components-reconnect-modal.components-reconnect-failed[b-sl3qir1gwo],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-sl3qir1gwo] {
    display: block;
}


#components-reconnect-modal[b-sl3qir1gwo] {
    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-sl3qir1gwo 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-sl3qir1gwo 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-sl3qir1gwo 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-sl3qir1gwo]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-sl3qir1gwo 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-sl3qir1gwo {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-sl3qir1gwo {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-sl3qir1gwo {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-sl3qir1gwo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-sl3qir1gwo] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-sl3qir1gwo] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-sl3qir1gwo] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-sl3qir1gwo] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-sl3qir1gwo] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-sl3qir1gwo] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-sl3qir1gwo 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-sl3qir1gwo] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-sl3qir1gwo {
    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/Downloads.razor.rz.scp.css */
.download-status[b-bbtck2kxnm] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.download-status h2[b-bbtck2kxnm] { margin-top: .5rem; }
.download-source[b-bbtck2kxnm] { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border, #d6d4cc); }
.download-source input[b-bbtck2kxnm] { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.download-source span:nth-child(2)[b-bbtck2kxnm] { flex: 1; }
.download-source small[b-bbtck2kxnm] { display: block; margin-top: .25rem; opacity: .75; }
.download-log[b-bbtck2kxnm] { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 24rem; overflow-y: auto; font-size: .85rem; }
progress[b-bbtck2kxnm] { width: 100%; height: .8rem; accent-color: var(--accent, #357466); }
/* /Components/Pages/ReadLocalBook.razor.rz.scp.css */
.reader-header[b-13o8770kuz] {
    margin: 1rem 0;
}

.reader-header h1[b-13o8770kuz] {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.reader-toolbar[b-13o8770kuz],
.reader-jump[b-13o8770kuz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
}

.reader-toolbar .reader-jump[b-13o8770kuz] {
    margin: 0;
}

.reader-jump input[b-13o8770kuz] {
    width: 6rem;
}

.reader-sections[b-13o8770kuz] {
    width: min(100%, 28rem);
}

.reader-scan[b-13o8770kuz] {
    overflow-x: auto;
}

.reader-scan img[b-13o8770kuz] {
    display: block;
    width: min(100%, 60rem);
    height: auto;
    margin-inline: auto;
    border-radius: .35rem;
}

.reader-zoom img[b-13o8770kuz] {
    width: max(150%, 42rem);
    max-width: none;
}

.reader-text[b-13o8770kuz] {
    max-width: 78ch;
    margin-inline: auto;
    font-size: 1.06rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.reader-text > div[b-13o8770kuz] {
    white-space: pre-wrap;
}

.reader-bottom[b-13o8770kuz] {
    margin-block: 1rem;
}
.reader-pdf[b-13o8770kuz] {
    width: 100%;
    height: 78vh;
    border: 0;
}
