
/* =========================================
   CONFIGURACIÓN GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    background: #f4f7fb;
    color: #1f2937;
}


/* =========================================
   CONTENEDOR PRINCIPAL
========================================= */

.login-container {
    min-height: 100vh;
    display: flex;
}


/* =========================================
   PANEL IZQUIERDO
========================================= */

.login-info {
    width: 50%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    background:
        linear-gradient(
            135deg,
            #071a2f,
            #0b3155,
            #12618a
        );

    position: relative;
    overflow: hidden;
}


/* Efectos decorativos */

.login-info::before,
.login-info::after {
    content: "";
    position: absolute;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;
}

.login-info::before {
    width: 450px;
    height: 450px;
    top: -150px;
    left: -150px;
}

.login-info::after {
    width: 600px;
    height: 600px;
    bottom: -300px;
    right: -250px;
}


.info-content {
    max-width: 500px;
    text-align: center;

    color: white;

    position: relative;
    z-index: 2;
}


/* =========================================
   LOGO
========================================= */

.logo {
    width: 120px;
    height: 120px;

    margin: 0 auto 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.1);

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(5px);
}

.logo img {
    max-width: 90px;
    max-height: 90px;

    object-fit: contain;
}


/* =========================================
   INFORMACIÓN
========================================= */

.info-content h1 {
    font-size: 36px;
    line-height: 1.2;

    margin-bottom: 20px;

    font-weight: 700;
}

.info-content p {
    font-size: 17px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.85);
}


/* =========================================
   DECORACIÓN TECNOLÓGICA
========================================= */

.technology-decoration {
    display: flex;
    justify-content: center;
    gap: 25px;

    margin-top: 45px;
}

.technology-decoration span {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.08);

    font-size: 24px;
}


/* =========================================
   PANEL LOGIN
========================================= */

.login-panel {
    width: 50%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
}


/* =========================================
   CAJA LOGIN
========================================= */

.login-box {
    width: 100%;
    max-width: 440px;
}


/* =========================================
   ENCABEZADO
========================================= */

.login-header {
    margin-bottom: 35px;
}

.login-header h2 {
    font-size: 32px;

    margin-bottom: 10px;

    color: #111827;
}

.login-header p {
    font-size: 15px;

    color: #6b7280;
}


/* =========================================
   FORMULARIO
========================================= */

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 600;

    color: #374151;
}

.form-group input {
    width: 100%;

    height: 52px;

    padding: 0 16px;

    border: 1px solid #d1d5db;

    border-radius: 9px;

    background: white;

    font-size: 15px;

    outline: none;

    transition: 0.2s;
}

.form-group input:focus {
    border-color: #12618a;

    box-shadow:
        0 0 0 3px rgba(18, 97, 138, 0.12);
}

.form-group input::placeholder {
    color: #9ca3af;
}


/* =========================================
   OPCIONES
========================================= */

.login-options {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;

    font-size: 13px;
}

.remember {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #6b7280;

    cursor: pointer;
}

.remember input {
    cursor: pointer;
}

.login-options a {
    color: #12618a;

    text-decoration: none;

    font-weight: 600;
}

.login-options a:hover {
    text-decoration: underline;
}


/* =========================================
   BOTÓN
========================================= */

.login-button {
    width: 100%;

    height: 52px;

    border: none;

    border-radius: 9px;

    background: #12618a;

    color: white;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.login-button:hover {
    background: #0d4e70;

    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(0);
}


/* =========================================
   PIE DEL LOGIN
========================================= */

.login-footer {
    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #e5e7eb;

    text-align: center;
}

.login-footer p {
    font-size: 13px;

    color: #9ca3af;

    margin-bottom: 5px;
}

.login-footer span {
    font-size: 12px;

    color: #6b7280;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .login-container {
        flex-direction: column;
    }

    .login-info {
        width: 100%;
        min-height: 350px;

        padding: 40px 25px;
    }

    .login-panel {
        width: 100%;
        min-height: auto;

        padding: 50px 25px;
    }

    .info-content h1 {
        font-size: 28px;
    }

    .info-content p {
        font-size: 15px;
    }

    .technology-decoration {
        margin-top: 25px;
    }
}


@media (max-width: 500px) {

    .login-info {
        min-height: 300px;
    }

    .logo {
        width: 90px;
        height: 90px;

        margin-bottom: 20px;
    }

    .logo img {
        max-width: 70px;
        max-height: 70px;
    }

    .info-content h1 {
        font-size: 24px;
    }

    .technology-decoration span {
        width: 45px;
        height: 45px;

        font-size: 19px;
    }

    .login-header h2 {
        font-size: 27px;
    }

    .login-options {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }
}

