/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-r5qt08lnfw] {
    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-r5qt08lnfw] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Home.razor.rz.scp.css */
/*@font-face {
    font-family: "InterLocal";
    src: url("/fonts/inter-variable.ttf") format("truetype");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}*/

.widget-shell[b-xvtjhiofsx] {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    /*background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);*/
    color: #0f172a;
    font-family: "InterLocal", Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1;
}

.widget-shell--empty[b-xvtjhiofsx] {
    height: 100%;
}

.widget-card[b-xvtjhiofsx] {
    width: 100%;
    max-width: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    /*background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);*/
    border: 0px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
    box-shadow: none;
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.assistant-hero[b-xvtjhiofsx] {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    padding: 0.2rem 0 0.2rem;
}

.assistant-avatar[b-xvtjhiofsx] {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: 1px solid rgba(76, 111, 255, 0.16);
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(76, 111, 255, 0.30);
    flex-shrink: 0;
}

.assistant-meta[b-xvtjhiofsx] {
    min-width: 0;
}

    .assistant-title[b-xvtjhiofsx] {
        margin: 0 0 0.3rem 0;
        font-size: 1.15rem;
        color: #0f172a;
    }

    .assistant-description[b-xvtjhiofsx] {
        margin: 0;
        color: #475569;
        font-size: 0.9rem;
        line-height: 1.45;
    }

.assistant-suggestions-title[b-xvtjhiofsx] {
    margin-top: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.assistant-suggestions[b-xvtjhiofsx] {
    margin-top: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.chip[b-xvtjhiofsx] {
    border: 1px solid rgba(76, 111, 255, 0.16);
    border-radius: 999px;
    background: #f4f7ff;
    color: #2440a7;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.chip--secondary[b-xvtjhiofsx] {
    border-color: rgba(15, 23, 42, 0.16);
    background: #ffffff;
    color: #0f172a;
}

.conversation[b-xvtjhiofsx] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.25rem 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .conversation[b-xvtjhiofsx]::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

.conversation-empty[b-xvtjhiofsx] {
    border-radius: 14px;
    padding: 0.85rem;
    background: #f8fbff;
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.5;
}

.message[b-xvtjhiofsx] {
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    line-height: 1.55;
    font-size: 0.98rem;
}

.message-content[b-xvtjhiofsx] {
    white-space: normal;
    overflow-wrap: anywhere;
}

.message-author[b-xvtjhiofsx] {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.message--user[b-xvtjhiofsx] {
    background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    font-size: 1rem;
    margin-left: 1.2rem;
    border: 1px solid #93c5fd;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

    .message--user .message-author[b-xvtjhiofsx] {
        color: #1d4ed8;
        margin-bottom: 10px;
    }

.message--assistant[b-xvtjhiofsx] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    font-size: 1rem;
    margin-right: 1.2rem;
    border: 1px solid #86efac;
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.12);
}

    .message--assistant .message-author[b-xvtjhiofsx] {
        color: #166534;
    }

.field-label[b-xvtjhiofsx] {
    display: inline-block;
    margin-top: 0.1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
}

.ki-label[b-xvtjhiofsx] {
    font-size: 0.8rem;
    color: #4b4b4b;
    margin-top: 3px;
    margin-bottom: 3px;
}

.textarea[b-xvtjhiofsx] {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    padding: 0.8rem 0.9rem;
    font: inherit;
    box-sizing: border-box;
    box-shadow: none;
    outline: none;
}

    .textarea:focus[b-xvtjhiofsx] {
        border-color: rgba(76, 111, 255, 0.3);
        box-shadow: none;
    }

.button[b-xvtjhiofsx] {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    background: linear-gradient(90deg, #4c6fff 0%, #5b8cff 100%);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(76, 111, 255, 0.2);
}

    .button:disabled[b-xvtjhiofsx] {
        cursor: wait;
        opacity: 0.75;
    }

.spinner[b-xvtjhiofsx] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin-b-xvtjhiofsx 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 0.4rem;
}

@keyframes spin-b-xvtjhiofsx {
    to {
        transform: rotate(360deg);
    }
}

.status[b-xvtjhiofsx] {
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
}

    .status.success[b-xvtjhiofsx] {
        background: rgba(57, 167, 94, 0.12);
        color: #14763f;
    }

    .status.error[b-xvtjhiofsx] {
        background: rgba(231, 87, 87, 0.12);
        color: #b42318;
    }
