.dc-chatbot-container {
    max-width: 820px;
    margin: 20px auto;
    padding: 0;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    border: 1px solid #cfd8dc;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.dc-chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: #102027;
    color: #fff;
}

.dc-chatbot-title {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.dc-chatbot-subtitle {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.3;
    color: #d8e3e7;
}

.dc-chatbot-index-status {
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
    color: #e5eef1;
    max-width: 240px;
}

.dc-conversation {
    padding: 16px;
    min-height: 150px;
    max-height: 520px;
    overflow: auto;
    background: #f7fafb;
}

.dc-empty-state {
    padding: 14px;
    border: 1px solid #d9e3e7;
    border-radius: 10px;
    background: #fff;
}

.dc-empty-state p {
    margin: 8px 0 0;
}

.dc-turn {
    margin-bottom: 12px;
}

.dc-turn:last-child {
    margin-bottom: 0;
}

.dc-user-bubble,
.dc-bot-bubble {
    padding: 10px 12px;
    border-radius: 10px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.dc-user-bubble {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
}

.dc-bot-bubble {
    margin-top: 6px;
    background: #eef7ee;
    border: 1px solid #c8e6c9;
}

.dc-user-bubble span,
.dc-bot-bubble span {
    font-weight: 700;
}

.dc-chatbot-form {
    padding: 16px;
    border-top: 1px solid #dfe7ea;
    background: #fff;
}

.dc-input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.dc-question {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 12px;
    border: 1px solid #b0bec5;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.3;
    color: #111;
    background: #fff;
}

.dc-question:focus {
    outline: 2px solid #1976d2;
    outline-offset: 1px;
}

.dc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.dc-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.dc-btn-primary {
    background: #1976d2;
    color: #fff;
}

.dc-btn-muted {
    background: #e9eef1;
    color: #102027;
}

.dc-btn-dark {
    background: #455a64;
    color: #fff;
}

.dc-action-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.dc-typing,
.dc-reindex-status {
    padding: 0 16px 16px;
    text-align: center;
    font-size: 14px;
    color: #37474f;
}

.dc-reindex-status {
    padding: 10px 0 0;
}

.dc-suggestions {
    margin: 0 16px 16px;
    padding: 12px;
    border: 1px solid #d7e1e5;
    border-radius: 10px;
    background: #fff;
}

.dc-suggestions-title {
    margin-bottom: 8px;
    font-weight: 700;
}

.dc-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dc-suggestion-item {
    padding: 8px 10px;
    border: 1px solid #cbd7dd;
    border-radius: 999px;
    background: #f4f7f8;
    color: #102027;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
}

.dc-suggestion-item:hover,
.dc-suggestion-item:focus {
    background: #e3f2fd;
    border-color: #90caf9;
}

.dc-hp {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 640px) {
    .dc-chatbot-container {
        margin: 10px 0;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .dc-chatbot-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dc-chatbot-index-status {
        text-align: left;
        max-width: none;
    }

    .dc-conversation {
        max-height: 62vh;
        padding: 12px;
    }

    .dc-chatbot-form {
        padding: 12px;
    }

    .dc-input-row {
        flex-direction: column;
    }

    .dc-btn {
        width: 100%;
    }

    .dc-action-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dc-suggestions-list {
        display: block;
    }

    .dc-suggestion-item {
        display: block;
        width: 100%;
        margin-bottom: 8px;
        text-align: left;
        border-radius: 8px;
    }

    .dc-suggestion-item:last-child {
        margin-bottom: 0;
    }
}
