/* =========================================================
   LOGIN PRO SCHOOL
   ========================================================= */

body.login-body {

    margin: 0;

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    background-color: #0f172a;

    background-image:
        linear-gradient(
            rgba(4, 25, 55, 0.48),
            rgba(4, 25, 55, 0.48)
        ),
        url("../jpg/fondo.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-attachment: fixed;

    font-family: "Segoe UI", Arial, sans-serif;

}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.login-container {

    width: 100%;

    max-width: 440px;

    padding: 20px;

}


/* =========================================================
   TARJETA
   ========================================================= */

.login-card {

    background: rgba(255, 255, 255, 0.96);

    border-radius: 24px;

    padding: 34px 36px 26px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.7);

}


/* =========================================================
   LOGO
   ========================================================= */

.login-logo {

    text-align: center;

    margin-bottom: 12px;

}

.login-logo img {

    width: 230px;

    max-width: 80%;

    height: auto;

    display: inline-block;

}


/* =========================================================
   CABECERA
   ========================================================= */

.login-header {

    text-align: center;

    margin-bottom: 28px;

}


.module-icon {

    width: 48px;

    height: 48px;

    margin: 8px auto 12px;

    border-radius: 14px;

    display: flex;

    justify-content: center;

    align-items: center;

    background: linear-gradient(
        135deg,
        #0b3b82,
        #1683e8
    );

    box-shadow:
        0 8px 20px rgba(21, 112, 220, 0.25);

}


.module-icon span {

    font-size: 23px;

}


.login-header h2 {

    margin: 0;

    font-size: 25px;

    font-weight: 700;

    color: #102a56;

}


.login-header p {

    margin: 7px 0 0;

    color: #64748b;

    font-size: 14px;

}


/* =========================================================
   ETIQUETAS
   ========================================================= */

.form-label {

    font-size: 14px;

    font-weight: 600;

    color: #243b5a;

    margin-bottom: 7px;

}


/* =========================================================
   INPUTS
   ========================================================= */

.input-wrapper {

    position: relative;

}


.input-icon {

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 17px;

    z-index: 2;

    opacity: 0.75;

}


.form-control {

    height: 50px;

    border-radius: 12px;

    border: 1px solid #d8e0ea;

    padding-left: 45px;

    padding-right: 14px;

    font-size: 15px;

    color: #1e293b;

    background: #ffffff;

    transition: all 0.2s ease;

}


.form-control::placeholder {

    color: #94a3b8;

}


.form-control:focus {

    border-color: #1683e8;

    box-shadow:
        0 0 0 4px rgba(22, 131, 232, 0.12);

}


/* =========================================================
   BOTÓN
   ========================================================= */

.btn-login {

    width: 100%;

    height: 50px;

    border: none;

    border-radius: 12px;

    padding: 0 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-size: 15px;

    font-weight: 600;

    background: linear-gradient(
        135deg,
        #1264d8,
        #1683e8
    );

    color: white;

    box-shadow:
        0 8px 20px rgba(18, 100, 216, 0.25);

    transition: all 0.25s ease;

    cursor: pointer;

}


.btn-login:hover {

    transform: translateY(-1px);

    box-shadow:
        0 12px 25px rgba(18, 100, 216, 0.35);

}


.btn-login:active {

    transform: translateY(0);

}


.arrow {

    font-size: 20px;

    line-height: 1;

}


/* =========================================================
   ALERTA
   ========================================================= */

.alert {

    border-radius: 10px;

    font-size: 14px;

}


/* =========================================================
   PIE
   ========================================================= */

.login-footer {

    text-align: center;

    margin-top: 24px;

    padding-top: 18px;

    border-top: 1px solid #e5e7eb;

}


.login-footer span {

    display: block;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #1769d1;

}


.login-footer small {

    display: block;

    margin-top: 4px;

    font-size: 11px;

    color: #94a3b8;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    body.login-body {

        background-position: center;

    }

    .login-container {

        max-width: 390px;

        padding: 15px;

    }

    .login-card {

        padding: 28px 24px 22px;

        border-radius: 20px;

    }

    .login-logo img {

        width: 205px;

    }

    .login-header h2 {

        font-size: 22px;

    }

}