/* Variables y Estilos Base */
#drwa-bot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#drwa-btn-flotante {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 25px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

#drwa-btn-flotante:hover {
    transform: scale(1.1);
}

/* Ventana de Chat */
#drwa-chat-window {
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.drwa-header {
    background: #005C4B; /* Verde oscuro médico/WhatsApp */
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drwa-header button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.drwa-body {
    padding: 20px;
    background: #E5DDD5; /* Fondo clásico de WA */
}

/* Pasos y Mensajes */
.drwa-mensaje-bot {
    background: white;
    padding: 12px;
    border-radius: 0 10px 10px 10px;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.drwa-body input, .drwa-body textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    font-family: inherit;
}

.drwa-btn-siguiente, .drwa-btn-enviar {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: #25D366;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.drwa-btn-siguiente:hover, .drwa-btn-enviar:hover {
    background: #128C7E;
}

/* Utilidades y Animaciones */
.oculto {
    display: none !important;
}

.activo {
    display: block;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.slide-up {
    animation: slideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}