/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --blue: #1677D2;
    --blue-light: #43A9E8;
    --blue-dark: #0B1726;

    --cream: #F4EBD0;

    --white: #FFFFFF;
    --black: #080808;

    --text-dark: #152638;
    --text-gray: #72859A;

    --border: #DDE5EC;
}


/* =========================================================
   BODY
========================================================= */

html,
body {
    width: 100%;
    min-height: 100%;
}


body {
    font-family: "Montserrat", sans-serif;

    background: var(--blue-dark);

    min-height: 100vh;

    color: var(--white);

    overflow-x: hidden;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
========================================================= */

.login-container {
    width: 100%;
    min-height: 100vh;

    display: grid;

    grid-template-columns: 46% 54%;
}


/* =========================================================
   PANEL IZQUIERDO
========================================================= */

.login-panel {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(67, 169, 232, 0.12),
            transparent 35%
        ),
        var(--blue-dark);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 40px;
}


/* =========================================================
   TARJETA LOGIN
========================================================= */

.login-card {
    width: 100%;

    max-width: 480px;

    background: rgba(255, 255, 255, 0.98);

    color: var(--text-dark);

    border-radius: 22px;

    padding: 42px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   LOGO MANYATUPROFE
========================================================= */

.brand {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    margin-bottom: 28px;
}


/* Controla cualquier imagen que esté dentro de .brand */
.brand img {
    display: block;

    width: 170px !important;
    height: 70px !important;

    max-width: 170px !important;
    max-height: 70px !important;

    object-fit: contain !important;
    object-position: left center;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   CABECERA LOGIN
========================================================= */

.login-header {
    margin-bottom: 30px;
}


.login-header h1 {
    font-size: 30px;

    font-weight: 800;

    line-height: 1.2;

    margin-bottom: 8px;

    color: var(--black);
}


.login-header p {
    color: var(--text-gray);

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   FORMULARIO
========================================================= */

.form-group {
    margin-bottom: 22px;
}


.form-group label {
    display: block;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 8px;

    color: var(--text-dark);
}


/* =========================================================
   INPUTS
========================================================= */

.input-container {
    position: relative;

    width: 100%;

    display: flex;

    align-items: center;
}


.input-container input {
    width: 100%;

    height: 54px;

    border-radius: 10px;

    border: 1px solid var(--border);

    background: #F8FAFC;

    padding: 0 48px;

    font-family: inherit;

    font-size: 13px;

    color: var(--black);

    outline: none;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.input-container input::placeholder {
    color: #9AA8B5;
}


.input-container input:focus {
    border-color: var(--blue);

    background: var(--white);

    box-shadow:
        0 0 0 4px rgba(22, 119, 210, 0.10);
}


/* =========================================================
   ICONOS INPUTS
========================================================= */

.input-icon {
    position: absolute;

    left: 17px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 15px;

    z-index: 2;

    opacity: 0.55;

    pointer-events: none;
}


/* =========================================================
   MOSTRAR CONTRASEÑA
========================================================= */

.password-toggle {
    position: absolute;

    right: 14px;

    top: 50%;

    transform: translateY(-50%);

    width: 30px;

    height: 30px;

    display: flex;

    justify-content: center;

    align-items: center;

    border: none;

    background: transparent;

    cursor: pointer;

    font-size: 15px;

    opacity: 0.55;
}


.password-toggle:hover {
    opacity: 0.9;
}


/* =========================================================
   OPCIONES LOGIN
========================================================= */

.login-options {
    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin: 4px 0 25px;

    font-size: 11px;
}


.remember {
    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--text-gray);

    cursor: pointer;
}


.remember input {
    accent-color: var(--blue);

    cursor: pointer;
}


.forgot-password {
    color: var(--blue);

    text-decoration: none;

    font-weight: 600;
}


.forgot-password:hover {
    text-decoration: underline;
}


/* =========================================================
   BOTÓN LOGIN
========================================================= */

.login-button {
    width: 100%;

    height: 55px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #2388E0,
            var(--blue)
        );

    color: var(--white);

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;

    box-shadow:
        0 10px 25px rgba(22, 119, 210, 0.25);
}


.login-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(22, 119, 210, 0.32);
}


.login-button:active {
    transform: translateY(0);
}


/* =========================================================
   MENSAJES LOGIN
========================================================= */

.login-message {
    min-height: 18px;

    margin-top: 14px;

    text-align: center;

    font-size: 12px;
}


/* =========================================================
   FOOTER LOGIN
========================================================= */

.login-footer {
    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    font-size: 10px;

    color: var(--text-gray);
}


.separator {
    color: var(--blue);
}


/* =========================================================
   PANEL DERECHO
========================================================= */

.presentation-panel {
    position: relative;

    min-height: 100vh;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(22, 119, 210, 0.22),
            transparent 30%
        ),

        radial-gradient(
            circle at 30% 80%,
            rgba(67, 169, 232, 0.12),
            transparent 35%
        ),

        #071421;

    display: flex;

    align-items: center;

    padding: 80px;
}


/* =========================================================
   GRID DECORATIVO
========================================================= */

.background-grid {
    position: absolute;

    inset: 0;

    opacity: 0.15;

    background-image:
        linear-gradient(
            rgba(67, 169, 232, 0.25) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(67, 169, 232, 0.25) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    transform:
        perspective(500px)
        rotateX(55deg)
        scale(1.4);

    transform-origin: center;

    pointer-events: none;
}


/* =========================================================
   CÍRCULOS DECORATIVOS
========================================================= */

.floating-circle {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid
        rgba(67, 169, 232, 0.25);

    pointer-events: none;
}


.circle-one {
    width: 340px;
    height: 340px;

    right: -120px;
    top: -80px;
}


.circle-two {
    width: 180px;
    height: 180px;

    left: -80px;
    bottom: 50px;
}


.circle-three {
    width: 90px;
    height: 90px;

    right: 20%;
    bottom: 12%;

    background:
        rgba(22, 119, 210, 0.12);
}


/* =========================================================
   PRESENTACIÓN
========================================================= */

.presentation-content {
    position: relative;

    z-index: 5;

    width: 100%;

    max-width: 620px;
}


/* =========================================================
   ETIQUETA AULA VIRTUAL
========================================================= */

.eyebrow {
    display: inline-block;

    background:
        rgba(22, 119, 210, 0.15);

    border:
        1px solid
        rgba(67, 169, 232, 0.25);

    color: var(--blue-light);

    padding: 8px 14px;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 22px;
}


/* =========================================================
   TITULAR PRINCIPAL
========================================================= */

.presentation-content h2 {
    font-size:
        clamp(42px, 4vw, 66px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -2px;

    margin-bottom: 25px;
}


.presentation-content h2 span {
    display: block;

    color: var(--blue-light);
}


/* =========================================================
   TEXTO PRINCIPAL
========================================================= */

.presentation-content > p {
    max-width: 520px;

    color: #8FA4B8;

    font-size: 15px;

    line-height: 1.8;

    margin-bottom: 42px;
}


/* =========================================================
   FEATURES
========================================================= */

.features {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 38px;
}


.feature {
    padding: 18px;

    background:
        rgba(255, 255, 255, 0.04);

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 14px;

    backdrop-filter: blur(10px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.feature:hover {
    transform: translateY(-3px);

    border-color:
        rgba(67, 169, 232, 0.30);

    background:
        rgba(255, 255, 255, 0.06);
}


.feature-icon {
    font-size: 22px;

    margin-bottom: 12px;
}


.feature strong {
    display: block;

    font-size: 12px;

    margin-bottom: 5px;
}


.feature span {
    display: block;

    color: #758A9E;

    font-size: 9px;

    line-height: 1.5;
}


/* =========================================================
   TAGS
========================================================= */

.platform-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.platform-tags span {
    background:
        rgba(255, 255, 255, 0.04);

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    color: #7891A8;

    border-radius: 6px;

    padding: 7px 11px;

    font-size: 9px;

    font-weight: 600;
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1000px) {

    .login-container {
        grid-template-columns: 1fr;
    }


    .presentation-panel {
        display: none;
    }


    .login-panel {
        min-height: 100vh;

        padding: 25px;
    }


    .login-card {
        max-width: 500px;
    }

}


/* =========================================================
   RESPONSIVE MÓVIL
========================================================= */

@media (max-width: 500px) {

    .login-panel {
        padding: 18px;
    }


    .login-card {
        padding: 30px 22px;

        border-radius: 18px;
    }


    .brand {
        height: 65px;

        margin-bottom: 20px;
    }


    .brand-logo-img,
    .brand > img {
        width: 130px !important;

        max-width: 130px !important;

        max-height: 60px !important;
    }


    .login-header h1 {
        font-size: 26px;
    }


    .login-header p {
        font-size: 13px;
    }


    .login-options {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }


    .login-button {
        height: 52px;
    }

}