.oranea-chatbot-inline,
.oranea-chatbot-panel {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
    color: #122131;
}

.oranea-chatbot-shell {
    width: 100%;
    max-width: 420px;
    border: 1px solid #d7dfe7;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(5, 26, 56, 0.12);
    overflow: hidden;
}

.oranea-chatbot-header {
    padding: 12px 14px;
    background: linear-gradient(120deg, #083d77, #0f5f9a);
    color: #ffffff;
    font-weight: 600;
}

.oranea-chatbot-profile-wrap {
    padding: 10px 12px;
    border-bottom: 1px solid #ebeff4;
}

.oranea-chatbot-select {
    width: 100%;
    border: 1px solid #cad5e3;
    border-radius: 8px;
    padding: 8px 10px;
    background: #ffffff;
}

.oranea-chatbot-messages {
    min-height: 280px;
    max-height: 340px;
    overflow-y: auto;
    background: #f8fafc;
    padding: 12px;
}

.oranea-chatbot-row {
    display: flex;
    margin-bottom: 10px;
}

.oranea-chatbot-row-user {
    justify-content: flex-end;
}

.oranea-chatbot-row-assistant {
    justify-content: flex-start;
}

.oranea-chatbot-bubble {
    max-width: 86%;
    padding: 9px 10px;
    border-radius: 10px;
    line-height: 1.35;
    white-space: pre-wrap;
}

.oranea-chatbot-row-user .oranea-chatbot-bubble {
    background: #0f5f9a;
    color: #ffffff;
}

.oranea-chatbot-row-assistant .oranea-chatbot-bubble {
    background: #e8f1fa;
    color: #122131;
}

.oranea-chatbot-status {
    min-height: 22px;
    padding: 4px 12px;
    font-size: 13px;
    color: #3d556d;
}

.oranea-chatbot-status.is-error {
    color: #9f1f1f;
}

.oranea-chatbot-input-wrap {
    display: flex;
    gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid #ebeff4;
    align-items: flex-end;
}

.oranea-chatbot-input {
    flex: 1;
    resize: vertical;
    min-height: 44px;
    border: 1px solid #cad5e3;
    border-radius: 8px;
    padding: 8px 10px;
    line-height: 1.3;
}

.oranea-chatbot-send {
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    background: #0f5f9a;
    color: #ffffff;
    cursor: pointer;
}

.oranea-chatbot-send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.oranea-chatbot-floating-root {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
}

.oranea-chatbot-launcher {
    margin-top: 10px;
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    background: #083d77;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(8, 61, 119, 0.3);
}

.oranea-chatbot-panel {
    width: min(92vw, 420px);
}

@media (max-width: 640px) {
    .oranea-chatbot-floating-root {
        right: 10px;
        bottom: 10px;
    }

    .oranea-chatbot-shell {
        max-width: 100%;
    }

    .oranea-chatbot-messages {
        max-height: 44vh;
    }
}
