* {
    box-sizing: border-box;
}

/* =========================
   CUERPO
   ========================= */

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;

    background-image: url("../img/fondo-laboratorio.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;
    min-height: 100vh;

    color: #17365d;
}


/* =========================
   PÁGINA
   ========================= */

.login-page {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px;

    overflow: hidden;
}


/* =========================
   CONTENEDOR
   ========================= */

.login-container {
    width: 100%;
    max-width: 430px;

    text-align: center;

    position: relative;
    z-index: 10;

    margin: 0 auto;
}


/* =========================
   LOGO
   ========================= */

.logo-laboratorio {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 18px;
}

.logo-laboratorio img {
    width: 260px;
    max-width: 85%;
    height: auto;

    display: block;

    object-fit: contain;
}


/* =========================
   CUADRO PRINCIPAL
   ========================= */

.login-box {
    background: #ffffff;

    width: 100%;

    padding: 30px 32px 26px;

    border: 1px solid #dfe5e9;
    border-radius: 4px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}


/* =========================
   ENCABEZADO
   ========================= */

.login-header {
    margin-top: 0;
    margin-bottom: 26px;
}

.icono-usuario {
    width: 50px;
    height: 50px;

    margin: 0 auto 10px;

    border-radius: 50%;

    background: #eaf2ff;

    color: #155dcc;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 24px;
}

.login-header h1 {
    margin: 0;

    color: #1555b5;

    font-size: 27px;

    font-weight: 600;

    letter-spacing: 0;
}

.login-header p {
    margin: 7px 0 0;

    color: #718096;

    font-size: 14px;
}


/* =========================
   CAMPOS
   ========================= */

.campo {
    text-align: left;

    margin-bottom: 18px;
}

.campo label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: 600;

    color: #263b53;
}


/* =========================
   INPUT
   ========================= */

.input-container {
    position: relative;

    width: 100%;
}

.input-container input {
    width: 100%;

    height: 44px;

    padding: 0 42px;

    border: 1px solid #cfd8de;

    border-radius: 4px;

    background: #ffffff;

    color: #263b53;

    font-family: "Segoe UI", Arial, sans-serif;

    font-size: 14px;

    outline: none;

    transition: border-color 0.2s ease;
}

.input-container input::placeholder {
    color: #9aa9ba;
}

.input-container input:focus {
    border-color: #1976a8;
}


/* =========================
   ICONOS INPUT
   ========================= */

.input-icon {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: #7b91aa;

    font-size: 15px;

    z-index: 2;
}

.mostrar-password {
    position: absolute;

    right: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: #718096;

    font-size: 14px;

    cursor: pointer;
}


/* =========================
   BOTÓN
   ========================= */

button {
    width: 100%;

    height: 44px;

    margin-top: 4px;

    border: none;

    border-radius: 4px;

    background: #1976a8;

    color: white;

    font-family: "Segoe UI", Arial, sans-serif;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: background 0.2s ease;
}

button:hover {
    background: #15658f;
}

button:active {
    background: #125775;
}


/* =========================
   RECUPERAR CONTRASEÑA
   ========================= */

.recuperar {
    display: block;

    margin-top: 16px;

    color: #1976a8;

    font-size: 13px;

    text-decoration: none;
}

.recuperar:hover {
    text-decoration: underline;
}


/* =========================
   ACCESO RESTRINGIDO
   ========================= */

.acceso {
    margin-top: 22px;

    padding-top: 17px;

    border-top: 1px solid #e5eaf0;

    color: #718096;

    font-size: 12px;
}

.acceso span {
    margin-right: 6px;
}


/* =========================
   FOOTER
   ========================= */

footer {
    margin-top: 16px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 11px;

    text-align: center;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 600px) {

    body {
        background-position: center center;
        background-attachment: scroll;
    }

    .login-page {
        padding: 20px;
    }

    .login-container {
        max-width: 400px;
    }

    .logo-laboratorio img {
        width: 220px;
        max-width: 80%;
    }

    .login-box {
        padding: 28px 25px 24px;
    }

    .login-header h1 {
        font-size: 25px;
    }
}


/* =========================
   PANTALLAS BAJAS
   ========================= */

@media (max-height: 750px) {

    .login-page {
        align-items: flex-start;

        padding-top: 25px;
    }

    .logo-laboratorio {
        margin-bottom: 12px;
    }

    .logo-laboratorio img {
        width: 200px;
    }
}