/* --- SIMULADOR DE CRÉDITO --- */
.simulator-box {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.slider-header label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0;
}

.slider-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
    background-color: #e0e7ff;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Estilo para las barras de rango */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #cbd5e1;
    outline: none;
    margin: 10px 0 5px 0;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    background: #1d4ed8;
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
}

/* Tarjeta de la Cuota */
.cuota-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.cuota-title {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 5px;
}

.cuota-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #38bdf8;
}

.hidden {
    display: none !important;
}

/* Barra Argentina Top */
.top-bar-arg {
    background-color: #74acdf; /* Celeste Argentina */
    color: #ffffff;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #f2a900; /* Detalle Sol */
}

/* Variables y generales */
:root {
    --primary-blue: #0b3c5d;
    --secondary-blue: #1d2731;
    --green-accent: #00a859;
    --green-hover: #008f4c;
    --bg-light: #f4f7f6;
    --text-color: #333333;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Logo */
.header {
    background-color: #ffffff;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    max-height: 80px;
    width: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    margin: 30px auto 20px auto;
}

.hero h1 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.hero h1 span {
    color: var(--green-accent);
}

.hero .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.badge-veraz {
    display: inline-block;
    background-color: #e8f5e9;
    color: var(--green-accent);
    border: 1px solid var(--green-accent);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.description {
    font-size: 0.95rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Formulario */
.form-section {
    margin-bottom: 50px;
}

.form-card, .success-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-card h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.form-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.form-group-row {
    display: flex;
    gap: 15px;
}

.form-group-row .form-group {
    flex: 1;
}

label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--secondary-blue);
}

input, select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    border-color: var(--green-accent);
}

/* Botón Principal */
.btn-submit {
    width: 100%;
    background-color: var(--green-accent);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--green-hover);
}

/* Botón Secundario (Volver) */
.btn-secondary {
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 25px;
}

.btn-secondary:hover {
    background-color: var(--secondary-blue);
}

/* Mensaje de Éxito */
.hidden {
    display: none !important;
}

.success-card {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 70px;
    height: 70px;
    background-color: #e8f5e9;
    color: var(--green-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.success-card h2 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.whatsapp-box {
    margin-top: 25px;
    background-color: #e8f5e9;
    border-left: 4px solid var(--green-accent);
    padding: 15px;
    border-radius: 4px;
}

.footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: #888;
    background-color: #fff;
    border-top: 1px solid #eee;
}

@media (max-width: 600px) {
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
    .hero h1 {
        font-size: 1.7rem;
    }
    .form-card {
        padding: 20px;
    }
}