/* =====================================================
   CONFIGURACIÓN GENERAL
===================================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background-color: #f5f7fb;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


/* =====================================================
   CONTENEDOR LOGIN
===================================================== */

.login-container {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 15px;
}


/* =====================================================
   TARJETA LOGIN
===================================================== */

.login-card {
    width: 100%;
    max-width: 430px;

    background-color: #ffffff;

    border-radius: 14px;

    padding: 35px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10);
}


/* =====================================================
   ENCABEZADO
===================================================== */

.login-header {
    text-align: center;

    margin-bottom: 30px;
}


.login-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 18px auto;

    border-radius: 50%;

    background-color: #eaf2ff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 36px;
}


.login-header h1 {
    margin: 0;

    font-size: 28px;

    font-weight: 700;

    color: #212529;
}


.login-header p {
    margin-top: 8px;
    margin-bottom: 0;

    color: #6c757d;

    font-size: 15px;
}


/* =====================================================
   FORMULARIO
===================================================== */

.form-label {
    color: #343a40;
}


.form-control {
    min-height: 46px;

    border-radius: 8px;

    border: 1px solid #ced4da;
}


.form-control:focus {
    border-color: #0d6efd;

    box-shadow:
        0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}


/* =====================================================
   BOTÓN LOGIN
===================================================== */

.btn-login {
    min-height: 48px;

    margin-top: 8px;

    border-radius: 8px;

    font-weight: 600;

    font-size: 16px;
}


/* =====================================================
   MENSAJES
===================================================== */

#mensajeLogin {
    margin-top: 10px;
    margin-bottom: 10px;
}


#mensajeLogin .alert {
    margin-bottom: 0;

    font-size: 14px;
}


/* =====================================================
   ENLACE REGISTRO
===================================================== */

.registro-enlace {
    text-align: center;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #eeeeee;

    color: #6c757d;

    font-size: 14px;
}


.registro-enlace a {
    margin-left: 4px;

    color: #0d6efd;

    font-weight: 600;

    text-decoration: none;
}


.registro-enlace a:hover {
    text-decoration: underline;
}


/* =====================================================
   VOLVER AL MAPA
===================================================== */

.volver-mapa {
    text-align: center;

    margin-top: 18px;
}


.volver-mapa a {
    color: #6c757d;

    font-size: 14px;

    text-decoration: none;
}


.volver-mapa a:hover {
    color: #0d6efd;

    text-decoration: underline;
}


/* =====================================================
   USUARIOS DE PRUEBA
===================================================== */

.usuarios-demo {
    margin-top: 25px;

    padding: 12px;

    background-color: #f8f9fa;

    border-radius: 8px;

    text-align: center;

    color: #6c757d;
}


.usuarios-demo small {
    font-size: 12px;
}


.usuarios-demo code {
    color: #0d6efd;

    background-color: #e9ecef;

    padding: 2px 5px;

    border-radius: 4px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 575.98px) {

    .login-container {
        padding: 20px 12px;
    }


    .login-card {
        padding: 25px 20px;

        border-radius: 12px;
    }


    .login-header h1 {
        font-size: 24px;
    }


    .login-icon {
        width: 65px;
        height: 65px;

        font-size: 30px;
    }

}