.waa-chat-wrapper {
    max-width: 480px;
    margin: 1.5rem auto;
    padding: 1rem;
    border-radius: 12px;
    background: #0b1120;
    color: #f9fafb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.waa-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* Selector de modo de conversación */
.waa-mode-switch {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.6rem;
}

.waa-mode-label {
    font-size: 0.8rem;
    color: #9ca3af;
}

.waa-mode-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.waa-mode-btn {
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
    font-size: 0.78rem;
    cursor: pointer;
}

.waa-mode-btn.waa-mode-active {
    background: #22c55e;
    border-color: #22c55e;
    color: #022c22;
}

.waa-chat-window {
    height: 260px;
    overflow-y: auto;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.waa-message {
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.waa-message-user {
    background: #22c55e;
    color: #022c22;
    margin-left: 20%;
    text-align: right;
}

.waa-message-bot {
    background: #0f172a;
    color: #e5e7eb;
    margin-right: 20%;
}

.waa-chat-form {
    display: flex;
    gap: 0.5rem;
}

.waa-input {
    flex: 1;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.95);
    color: #f9fafb;
    font-size: 0.9rem;
}

.waa-input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.6);
}

.waa-button {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: none;
    background: #22c55e;
    color: #022c22;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.06s ease, box-shadow 0.06s ease, background 0.06s ease;
}

.waa-button:hover {
    background: #16a34a;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.35);
    transform: translateY(-1px);
}

.waa-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Botones rápidos (FAQ chino) */
.waa-quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.waa-quick-btn {
    border: none;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
    cursor: pointer;
    background: rgba(148, 163, 184, 0.15);
    color: #e5e7eb;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.waa-quick-btn:hover {
    background: rgba(148, 163, 184, 0.35);
}

/* Responsive */
@media (max-width: 480px) {
    .waa-chat-wrapper {
        margin: 1rem;
        padding: 0.8rem;
    }
}
