

/* ================================================
   RESET GLOBAL
================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #f0f2f5;
    color: #1b1f3b;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ================================================
   SECCIÓN CENTRAL (panel + textos)
================================================ */
.content-section {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
    flex: 1;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}



.top-text .title {
    color: #002b5c;
    font-size: 2rem;
    margin-bottom: 10px;
}

.top-text .description {
    color: #444;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Centrar el bloque superior */
.top-text {
    display: flex;
    flex-direction: column;
    align-items: center;    /* centra horizontalmente */
    justify-content: center; /* centra verticalmente si hay altura */
    text-align: center;
    margin: 0 auto 40px auto;
}

/* Ajustar el panel para dar más protagonismo a la imagen y al login */
.panel {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 550px; /* aumentamos la altura total */
}

/* Imagen izquierda más grande dentro de su panel */
.left-side {
    flex: 0 0 45%; /* mantiene proporción, pero deja más espacio visual */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.portada-img {
    width: 95%; /* ocupa más espacio dentro de su panel */
    height: auto;
    max-height: 95%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Login (lado derecho) más grande dentro de su panel */
.right-side {
    flex: 0 0 55%; /* un poco más ancho que antes */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 40px; /* más aire alrededor */
    transform: scale(1.1); /* agranda visualmente el contenido entero */
}


/* Texto inferior (debajo del panel) */
.bottom-text {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.bottom-text .info-section {
    width: 100%;
    max-width: 1000px;
    background-color: #f0f4ff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-title {
    color: #002b5c;
    margin-bottom: 10px;
}

.info-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}



/* ================================================
   RESPONSIVE DESIGN
================================================ */
@media (max-width: 900px) {
    .panel {
        flex-direction: column;
        max-width: 95%;
    }

    .left-side,
    .right-side {
        flex: 1 1 100%;
        padding: 20px;
    }

    .portada-img {
        max-width: 60%;
    }

    .top-text .description {
        padding: 0 15px;
    }

    .bottom-text .info-section {
        margin-top: 20px;
        padding: 15px;
        max-width: 95%;
    }

    .center-content {
        max-width: 95%;
        padding: 0 10px;
    }
}


