.assistant-hero {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.assistant-shell {
    border: none;
    border-radius: 14px;
}

.chat-box {
    border: 1px solid #c7d4e8;
    border-radius: 12px;
    min-height: clamp(280px, 50vh, 420px);
    max-height: 520px;
    overflow-y: auto;
    padding: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 85%;
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 2px;
    white-space: pre-line;
    line-height: 1.45;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.user-message {
    margin-left: auto;
    background: linear-gradient(45deg, #041e42, #0a3a7a);
    color: #fff;
}

.bot-message {
    margin-right: auto;
    background: #eef3f9;
    color: #041e42;
}

.quick-replies,
.intent-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-reply-btn,
.cobertura-btn,
.btn-chip {
    border-radius: 999px;
    padding: 10px 14px;
    font-size: .9rem;
    border: 1px solid #7b96bd;
    background: #edf2f8;
    color: #041e42;
}

.chat-form .form-control,
.chat-form .btn {
    min-height: 44px;
}

.quick-reply-btn:hover,
.cobertura-btn:hover,
.btn-chip:hover {
    background: #dde7f4;
}

.btn-chip.btn-cotizar {
    color: #fff;
    border: none;
    background: linear-gradient(45deg, #041e42, #0a3a7a);
}

.btn-chip.btn-cotizar:hover {
    color: #fff;
    background: linear-gradient(45deg, #041e42, #0f4c9a);
}

.cobertura-btn.active {
    background: #e8f7ee;
    border-color: #89d7a3;
    color: #1f7a3e;
}

.cobertura-btn.inactive {
    background: #fff5f5;
    border-color: #f0a6a6;
    color: #b73e3e;
}

.loading-indicator {
    display: none;
    text-align: center;
    padding-top: .75rem;
    color: #041e42;
}

@media (max-width: 768px) {
    .assistant-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .chat-box {
        min-height: 320px;
    }

    .message {
        max-width: 92%;
    }
}


.assistant-feedback {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #5a6f8f;
    font-size: .85rem;
}

.feedback-btn {
    border: 1px solid #c9d6e8;
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    cursor: pointer;
}

.feedback-btn:hover {
    background: #eef3f9;
}
