.ds-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ds-messages-area {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ds-msg-row { display: flex; }
.ds-msg-row.user { justify-content: flex-end; }
.ds-msg-row.bot { justify-content: flex-start; }

.ds-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.ds-msg-row.user .ds-bubble {
    background-color: #f3f4f6;
    color: #111827;
}

.ds-msg-row.bot .ds-bubble {
    background-color: transparent;
    color: #111827;
    padding-left: 0;
}

.ds-bubble.reasoning {
    font-size: 13px;
    color: #6b7280;
    border-left: 2px solid #e5e7eb;
    border-radius: 0;
    padding-left: 10px;
}

/* DeepSeek Style Input Card */
.ds-input-card {
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    padding: 16px 18px 12px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s;
}

.ds-input-card:focus-within {
    border-color: #a5b4fc;
}

#ds-input-field {
    width: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    resize: none;
    font-size: 16px;
    color: #374151;
    background: transparent;
    padding: 0;
    margin-bottom: 12px;
}

#ds-input-field::placeholder { color: #9ca3af; }

.ds-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ds-pills { display: flex; gap: 8px; }

.ds-pill {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.ds-pill.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.ds-actions { display: flex; align-items: center; gap: 8px; }

.ds-icon-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
}

.ds-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #818cf8;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-send-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.ds-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}