@import '_content/AppComponents.Shared/AppComponents.Shared.of67aoxxs2.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.sf-page[b-l4ulqmcst5] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f7f7fb 0%, #eef1f6 100%);
}

.sf-header[b-l4ulqmcst5] {
    padding: 20px 24px;
    display: flex;
    align-items: center;
}

.sf-brand[b-l4ulqmcst5] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.sf-brand-mark[b-l4ulqmcst5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
}

.sf-brand-name[b-l4ulqmcst5] {
    line-height: 1;
}

.sf-main[b-l4ulqmcst5] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sf-footer[b-l4ulqmcst5] {
    padding: 20px 24px;
    color: #6b7280;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.7);
}

.sf-footer a[b-l4ulqmcst5] {
    color: #4b5563;
    text-decoration: none;
}

.sf-footer a:hover[b-l4ulqmcst5] {
    color: #1a1a1a;
    text-decoration: underline;
}

.sf-dot[b-l4ulqmcst5] {
    opacity: 0.5;
}

/* Hide Blazor's default error UI until the framework's JS sets display:block on a real
   circuit exception. Without this rule the div is perpetually visible at baseline. */
#blazor-error-ui[b-l4ulqmcst5] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-l4ulqmcst5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-y2e9bihuk2],
.components-reconnect-repeated-attempt-visible[b-y2e9bihuk2],
.components-reconnect-failed-visible[b-y2e9bihuk2],
.components-pause-visible[b-y2e9bihuk2],
.components-resume-failed-visible[b-y2e9bihuk2],
.components-rejoining-animation[b-y2e9bihuk2] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-y2e9bihuk2],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-y2e9bihuk2],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-y2e9bihuk2],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-y2e9bihuk2],
#components-reconnect-modal.components-reconnect-retrying[b-y2e9bihuk2],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-y2e9bihuk2],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-y2e9bihuk2],
#components-reconnect-modal.components-reconnect-failed[b-y2e9bihuk2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-y2e9bihuk2] {
    display: block;
}


#components-reconnect-modal[b-y2e9bihuk2] {
    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-y2e9bihuk2 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-y2e9bihuk2 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-y2e9bihuk2 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-y2e9bihuk2]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-y2e9bihuk2 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-y2e9bihuk2 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-y2e9bihuk2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-y2e9bihuk2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-y2e9bihuk2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-y2e9bihuk2] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-y2e9bihuk2] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-y2e9bihuk2] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-y2e9bihuk2] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-y2e9bihuk2] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-y2e9bihuk2] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-y2e9bihuk2 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-y2e9bihuk2] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-y2e9bihuk2 {
    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/Chat/ChatPage.razor.rz.scp.css */
/* Website-chat page (MS-529). One stylesheet serves both modes:
   .embed       — fills the widget iframe edge-to-edge
   .standalone  — a centred card for share-link visits
   The accent colour arrives as --sf-chat-accent (per-provider, validated #RRGGBB server-side). */

.sf-chat-root[b-mzjyw70ner] {
    --sf-chat-accent: #3E6AEF;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.sf-chat-root.standalone[b-mzjyw70ner] {
    background: #f0f2f5;
    padding: 1rem;
}

.sf-chat-root.embed[b-mzjyw70ner] {
    background: transparent;
    padding: 0;
}

.sf-chat-panel[b-mzjyw70ner] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: hidden;
}

.standalone .sf-chat-panel[b-mzjyw70ner] {
    max-width: 420px;
    max-height: 680px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

/* On narrow viewports the standalone card goes full-screen too. */
@media (max-width: 480px) {
    .standalone .sf-chat-panel[b-mzjyw70ner] {
        max-width: none;
        max-height: none;
        border-radius: 0;
    }

    .sf-chat-root.standalone[b-mzjyw70ner] {
        padding: 0;
    }
}

/* ── Header ── */

.sf-chat-header[b-mzjyw70ner] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    background: var(--sf-chat-accent);
    color: #fff;
    flex: 0 0 auto;
}

.sf-chat-header-text[b-mzjyw70ner] {
    flex: 1 1 auto;
    min-width: 0;
}

.sf-chat-title[b-mzjyw70ner] {
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-chat-subtitle[b-mzjyw70ner] {
    font-size: .72rem;
    opacity: .85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-chat-close[b-mzjyw70ner] {
    flex: 0 0 auto;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 .25rem;
    cursor: pointer;
    opacity: .85;
}

.sf-chat-close:hover[b-mzjyw70ner] {
    opacity: 1;
}

/* ── Messages (column-reverse pins the latest message to the bottom without JS scrolling) ── */

.sf-chat-messages[b-mzjyw70ner] {
    flex: 1 1 auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse;
    background: #f7f8fa;
}

.sf-chat-messages-inner[b-mzjyw70ner] {
    display: flex;
    flex-direction: column-reverse;
    gap: .5rem;
    padding: 1rem;
}

.sf-msg[b-mzjyw70ner] {
    max-width: 82%;
    padding: .55rem .8rem;
    border-radius: 14px;
    font-size: .875rem;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.sf-msg.agent[b-mzjyw70ner] {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-bottom-left-radius: 4px;
    color: #1c1e21;
}

.sf-msg.user[b-mzjyw70ner] {
    align-self: flex-end;
    background: var(--sf-chat-accent);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.sf-msg.typing[b-mzjyw70ner] {
    display: inline-flex;
    gap: 4px;
    padding: .7rem .9rem;
}

.sf-msg.typing .dot[b-mzjyw70ner] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9aa1ab;
    animation: sf-chat-bounce-b-mzjyw70ner 1.2s infinite;
}

.sf-msg.typing .dot:nth-child(2)[b-mzjyw70ner] { animation-delay: .15s; }
.sf-msg.typing .dot:nth-child(3)[b-mzjyw70ner] { animation-delay: .3s; }

@keyframes sf-chat-bounce-b-mzjyw70ner {
    0%, 60%, 100% { transform: translateY(0); opacity: .5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.sf-chat-notice[b-mzjyw70ner] {
    align-self: center;
    font-size: .78rem;
    color: #6b7280;
    background: #eef0f3;
    border-radius: 10px;
    padding: .4rem .8rem;
    text-align: center;
}

.sf-chat-notice.error[b-mzjyw70ner] {
    color: #8a3b3b;
    background: #fbeaea;
}

.sf-chat-retry[b-mzjyw70ner] {
    border: 0;
    background: none;
    color: var(--sf-chat-accent);
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0 0 0 .35rem;
}

/* ── Input ── */

.sf-chat-input[b-mzjyw70ner] {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    padding: .65rem .75rem;
    border-top: 1px solid #e6e8ec;
    background: #fff;
}

.sf-chat-input textarea[b-mzjyw70ner] {
    flex: 1 1 auto;
    resize: none;
    border: 1px solid #d7dae0;
    border-radius: 10px;
    padding: .5rem .7rem;
    font-size: .875rem;
    font-family: inherit;
    line-height: 1.4;
    max-height: 100px;
    outline: none;
}

.sf-chat-input textarea:focus[b-mzjyw70ner] {
    border-color: var(--sf-chat-accent);
}

.sf-chat-send[b-mzjyw70ner] {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: var(--sf-chat-accent);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sf-chat-send:disabled[b-mzjyw70ner] {
    opacity: .45;
    cursor: default;
}

/* ── Offline / loading ── */

.sf-chat-center[b-mzjyw70ner] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.sf-chat-offline[b-mzjyw70ner] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    background: #f7f8fa;
}

.sf-chat-offline i[b-mzjyw70ner] {
    font-size: 2rem;
    opacity: .6;
}

.sf-chat-offline p[b-mzjyw70ner] {
    margin: 0;
    font-size: .9rem;
    max-width: 280px;
}
