/* ================================
   CONTENEDOR GENERAL
================================ */
.simulador-container {
    display: flex;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* ================================
   COLUMNA IZQUIERDA (inputs)
================================ */
.sim-left {
    width: 40%;
    background: #000000;
    color: #ffffff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #2b2b2b;
}

.sim-left h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 600;
}

.sim-left .minmax {
    font-size: 13px;
    color: #d0d0d0;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

/* Sliders */
.sim-left input[type="range"] {
    width: 100%;
    margin: 5px 0 15px;
    accent-color: #fdb940; /* Amarillo corporativo */
}

/* Inputs con borde suave */
.sim-left input[type="number"] {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-size: 18px;
    color: #212121;
}

.sim-left input[type="number"]:focus {
    border-color: #fdb940;
    outline: none;
}


/* Botón principal */
.sim-left button {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    background: #fdb940;
    color: #000000 !important; 
    border: none;
    font-size: 18px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.sim-left button:hover {
    background: #fdb940; /* igual que el color normal */
	
}
.sim-left button:active,
.sim-left button:focus {
    background: #fdb940 !important;
  color: #000000 !important; 
    outline: none !important;
    box-shadow: none !important;
}




/* ================================
   COLUMNA DERECHA (resultados)
================================ */
.sim-right {
    flex: 1;
    border: 1px solid rgba(255,255,255,0.25);
    background: #F39200;
    color: #212121; /* Texto oscuro */
    border-radius: 18px;
    padding: 40px;
    text-align: center;
}

.sim-right h2 {
    font-size: 34px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.18);
}

/* Tarjeta de tu hipoteca */
.result-card {
    background: rgba(255,255,255,0.35);
    color: #212121;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.result-card .price {
    font-size: 48px;
    color: #ffffff;
    font-weight: 900;
    text-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.result-card small {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    opacity: 0.9;
}

/* Tarjeta competencia */
.result-card.comp {
    background: #ffffff;
    color: #212121;
    border: 2px solid #fdb940;
}

.result-card.comp .price {
    color: #000000; /* negro */
}

/* Responsive */
@media(max-width: 900px){
    .simulador-container {
        flex-direction: column;
    }
    .sim-left, .sim-right {
        width: 100%;
    }

    /* A PARTIR DE AQUÍ: SOLO MÁS ESPACIO EN LA COLUMNA DERECHA */

    /* Más aire dentro del fondo naranja */
    .sim-right {
        padding: 40px 25px;   /* antes: 40px (por defecto de escritorio) */
    }

    /* Más separación entre las dos tarjetas de resultado */
    .sim-right .result-card {
        margin-bottom: 40px;  /* antes: 25px */
        padding: 30px 20px;   /* un pelín más de espacio interno */
    }
}
@media (max-width: 900px) {

    /* Más espacio alrededor del precio */
    .result-card .price {
        margin: 20px 0 !important;  /* separa del texto superior e inferior */
        font-size: 42px !important; /* reduce un poco el tamaño para que no se solape */
        line-height: 1.2 !important; /* altura correcta de la línea */
        display: block;
        padding: 10px 0; /* un poco de aire extra */
    }

}




