/* Estilos posicionales del Widget Omnicanal */
.omnicanal-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 99999;
    font-family: 'Poppins', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 640px) {
    .omnicanal-container {
        bottom: 80px;
    }
}

/* Botón Flotante (FAB) - estilo ArIA */
.omnicanal-fab {
    background: linear-gradient(135deg, #0a1b3d 0%, #0033a0 60%, #1466c4 100%);
    color: #fff;
    border: none;
    border-radius: 32px;
    padding: 9px 22px 9px 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 11px;
    animation: omniGlow 3.2s ease-in-out infinite;
    transition: transform 0.25s ease;
}

.omnicanal-fab:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* Avatar de ArIA dentro del FAB */
.omnicanal-fab-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.omnicanal-fab-avatar img {
    width: 28px;
    height: 28px;
}

.omnicanal-fab-avatar .omnicanal-fab-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22d36b;
    border: 2px solid #0a1b3d;
}

/* Panel de Canales */
.omnicanal-panel {
    width: 340px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: calc(100dvh - 170px);
}

.omnicanal-hidden {
    display: none !important;
}

/* Cabecera del Panel - estilo ArIA */
.omnicanal-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1b3d 0%, #0033a0 55%, #1466c4 100%);
    color: #fff;
    padding: 18px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Glow difuminado de la cabecera */
.omnicanal-header::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40,200,230,0.35), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
}

/* Patrón de puntos de la cabecera */
.omnicanal-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.5;
    pointer-events: none;
}

.omnicanal-header > * {
    position: relative;
    z-index: 1;
}

/* Avatar de ArIA en la cabecera (panel principal) */
.omnicanal-header-avatar {
    position: relative;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(255,255,255,0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

.omnicanal-header-avatar img {
    width: 34px;
    height: 34px;
}

.omnicanal-header-avatar .omnicanal-header-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22d36b;
    border: 2.5px solid #0a1b3d;
}

.omnicanal-header-title-flex {
    display: flex;
    align-items: center;
    gap: 13px;
}

.omnicanal-back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.omnicanal-header-title {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.omnicanal-header-main {
    font-size: 16.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.omnicanal-header-sub {
    font-size: 11.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #bcd4f5;
}

.omnicanal-dot {
    width: 6px;
    height: 6px;
    background-color: #22d36b;
    border-radius: 50%;
    display: inline-block;
    animation: omniPulse 2s infinite;
}

.omnicanal-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

/* Cuerpo del Panel */
.omnicanal-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.omnicanal-option {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #333;
    transition: all 0.16s ease;
    border: 1px solid #eef1f6;
    background: #fff;
    text-align: left;
}

.omnicanal-option:hover {
    border-color: #c7d6f0;
    background-color: #f7faff;
    color: #1d2433;
    text-decoration: none;
    transform: translateX(2px);
}

/* Chip de icono en degradado */
.omnicanal-option-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-right: 0;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0033a0, #22b6e6);
    box-shadow: 0 4px 12px rgba(0,51,160,0.28);
}

.omnicanal-option-icon img {
    width: 28px;
    height: 28px;
}

/* Degradado del chip por canal */
#omnicanal-chat-aria .omnicanal-option-icon {
    background: linear-gradient(135deg, #0033a0, #22b6e6);
    box-shadow: 0 4px 12px rgba(0,51,160,0.28);
}

#omnicanal-whatsapp .omnicanal-option-icon {
    background: linear-gradient(135deg, #1faf54, #25d366);
    box-shadow: 0 4px 12px rgba(37,211,102,0.28);
}

#omnicanal-email .omnicanal-option-icon {
    background: linear-gradient(135deg, #3a4a8c, #5566c9);
    box-shadow: 0 4px 12px rgba(58,74,140,0.26);
}

#omnicanal-callback .omnicanal-option-icon {
    background: linear-gradient(135deg, #0a1b3d, #13357f);
    box-shadow: 0 4px 12px rgba(10,27,61,0.3);
}

.omnicanal-option-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.omnicanal-option-title {
    font-size: 14px;
    font-weight: 600;
    color: #1d2433;
}

.omnicanal-option-desc {
    font-size: 11.5px;
    color: #8b94a3;
}

.omnicanal-option-arrow {
    color: #c0c8d4;
    font-size: 14px;
}

/* Formulario Interno */
.omnicanal-form {
    text-align: left;
}

.omnicanal-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 6px;
}

.omnicanal-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.omnicanal-required {
    color: #d9534f;
}

.omnicanal-input, 
.omnicanal-select, 
.omnicanal-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    background-color: #fff;
}

.omnicanal-input:focus, 
.omnicanal-select:focus, 
.omnicanal-textarea:focus {
    border-color: #0033a0;
}

.omnicanal-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.omnicanal-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.omnicanal-checkbox-label {
    font-size: 12px;
    color: #555;
    cursor: pointer;
}

.omnicanal-checkbox-label a {
    color: #0033a0;
    text-decoration: underline;
}

.omnicanal-submit-btn {
    background-color: #0033a0;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Top de sub-paneles estilo Javier (sin franja azul) */
.omnicanal-subpanel-top {
    padding: 16px 22px 2px;
}

.omnicanal-subpanel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.omnicanal-subpanel-back {
    width: 32px;
    height: 32px;
    border: none;
    background: #f2f4f9;
    border-radius: 50%;
    cursor: pointer;
    color: #0033a0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.omnicanal-subpanel-back:hover {
    background: #e6ebf5;
}

.omnicanal-subpanel-close {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    color: #5b6373;
    font-size: 20px;
    line-height: 1;
}

.omnicanal-subpanel-title {
    text-align: center;
    margin: 2px 0 2px;
    font-size: 20px;
    font-weight: 600;
    color: #1d2433;
}

.omnicanal-subpanel-subtitle {
    text-align: center;
    margin: 0 0 6px;
    font-size: 12.5px;
    color: #8b94a3;
}

.omnicanal-submit-btn:hover {
    background-color: #0033a0;
}

.omnicanal-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Pie del Panel */
.omnicanal-footer {
    padding: 10px;
    text-align: center;
    font-size: 10.5px;
    letter-spacing: 0.3px;
    color: #aab2c0;
    background-color: #fff;
    border-top: 1px solid #f0f2f6;
}

.omnicanal-footer strong {
    color: #0033a0;
}

/* Indicador de Pasos */
.omnicanal-steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 22px 14px;
    background-color: transparent;
    border-bottom: none;
    gap: 8px;
}

.omnicanal-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #aaa;
    font-weight: 500;
}

.omnicanal-step.active {
    color: #0033a0;
    font-weight: 600;
}

.omnicanal-step.done {
    color: #28a745;
    font-weight: 600;
}

.omnicanal-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #eef1f6;
    color: #9aa3b2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 700;
}

.omnicanal-step.active .omnicanal-step-num {
    background-color: #0033a0;
    color: #fff;
}

.omnicanal-step.done .omnicanal-step-num {
    background-color: #0033a0;
    color: #fff;
}

.omnicanal-step-line {
    height: 2px;
    width: 40px;
    background-color: #eee;
}

.omnicanal-step-line.active {
    background-color: #0033a0;
}

/* Celular con indicativo país */
.omnicanal-phone-row {
    display: flex;
    gap: 8px;
}

.omnicanal-select-country {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 13px;
    background-color: #fff;
    outline: none;
    width: 80px;
    text-align: center;
    cursor: not-allowed;
}

/* Botón de Cancelar */
.omnicanal-cancel-btn {
    background-color: #fff;
    color: #1d2433;
    border: 1.5px solid #d7dce5;
    border-radius: 24px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-align: center;
}

.omnicanal-cancel-btn:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

.omnicanal-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

/* Alerta azul claro */
.omnicanal-alert-blue {
    display: flex;
    gap: 10px;
    background-color: #f2f6ff;
    border: 1px solid #dbe6ff;
    border-radius: 12px;
    padding: 12px 13px;
    align-items: center;
    margin-bottom: 8px;
}

.omnicanal-alert-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0033a0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.omnicanal-alert-icon svg {
    width: 16px;
    height: 16px;
}

.omnicanal-alert-text {
    color: #333;
    font-size: 12px;
    line-height: 1.3;
    text-align: left;
}

/* Estilos del Chatbot de ArIA */
.omnicanal-chat-avatar-container {
    display: flex;
    align-items: center;
}

.omnicanal-chat-avatar {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.omnicanal-chat-avatar img {
    width: 24px;
    height: 24px;
}

.omnicanal-chat-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.omnicanal-badge-uat {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
}

.omnicanal-chat-body {
    background-color: #fff;
    height: 350px;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.omnicanal-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.omnicanal-chat-msg {
    display: flex;
    width: 100%;
}

.omnicanal-chat-msg.bot-msg {
    justify-content: flex-start;
}

.omnicanal-chat-msg.user-msg {
    justify-content: flex-end;
}

.omnicanal-msg-bubble {
    max-width: 80%;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    word-break: break-word;
}

.bot-msg .omnicanal-msg-bubble {
    background-color: #ffffff;
    color: #1d2433;
    border-bottom-left-radius: 4px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(15, 26, 53, 0.06);
}

/* bootstrapp.min.css define "a { color: var(--bs-white) }" global — sin esto,
   un link dentro de una respuesta de ArIA (ej. el de reclamación) queda blanco
   sobre fondo blanco, invisible. */
.bot-msg .omnicanal-msg-bubble a {
    color: #0033a0;
    text-decoration: underline;
}

.bot-msg .omnicanal-msg-bubble a:hover {
    color: #002370;
}

.user-msg .omnicanal-msg-bubble {
    background-color: #0033a0;
    color: #fff;
    border-bottom-right-radius: 4px;
    text-align: left;
}

/* Indicador de carga (tres puntos) */
.omnicanal-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background-color: #ECF0F3;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.omnicanal-typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: #777;
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}

.omnicanal-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.omnicanal-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

.omnicanal-chat-footer {
    padding: 12px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.omnicanal-chat-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #0033a0;
    border-radius: 24px;
    padding: 4px 6px 4px 14px;
    background-color: #fff;
    transition: box-shadow 0.2s ease;
}

.omnicanal-chat-input-row:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.15);
}

.omnicanal-chat-textarea {
    flex-grow: 1;
    border: none;
    outline: none;
    resize: none;
    padding: 6px 0;
    font-size: 13px;
    font-family: inherit;
    color: #333;
    max-height: 80px;
    background: transparent;
    line-height: 1.3;
}

.omnicanal-chat-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background-color: #0033a0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    padding: 0;
}

.omnicanal-chat-send-btn:disabled {
    background-color: #a9bbe0; /* azul claro opaco (deshabilitado) */
    color: rgba(255, 255, 255, 0.9);
    cursor: not-allowed;
}

/* Flujo guiado de ArIA (menú de botones + wizard + formulario), 2026-09.
   Los mensajes/formularios se insertan como nodos normales dentro de
   #aria-chat-messages; estas clases son nuevas y no reemplazan nada existente. */
.aria-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 2px 0 4px;
}

.aria-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1.5px solid #0033a0;
    background-color: #fff;
    color: #0033a0;
    border-radius: 18px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.15s ease;
}

.aria-chip:hover {
    background-color: #0033a0;
    color: #fff;
}

.aria-chip:disabled {
    opacity: 0.45;
    cursor: default;
}

.aria-chip:disabled:hover {
    background-color: #fff;
    color: #0033a0;
}

/* :disabled repetido a propósito: .aria-chip:disabled (0,0,2,0) empataría en
   especificidad con .aria-chip--sel sola (0,0,1,0) y ganaría por estar antes en
   el archivo, dejando la opción elegida del wizard tan atenuada como las demás. */
.aria-chip--sel,
.aria-chip--sel:disabled {
    background-color: #0033a0;
    color: #fff;
    opacity: 1;
}

/* Chips que abren un link externo (Asesor/Inmobiliaria/Radicación): mismo look,
   con acento verde (el mismo del resto del widget) para asociarlos con WhatsApp/acción. */
.aria-chip--link {
    border-color: #1faf54;
    color: #1faf54;
}

.aria-chip--link:hover {
    background-color: #1faf54;
    color: #fff;
}

.aria-chip-row--columna {
    flex-direction: column;
}

.aria-chip-row--columna .aria-chip {
    width: 100%;
}

.aria-field-error {
    color: #d9534f;
    font-size: 11.5px;
    min-height: 14px;
    margin: -4px 2px 6px;
}

.omnicanal-input--error {
    border-color: #d9534f !important;
}

.aria-inline-form .omnicanal-msg-bubble {
    max-width: 92%;
}

.aria-inline-form .aria-form-titulo {
    font-size: 13px;
    font-weight: 600;
    color: #1d2433;
    line-height: 1.4;
    margin-bottom: 10px;
}

.aria-inline-form .omnicanal-form-group {
    margin-bottom: 6px;
}

.aria-inline-form .omnicanal-submit-btn {
    padding: 9px;
    font-size: 12.5px;
}

/* Estilos del modal Bienvenido de Captura de Lead */
.welcome-lead-modal .modal-content {
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15,26,53,0.28);
    border: none;
    overflow: hidden;
    font-family: 'Poppins', system-ui, sans-serif;
}

.welcome-lead-title {
    color: #0a1b2e;
    font-size: 24px;
    font-weight: 700;
}

.welcome-lead-subtitle {
    font-size: 13px;
    color: #666;
}

/* Pasos del formulario */
.lead-steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    gap: 8px;
}

.lead-step {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
    font-size: 12px;
    transition: all 0.3s ease;
}

.lead-step.active {
    color: #0033a0;
    font-weight: bold;
}

.lead-step.completed {
    color: #28a745;
    font-weight: bold;
}

.lead-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e1e5ec;
    background-color: #eef1f6;
    color: #9aa3b2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.lead-step.active .lead-step-num {
    border-color: #0033a0;
    background-color: #0033a0;
    color: #fff;
}

.lead-step.completed .lead-step-num {
    border-color: #28a745;
    background-color: #28a745;
    color: #fff;
}

.lead-step-line {
    width: 40px;
    height: 1px;
    background-color: #eee;
    transition: all 0.3s ease;
}

.lead-step-line.active {
    background-color: #0033a0;
}

/* Tarjetas de Perfil */
.lead-cards-row {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.lead-card-profile {
    flex: 1;
    border: 1.5px solid #d7dce5;
    border-radius: 11px;
    padding: 13px 4px;
    cursor: pointer;
    transition: all 0.18s ease;
    background-color: #fff;
    color: #5b6373;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.lead-card-profile:hover {
    border-color: #0033a0;
    background-color: rgba(0, 51, 160, 0.03);
}

.lead-card-profile.active {
    border-color: #0033a0;
    background-color: #0033a0;
    color: #fff;
    font-weight: 600;
}

.lead-card-icon {
    font-size: 20px;
    color: #0033a0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-card-profile.active .lead-card-icon,
.lead-card-profile.active .lead-card-text {
    color: #fff;
}

.lead-card-text {
    font-size: 11.5px;
    font-weight: 600;
    color: #5b6373;
}

/* Campos generales */
.lead-label {
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 4px;
}

.lead-required {
    color: #e53e3e;
}

.lead-input, .lead-select, .lead-textarea {
    width: 100%;
    border: 1px solid #d7dce5;
    border-radius: 9px;
    padding: 12px 14px;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s ease;
    background-color: #fff;
    color: #2d3748;
}

.lead-input:focus, .lead-select:focus, .lead-textarea:focus {
    border-color: #0033a0;
    box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.15);
}

/* Fila de Celular */
.lead-phone-row {
    display: flex;
    gap: 8px;
}

.lead-select-country {
    width: 80px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 8px;
    font-size: 13px;
    background-color: #f7fafc;
    color: #4a5568;
    outline: none;
    cursor: pointer;
}

/* Canales de contacto */
.lead-channels-row {
    display: flex;
    gap: 12px;
}

.lead-card-channel {
    flex: 1;
    border: 1.5px solid #d7dce5;
    border-radius: 11px;
    padding: 13px 4px;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #5b6373;
    transition: all 0.18s ease;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-card-channel:hover {
    border-color: #0033a0;
    background-color: rgba(0, 51, 160, 0.02);
}

.lead-card-channel.active {
    border-color: #0033a0;
    background-color: #0033a0;
    color: #fff;
}

/* Acordeón de horario preferido */
.lead-accordion-container {
    border: none;
    border-radius: 0;
    overflow: visible;
}

.lead-accordion-header {
    background-color: transparent;
    padding: 2px 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #0a1b2e;
    text-decoration: underline;
    text-underline-offset: 3px;
    display: flex;
    align-items: center;
    user-select: none;
}

.lead-accordion-arrow-rotated {
    transform: rotate(180deg);
}

.lead-accordion-body {
    padding: 12px 0 4px;
    border-top: none;
    background-color: transparent;
    transition: all 0.3s ease;
}

.lead-accordion-body.colapsed-content {
    display: none;
}

/* Estilo simulador reCAPTCHA */
.lead-recaptcha-mock {
    display: flex;
    align-items: center;
    border: 1px solid #d7dce5;
    background-color: #f7f8fa;
    border-radius: 6px;
    padding: 12px 14px;
    width: 100%;
}

.lead-checkbox-recaptcha {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.lead-recaptcha-label {
    font-size: 12px;
    color: #000;
    font-family: Roboto, helvetica, arial, sans-serif;
}

/* Checkbox de TyC */
.lead-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.lead-tyc-label {
    font-size: 12px;
    color: #4a5568;
}

.lead-tyc-label a {
    color: #0033a0;
    text-decoration: underline;
}

/* Botonera */
.lead-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0033a0;
    border-color: #0033a0;
    border-radius: 28px;
    font-weight: 600;
    padding: 15px;
    font-size: 15px;
    transition: background-color 0.2s;
    color: #fff;
}

.lead-btn-primary:hover {
    background-color: #002a86;
    border-color: #002a86;
    color: #fff;
}

.lead-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 120px;
    background-color: #fff;
    border: 1.5px solid #d7dce5;
    color: #0a1b2e;
    border-radius: 28px;
    font-weight: 600;
    padding: 14px;
    font-size: 14px;
    transition: all 0.2s;
}

.lead-btn-secondary:hover {
    background-color: #f6f8fc;
    color: #0a1b2e;
}

/* Footer del modal (separado con línea, estilo Javier) */
.lead-modal-footer {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid #eef1f6;
}

/* ===== Animaciones del look ArIA ===== */
@keyframes omniPulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,211,107,0.55); }
    70%  { box-shadow: 0 0 0 7px rgba(34,211,107,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,211,107,0); }
}

@keyframes omniGlow {
    0%, 100% { box-shadow: 0 10px 30px rgba(0,51,160,0.34), 0 0 0 0 rgba(34,182,230,0.45); }
    50%      { box-shadow: 0 14px 38px rgba(0,51,160,0.4), 0 0 0 8px rgba(34,182,230,0); }
}
