@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

/* --- ESTILOS BASE (TU DISEÑO ORIGINAL) --- */
body { font-family: 'Inter', sans-serif; background-color: #f8fafc; color: #1e293b; font-size: 14px; }

/* GRADIENTE INSTITUCIONAL */
.bg-sap { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }

/* MODALES */
.modal-overlay { background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(5px); }

/* SCROLLBAR (Tu estilo personalizado) */
.custom-scroll::-webkit-scrollbar { width: 5px; }
.custom-scroll::-webkit-scrollbar-track { background: #f1f5f9; }
.custom-scroll::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 10px; }

/* CRM TABLE */
.crm-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.crm-th { background: #f8fafc; color: #94a3b8; font-weight: 900; text-transform: uppercase; font-size: 10px; padding: 12px; border-bottom: 2px solid #e2e8f0; letter-spacing: 0.05em; }
.crm-td { padding: 16px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.crm-input-note { width: 100%; background: transparent; border-bottom: 1px dashed #cbd5e1; font-size: 11px; font-weight: 700; color: #64748b; outline: none; padding: 4px 0; text-transform: uppercase; transition: all 0.2s; }
.crm-input-note:focus { border-bottom-color: #3b82f6; color: #3b82f6; }

/* INPUTS ALTA MANUAL */
.input-manual { width: 100%; padding: 1rem; background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.75rem; font-weight: 700; font-size: 0.875rem; color: #475569; outline: none; transition: border-color 0.2s; }
.input-manual:focus { border-color: #3b82f6; }

/* BOTONES NAV */
.nav-btn { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; padding: 8px 12px; cursor: pointer; transition: all 0.2s; border-radius: 6px; }
.nav-active { background: rgba(255,255,255,0.1); color: white; box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }
.nav-inactive { color: #64748b; }
.nav-inactive:hover { color: white; }

/* BOTÓN FLOTANTE WHATSAPP (TU VERSIÓN ESTABLE) */
.btn-flotante {
    position: fixed; bottom: 25px; right: 25px;
    background-color: #25d366; color: white;
    padding: 12px 24px; border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000; font-weight: 900; text-transform: uppercase; font-size: 12px;
    display: flex; align-items: center; gap: 8px;
    transition: all 0.3s ease; text-decoration: none; border: 2px solid white;
}
.btn-flotante:hover { transform: scale(1.05); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6); }

.modal-footer { border-top: 1px solid #e2e8f0; padding-top: 15px; margin-top: 10px; background: white; }

/* --- ANIMACIONES REQUERIDAS POR EL JAVASCRIPT --- */
/* (Agregadas para que funcione el Wizard y el efecto Pulso sin romper tu diseño) */

/* Entrada Suave */
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade { animation: fade 0.4s ease-out forwards; }

/* Rebote (Para el saludo "Hola de nuevo") */
@keyframes bounceIn { 0% { transform: scale(0.8); opacity: 0; } 60% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); } }
.animate-bounce-in { animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

/* Pulso Lento (Para indicar el siguiente módulo) */
@keyframes pulseSlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); } 50% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); } }
.animate-pulse-slow { animation: pulseSlow 3s infinite; }

/* Giro (Para estrellas o cargas) */
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.animate-spin-slow { animation: spinSlow 8s linear infinite; }