@import '_content/BlazorSharedComponent/BlazorSharedComponent.c6ph1i9tyn.bundle.scp.css';

/* /Components/Layout/ChatSidebar.razor.rz.scp.css */
.sidebar-container[b-sbaxxu055h] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px 8px;
    gap: 4px;
}

.sidebar-header[b-sbaxxu055h] {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 4px;
}

.app-title[b-sbaxxu055h] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.new-chat-btn[b-sbaxxu055h] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: var(--btn-new-chat-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 8px;
}

.new-chat-btn:hover[b-sbaxxu055h] {
    background: var(--btn-new-chat-hover);
}

.new-chat-btn .material-symbols-outlined[b-sbaxxu055h] {
    font-size: 20px;
}

.chat-history[b-sbaxxu055h] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.history-section-label[b-sbaxxu055h] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 12px 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chat-history-item[b-sbaxxu055h] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: background 0.15s;
    white-space: nowrap;
    overflow: hidden;
}

.chat-history-item:hover[b-sbaxxu055h] {
    background: var(--item-hover-bg);
}

.chat-history-item.active[b-sbaxxu055h] {
    background: var(--item-active-bg);
    font-weight: 500;
}

.chat-history-item .chat-icon[b-sbaxxu055h] {
    font-size: 18px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.chat-history-item .chat-title[b-sbaxxu055h] {
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Layout/LoginLayout.razor.rz.scp.css */
.login-layout[b-f37lvlclfc] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--login-bg);
    padding: 1rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-r6x7dax3pj] {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-primary);
}

main[b-r6x7dax3pj] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.sidebar[b-r6x7dax3pj] {
    width: 260px;
    height: 100vh;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
    overflow: hidden;
}

.top-row[b-r6x7dax3pj] {
    background-color: var(--bg-topbar);
    border-bottom: 1px solid var(--border-color);
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.conversation-title[b-r6x7dax3pj] {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

article.content[b-r6x7dax3pj] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

#blazor-error-ui[b-r6x7dax3pj] {
    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-r6x7dax3pj] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 640px) {
    .sidebar[b-r6x7dax3pj] {
        display: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-auimsv58qi],
.components-reconnect-repeated-attempt-visible[b-auimsv58qi],
.components-reconnect-failed-visible[b-auimsv58qi],
.components-pause-visible[b-auimsv58qi],
.components-resume-failed-visible[b-auimsv58qi],
.components-rejoining-animation[b-auimsv58qi] {
    display: none;
}

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


#components-reconnect-modal[b-auimsv58qi] {
    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-auimsv58qi 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-auimsv58qi {
    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/Auth/Login.razor.rz.scp.css */
.login-card[b-cnsg1j5o0o] {
    width: 100%;
    max-width: 400px;
    background-color: var(--login-card-bg);
    border: 1px solid var(--login-card-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.login-logo[b-cnsg1j5o0o] {
    color: var(--login-logo-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.login-title[b-cnsg1j5o0o] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
    letter-spacing: -0.01em;
}

.login-subtitle[b-cnsg1j5o0o] {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

.login-btn[b-cnsg1j5o0o] {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #10a37f;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
    letter-spacing: 0.01em;
}

    .login-btn:hover[b-cnsg1j5o0o] {
        background-color: #0d9070;
        box-shadow: 0 2px 8px rgba(16, 163, 127, 0.35);
    }

    .login-btn:active[b-cnsg1j5o0o] {
        background-color: #0b8060;
    }

    .login-btn:focus-visible[b-cnsg1j5o0o] {
        outline: 2px solid #10a37f;
        outline-offset: 2px;
    }

@media (max-width: 480px) {
    .login-card[b-cnsg1j5o0o] {
        border-radius: 12px;
        padding: 2rem 1.25rem;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.chat-page[b-brf0lcuapp] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.messages-area[b-brf0lcuapp] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.messages-inner[b-brf0lcuapp] {
    flex: 1;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Welcome state */
.welcome-message[b-brf0lcuapp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    gap: 16px;
    color: var(--text-primary);
    flex: 1;
}

.welcome-icon[b-brf0lcuapp] {
    font-size: 56px;
    color: var(--accent);
}

.welcome-message h2[b-brf0lcuapp] {
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-primary);
}

.welcome-message p[b-brf0lcuapp] {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Chat messages */
.chat-message[b-brf0lcuapp] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-message.user[b-brf0lcuapp] {
    align-items: flex-end;
}

.chat-message.assistant[b-brf0lcuapp] {
    align-items: flex-start;
}

.message-bubble[b-brf0lcuapp] {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9375rem;
    line-height: 1.5;
    word-break: break-word;
}

.chat-message.user .message-bubble[b-brf0lcuapp] {
    background: var(--user-bubble-bg);
    color: var(--user-bubble-text);
    border-bottom-right-radius: 4px;
}

.chat-message.assistant .message-bubble[b-brf0lcuapp] {
    background: var(--assistant-bubble-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
}

/* Input area */
.input-area[b-brf0lcuapp] {
    flex-shrink: 0;
    padding: 12px 16px 20px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.input-wrapper[b-brf0lcuapp] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 800px;
    margin: 0 auto;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 10px 8px 10px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrapper:focus-within[b-brf0lcuapp] {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.chat-input[b-brf0lcuapp] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-primary);
    max-height: 200px;
    overflow-y: auto;
    font-family: inherit;
}

.chat-input[b-brf0lcuapp]::placeholder {
    color: var(--text-secondary);
}

.send-btn[b-brf0lcuapp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, opacity 0.2s;
}

.send-btn:disabled[b-brf0lcuapp] {
    background: var(--border-color);
    color: var(--text-secondary);
    cursor: default;
    opacity: 0.6;
}

.send-btn:not(:disabled):hover[b-brf0lcuapp] {
    filter: brightness(1.1);
}

.send-btn .material-symbols-outlined[b-brf0lcuapp] {
    font-size: 20px;
}

.input-hint[b-brf0lcuapp] {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 8px auto 0;
    max-width: 800px;
}
