/* /Components/CoverDesignGallery.razor.rz.scp.css */
.cover-gallery[b-s8xvje8ggz] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 0.75rem;
    max-width: 560px;
}

.cover-tile[b-s8xvje8ggz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}

.cover-tile-art[b-s8xvje8ggz] {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.41;
    border: 2px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cover-tile-art svg[b-s8xvje8ggz] {
    display: block;
    width: 100%;
    height: 100%;
}

.cover-tile:hover .cover-tile-art[b-s8xvje8ggz] {
    border-color: #adb5bd;
}

.cover-tile.selected .cover-tile-art[b-s8xvje8ggz] {
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.cover-tile-check[b-s8xvje8ggz] {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    font-size: 0.7rem;
}

.cover-tile-label[b-s8xvje8ggz] {
    font-size: 0.75rem;
    color: #495057;
    text-align: center;
    line-height: 1.2;
}

.cover-tile.selected .cover-tile-label[b-s8xvje8ggz] {
    color: #212529;
    font-weight: 600;
}

.cover-tile-note[b-s8xvje8ggz] {
    font-size: 0.65rem;
    color: #adb5bd;
    text-align: center;
    line-height: 1.1;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0rkr90rv3j],
.components-reconnect-repeated-attempt-visible[b-0rkr90rv3j],
.components-reconnect-failed-visible[b-0rkr90rv3j],
.components-pause-visible[b-0rkr90rv3j],
.components-resume-failed-visible[b-0rkr90rv3j],
.components-rejoining-animation[b-0rkr90rv3j] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0rkr90rv3j],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0rkr90rv3j],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0rkr90rv3j],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0rkr90rv3j],
#components-reconnect-modal.components-reconnect-retrying[b-0rkr90rv3j],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0rkr90rv3j],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0rkr90rv3j],
#components-reconnect-modal.components-reconnect-failed[b-0rkr90rv3j],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0rkr90rv3j] {
    display: block;
}


#components-reconnect-modal[b-0rkr90rv3j] {
    background-color: #1D2947;
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #DCE4F2;
    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-0rkr90rv3j 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-0rkr90rv3j 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0rkr90rv3j 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-0rkr90rv3j]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0rkr90rv3j 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0rkr90rv3j {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0rkr90rv3j {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0rkr90rv3j {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0rkr90rv3j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0rkr90rv3j] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0rkr90rv3j] {
    border: 0;
    background-color: #007AFF;
    color: white;
    padding: 4px 24px;
    border-radius: 6px;
}

    #components-reconnect-modal button:hover[b-0rkr90rv3j] {
        background-color: #006AE0;
    }

    #components-reconnect-modal button:active[b-0rkr90rv3j] {
        background-color: #007AFF;
    }

.components-rejoining-animation[b-0rkr90rv3j] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0rkr90rv3j] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0rkr90rv3j 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0rkr90rv3j] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0rkr90rv3j {
    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/TemplateBuilder.razor.rz.scp.css */
/* Saundy chat widget positioning (port of Loop's SpecEditor scoped CSS). Kept here
   (not inline) so the open panel can be a full-height side drawer on desktop and a
   full-screen sheet on mobile. */

.saundy-launcher[b-t25tvkz55l] {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1051;
    border-radius: 50%;
}

.saundy-teaser[b-t25tvkz55l] {
    position: fixed;
    right: 96px;
    bottom: 32px;
    z-index: 1050;
    max-width: 260px;
    cursor: pointer;
}

/* Open state: a right-docked drawer that starts below the app's header (~64px) and
   runs to the bottom, ~half the screen, so the builder stays visible on the left
   while chatting. z-index sits above the app chrome (headers/dropdowns use 2000-2100). */
.saundy-panel[b-t25tvkz55l] {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    width: 50vw;
    min-width: 380px;
    max-width: 720px;
    z-index: 2200;
    border-radius: 1rem 0 0 1rem;
}

/* Phones: a full-screen sheet. The close button (and hidden launcher on close) handle exit. */
@media (max-width: 576px) {
    .saundy-panel[b-t25tvkz55l] {
        top: 0;
        left: 0;
        width: auto;
        min-width: 0;
        max-width: none;
        border-radius: 0;
    }

    .saundy-teaser[b-t25tvkz55l] {
        right: 84px;
        max-width: 200px;
    }
}
