/* ESTILOS GENERALES */
body {
    background-color: white;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

/* CONTENEDOR PRINCIPAL */
.contenedor-principal {
    display: flex;
    min-height: 100vh;
}

/* SECCIÓN DE IMAGEN */
.contenedor-imagen {
    flex: 1;
    background-color: #fcf9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.marco-imagen {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
}

.imagen-formulario {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SECCIÓN DEL FORMULARIO */
.contenedor-formulario {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #f2f2f2;
}

.formulario-datos {
    width: 100%;
    max-width: 500px;
}

.titulo-formulario {
    color: #a0244c;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
    font-size: 1.8rem;
}

/* ESTILOS DE FORMULARIO */
.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ddd;
    width: 100%;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #a0244c;
    box-shadow: 0 0 0 0.25rem rgba(160, 36, 76, 0.25);
    outline: none;
}

/* GRUPO DE ENTRADA CON ICONO DE LUPA */
.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.input-group .form-control {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* ESTILOS PARA EL ICONO DE LUPA (SVG) */
.icono-lupa {
    background-color: #a0244c;
    border: 1px solid #a0244c;
    border-left: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.icono-lupa:hover {
    background-color: #8a1e40;
    border-color: #8a1e40;
}

.icono-buscar {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* CHECKBOX "NO TIENE MATRÍCULA" */
.form-check {
    margin-top: 1rem;
}

.form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.15em;
    margin-right: 0.5em;
    accent-color: #a0244c;
}

.form-check-label {
    cursor: pointer;
}

/* BOTÓN SIGUIENTE */
.btn-siguiente {
    background-color: #a0244c;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 1.5rem;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-siguiente:hover {
    background-color: #8a1e40;
}

.card {
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
    background-color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contenedor-principal {
        flex-direction: column;
    }

    .card {
        padding: 15px;
    }


    .contenedor-imagen {
        height: 250px;
    }

    .contenedor-formulario {
        padding: 1.5rem;
    }

    .titulo-formulario {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}