* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f1f2f5;
    padding: 20px;
}

.simulator-container {
    background: white;
    border-radius: 8px;
    max-width: 450px;
    width: 100%;
    padding: 25px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(3, 3, 3, 0.1);
}

.simulator-header {
    text-align: center;
    margin-bottom: 20px;
}

.simulator-header h2 {
    color: var(--theme-palette-color-1, #0057b8);
    font-size: 20px;
    margin-bottom: 5px;
}

.simulator-header p {
    color: #030303;
    font-size: 12px;
    opacity: 0.7;
}

.form-group {
    margin-bottom: 15px;
}

/* Preview card */
.preview-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding: 14px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(0,0,0,0.03), rgba(0,0,0,0.01));
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(3,3,3,0.06);
}

.preview-price {
    font-size: 18px;
    color: #030303;
    font-weight: 700;
}

.preview-finance {
    font-size: 16px;
    color: var(--theme-palette-color-1, #0057b8);
    font-weight: 800;
}

label {
    display: block;
    color: #030303;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
}

input[type="number"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    color: #030303;
    background: #f1f2f5;
    transition: all 0.3s;
}

input[type="number"]:hover,
select:hover {
    border-color: var(--theme-palette-color-1, #0057b8);
    box-shadow: 0 0 0 2px rgba(0, 87, 184, 0.08);
}

input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: var(--theme-palette-color-1, #0057b8);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.12);
}

.btn-calculate {
    width: 100%;
    padding: 11px;
    background: #030303;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-calculate:hover {
    background: #030303;
    box-shadow: 0 0 0 3px rgba(0,87,184,0.12);
}

.btn-calculate:active {
    transform: scale(0.98);
}

.results {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.results.active {
    display: block;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
    color: #030303;
}

.result-label {
    opacity: 0.7;
}

.result-value {
    font-weight: 700;
    font-size: 14px;
}

.result-value.highlight {
    color: var(--theme-palette-color-1, #0057b8);
    font-size: 16px;
}

.monthly-list {
    margin: 12px 0;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e9eef8;
    border-radius: 6px;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(3,3,3,0.03);
}

.monthly-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #f0f3f8;
}

.monthly-item:last-child { border-bottom: none; }

.payment-note {
    background: #f1f2f5;
    border-left: 3px solid var(--theme-palette-color-1, #0057b8);
    padding: 10px;
    border-radius: 3px;
    margin-top: 15px;
    font-size: 12px;
    color: #030303;
    line-height: 1.4;
}

.error {
    color: #d32f2f;
    font-size: 11px;
    margin-top: 4px;
    display: none;
}

.error.active {
    display: block;
}
.logo {
    max-width: 160px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.btn-whatsapp {
    display: block;
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: #fff;
    text-align: center;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    display: block;
    width: 100%;
    max-width: 450px; /* mismo ancho del formulario */
    margin: 20px auto 0;
    padding: 14px;
    background: #25D366; /* verde WhatsApp */
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}
@media (max-width: 500px) {
    .simulator-container {
        padding: 18px;
    }

    .simulator-header h2 {
        font-size: 18px;
    }
}
/* CONTENEDOR DE MESES */
.months-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* MOBILE */
    gap: 10px;
    width: 100%;
}

/* BOTONES */
.months-grid button {
    padding: 12px 0;
    border: 1px solid #d0d0d0;
    background: #f1f2f5;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* BOTÓN ACTIVO */
.months-grid button.active {
    background: #0057b8;
    color: #ffffff;
    border-color: #0057b8;
}

/* HOVER DESKTOP */
@media (hover: hover) {
    .months-grid button:hover {
        background: #e6ebf5;
    }
}

/* TABLET */
@media (min-width: 600px) {
    .months-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* DESKTOP */
@media (min-width: 992px) {
    .months-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 420px; /* opcional para que no se estire feo */
        margin: 0 auto;
    }
}


