﻿/* Variables de color */
:root {
    --azul-oscuro: #0E458D;
    --azul-boton: #0E458D;
    --red-boton: #d00415;
    --gris-input: #e6e6e6;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

/* Fondo blanco */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #0E458D;
    background: linear-gradient(rgba(14, 69, 141, 0.8), rgba(30, 30, 31, 0.8)), url('/public/image/fondo.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
}

/* Contenedor principal SIN overflow hidden para permitir el redondeo del blanco */
.card-container {
    position: relative;
    display: flex;
    width: 1000px;
    max-width: 100%;
    background-color: rgba(14, 69, 141, 0.8);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    padding: 20px;
    gap: 0;
}

/* Mitad Izquierda (Azul) - Solo actúa como fondo decorativo */
.left-side {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
    color: white;
}

/* Imagen de la paraba */
.paraba-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    object-fit: contain;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.3));
}

/* Mitad Derecha (Formulario blanco) CON PUNTAS REDONDEADAS */
.right-side {
    width: 55%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 20px;
    /* Redondeo general */
    border-top-left-radius: 20px;
    /* Esquina superior izquierda */
    border-bottom-left-radius: 20px;
    /* Esquina inferior izquierda */
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Sombra para efecto flotante */
    position: relative;
    z-index: 2;
}

    .right-side h2 {
        color: var(--azul-oscuro);
        font-size: 2.4rem;
        margin-bottom: 35px;
        font-weight: 800;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #333;
        font-size: 0.9rem;
        font-weight: 600;
    }

.login-options {
    display: block;
    text-align: right;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--azul-oscuro);
    text-decoration: none;
    font-weight: 600;
}

    .login-options:hover {
        text-decoration: underline;
    }

/* Responsive */
@media (max-width: 850px) {
    .card-container {
        flex-direction: column;
        padding: 15px;
    }

    .left-side,
    .right-side {
        width: 100%;
    }

    .right-side {
        padding: 40px 30px;
        border-radius: 30px;
    }

    .paraba-img {
        max-width: 280px;
    }
}
