﻿

:root {
    --primary-color: #212A58;
    --secondary-color: #C8217E;
    --accent-color: #2E7D33;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
}

body {
    background-color: var(--light-gray);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.simulador-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.5rem; /* Reducido de 2rem */
    margin-top: 1rem; /* Reducido de 2rem */
    margin-bottom: 2rem;
}

.titulo-seccion {
    color: var(--primary-color);
    font-family: arial;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem; /* Reducido de 1.5rem */
    position: relative;
    padding-bottom: 0.5rem;
}

    .titulo-seccion::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--secondary-color);
    }

.resultado-linea {
    /*padding: 1.25rem 0;*/
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}

    .resultado-linea:last-child {
        border-bottom: none;
    }

.valor-destacado {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.text-primary-custom {
    color: var(--primary-color);
}

.text-secondary-custom {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.input-group-custom {
    max-width: 280px;
    margin: 0 auto;
}

.form-control-custom {
    border: 1px solid #ced4da;
    border-radius: 6px;
    /*padding: 0.75rem 1rem;*/
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s;
}

    .form-control-custom:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.2rem rgba(200, 33, 126, 0.25);
    }

.seccion-derecha {
    background-color: #f5f5f7;
    border-radius: 10px;
    padding: 1.5rem;
}

.aclaracion {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px dashed #dee2e6;
}

.etiqueta {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
    display: block;
}

.valor-resultado {
    font-size: 1.25rem;
    font-weight: 600;
}

.valor-destacado {
    font-size: 1.5rem;
}

.conversion-uvis {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.valor-dual {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.valor-container {
    text-align: center;
    min-width: 120px;
}

.valor-resultado {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

#valorViviendaUvis, #totalcuotas {
    color: var(--secondary-color);
}

.valor-resultado span.text-muted {
    font-size: 0.9rem;
    font-weight: normal;
}

.acciones-simulador {
    margin-top: 0.75rem;
    text-align: center;
}

.btn-turno-simulador {
    align-items: center;
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 6px;
    color: white;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 8px;
    justify-content: center;
    min-width: 180px;
    padding: 8px 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-turno-simulador:hover {
    background-color: #a91c6b;
    border-color: #a91c6b;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-turno-simulador:focus,
.btn-turno-simulador:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(200, 33, 126, 0.25);
    color: white;
    outline: none;
    text-decoration: none;
}

.cuota-accion {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.acciones-simulador-inline {
    flex-shrink: 0;
    margin-top: 0;
}

@@media (max-width: 768px) {
    .cuota-accion {
        align-items: flex-start;
        flex-direction: column;
    }
}

