/* =========================================
   GENERAL
========================================= */

* {

    box-sizing: border-box;

}


body {

    margin: 0;

    min-height: 100vh;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    background: #111;

}


/* =========================================
   CONTENEDOR
========================================= */

.login-container {

    display: flex;

    width: 100%;

    min-height: 100vh;

}


/* =========================================
   PRESENTACIÓN
========================================= */

.login-presentacion {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 52%;

    min-height: 100vh;

    padding: 60px;

    background:

        linear-gradient(
            rgba(10,10,10,0.94),
            rgba(10,10,10,0.94)
        ),

        url("../img/login.jpg");

    background-size: cover;

    background-position: center;

}


/* DECORACIÓN */

.login-presentacion::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 5px;

    height: 100%;

    background: #b9975b;

}


/* CONTENIDO */

.presentacion-contenido {

    position: relative;

    max-width: 520px;

    color: #fff;

}


/* LOGO */

.logo-login {

    color: #b9975b;

    font-size: 42px;

    font-weight: 700;

    letter-spacing: 6px;

}


/* LÍNEA */

.linea-dorada {

    width: 70px;

    height: 3px;

    margin: 25px 0;

    background: #b9975b;

}


/* TÍTULO */

.presentacion-contenido h1 {

    margin-bottom: 20px;

    font-size: 42px;

    font-weight: 600;

}


/* TEXTO */

.presentacion-contenido p {

    max-width: 450px;

    color: #aaa;

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================
   ICONOS PRESENTACIÓN
========================================= */

.presentacion-iconos {

    display: flex;

    gap: 35px;

    margin-top: 45px;

}


.presentacion-iconos div {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.presentacion-iconos i {

    color: #b9975b;

    font-size: 25px;

}


.presentacion-iconos span {

    color: #ccc;

    font-size: 12px;

}


/* =========================================
   FORMULARIO
========================================= */

.login-formulario {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48%;

    min-height: 100vh;

    padding: 50px;

    background: #f8f8f8;

}


.login-box {

    width: 100%;

    max-width: 430px;

}


/* =========================================
   TITULO
========================================= */

.login-titulo {

    margin-bottom: 35px;

}


.login-titulo span {

    color: #b9975b;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}


.login-titulo h2 {

    margin: 8px 0;

    color: #111;

    font-size: 32px;

    font-weight: 700;

}


.login-titulo p {

    margin: 0;

    color: #888;

    font-size: 14px;

}


/* =========================================
   CAMPOS
========================================= */

.campo-login {

    margin-bottom: 22px;

}


.campo-login label {

    display: block;

    margin-bottom: 8px;

    color: #333;

    font-size: 13px;

    font-weight: 600;

}


.input-login {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    height: 52px;

    background: #fff;

    border: 1px solid #ddd;

    transition: all 0.3s ease;

}


.input-login:focus-within {

    border-color: #b9975b;

    box-shadow:
        0 0 0 3px rgba(185,151,91,0.10);

}


.input-login > i {

    width: 50px;

    text-align: center;

    color: #b9975b;

    font-size: 17px;

}


.input-login input {

    flex: 1;

    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: #222;

    font-size: 14px;

}


.input-login input::placeholder {

    color: #aaa;

}


/* =========================================
   MOSTRAR PASSWORD
========================================= */

.mostrar-password {

    width: 50px;

    height: 100%;

    border: none;

    background: transparent;

    color: #888;

    cursor: pointer;

}


.mostrar-password:hover {

    color: #b9975b;

}


/* =========================================
   OPCIONES
========================================= */

.login-opciones {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin: 5px 0 25px;

    font-size: 12px;

}


.login-opciones label {

    display: flex;

    align-items: center;

    gap: 7px;

    color: #777;

}


.login-opciones input {

    accent-color: #b9975b;

}


.login-opciones a {

    color: #b9975b;

    text-decoration: none;

}


.login-opciones a:hover {

    text-decoration: underline;

}


/* =========================================
   BOTÓN LOGIN
========================================= */

.btn-login {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    height: 54px;

    padding: 0 22px;

    border: none;

    background: #111;

    color: #fff;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

}


.btn-login i {

    color: #b9975b;

    font-size: 18px;

}


.btn-login:hover {

    background: #b9975b;

}


.btn-login:hover i {

    color: #fff;

}


/* =========================================
   MENSAJE
========================================= */

.mensaje-login {

    min-height: 20px;

    margin-top: 15px;

    color: #d9534f;

    text-align: center;

    font-size: 13px;

}


/* =========================================
   FOOTER
========================================= */

.login-footer {

    margin-top: 45px;

    padding-top: 20px;

    border-top: 1px solid #ddd;

    color: #aaa;

    text-align: center;

    font-size: 11px;

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .login-presentacion {

        display: none;

    }


    .login-formulario {

        width: 100%;

        padding: 30px 20px;

    }


    .login-box {

        max-width: 430px;

    }

}


@media (max-width: 500px) {

    .login-formulario {

        padding: 25px 18px;

    }


    .login-titulo h2 {

        font-size: 28px;

    }


    .login-opciones {

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

    }

}