/* * simulador-components.css - Edición "Dream Twin" vFinal
 * Objetivo: Réplica exacta: Inputs Blancos Sólidos sobre Fondo Azul Oscuro.
 */

:root {
    /* Colores Específicos del Componente */
    --input-bg-white: #ffffff;
    --input-text-navy: #102d69;
    --input-placeholder: #aab2bd;
    --btn-fuchsia-start: #e91e63;
    --btn-fuchsia-end: #ff4081;
    --focus-glow: rgba(79, 172, 254, 0.4);
}

/* ============================================================
   --- 1. INPUTS Y SELECTS (CAJAS BLANCAS) ---
   ============================================================ */

/* El cambio radical: De transparente a Blanco Sólido */
.f-input, .f-select {
    width: 100%;
    background: var(--input-bg-white) !important;
    color: var(--input-text-navy) !important; /* Texto oscuro para contraste */
    
    border: 2px solid transparent; /* Borde invisible listo para focus */
    border-radius: 12px !important; /* Bordes redondeados modernos */
    
    padding: 12px 15px !important;
    font-size: 1rem !important;
    font-weight: 600;
    
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra suave para flotar */
    box-sizing: border-box;
    height: 50px !important; /* Altura consistente */
}

/* Placeholder gris suave */
.f-input::placeholder {
    color: var(--input-placeholder);
    font-weight: 400;
}

/* Efecto Focus: Borde Azul Brillante */
.f-input:focus, .f-select:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 4px var(--focus-glow);
    transform: translateY(-2px);
}

/* Símbolo de moneda ($) */
.currency-symbol { 
    color: var(--input-text-navy); 
    font-weight: 700; 
    font-size: 1.1rem;
    margin-right: 5px;
    z-index: 2;
    /* Ajuste si está fuera del input, o dentro vía wrapper */
    position: absolute;
    left: 15px;
    line-height: 50px; /* Centrado vertical con el input */
}

/* Ajuste para inputs con símbolo $ */
.money-input {
    padding-left: 30px !important; 
}

/* --- SELECT PERSONALIZADO (Flecha Azul Oscura) --- */
.f-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    /* Flecha Navy para que se vea sobre blanco */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23102d69'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 35px !important;
}

.f-select option {
    background-color: #ffffff !important;
    color: #102d69 !important;
    padding: 10px;
}

/* ============================================================
   --- 2. BOTÓN DE ACCIÓN (FUCSIA NEÓN) ---
   ============================================================ */

@keyframes pulse-fuchsia {
    0% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(233, 30, 99, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0); }
}

.btn-wow-action {
    /* Degradado Fucsia exacto de la imagen */
    background: linear-gradient(90deg, var(--btn-fuchsia-start) 0%, var(--btn-fuchsia-end) 100%) !important;
    color: white !important;
    border: none !important;
    
    width: 100%;
    padding: 0 40px !important;
    height: 50px !important; /* Misma altura que inputs */
    border-radius: 50px !important; /* Píldora */
    
    font-size: 1rem !important; 
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    
    position: relative;
    overflow: hidden;
    animation: pulse-fuchsia 3s infinite;
    margin-top: 10px; /* Separación visual */
}

.btn-wow-action:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.6) !important;
    filter: brightness(1.1);
}

.btn-wow-action i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.btn-wow-action:hover i {
    transform: translateX(4px);
}

/* ============================================================
   --- 3. FOOTER Y EXTRAS ---
   ============================================================ */

.sim-footer {
    width: 100%;
    margin-top: 30px;
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.admin-access {
    color: rgba(255, 255, 255, 0.3) !important;
    transition: 0.3s;
    font-size: 1rem;
    text-decoration: none;
}
.admin-access:hover {
    color: #ffffff !important;
    transform: scale(1.1);
}

.palamon-credit {
    display: inline-block;
    margin-top: 2px;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.palamon-credit:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Tasa flotante (Estilo Badge) */
#tasa {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    width: auto !important;
    padding: 0 !important;
    height: auto !important;
}