* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 24px;
    position: relative;
    color: white;
}

#titulo-credenciales{
font-weight: 400;
}

/* VIDEO FONDO */

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

/* OVERLAY OSCURO + AZUL */

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background:
       rgba(0, 0, 0, 0.499);

    z-index: -2;
}

/* BLUR GENERAL */

body::after {
    content: "";
    position: fixed;
    inset: 0;
   
    z-index: -1;
}

/* LOGIN CONTAINER */

.login-container {
    width: 100%;
    max-width: 430px;

    padding: 38px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);

    border: 1px solid rgba(255, 255, 255, 0.22);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    position: relative;
}

/* TITULO */

.login-container h1 {
    text-align: center;
    margin-bottom: 28px;

    font-size: 30px;
    font-weight: 490;
    letter-spacing: -0.05em;

    color: #ffffff;

    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ERROR */

.error-message {
    margin-bottom: 18px;

    padding: 14px 16px;

    border-radius: 16px;

    background: rgba(254, 226, 226, 0.9);

    color: #991b1b;

    font-size: 14px;
    font-weight: 700;

    text-align: center;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* FORM */

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* LABEL */

.login-container label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 700;

    color: rgba(255, 255, 255, 0.92);
}

/* INPUT */

.login-container input {
    width: 100%;
    height: 52px;

    padding: 0 16px;

    border-radius: 18px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 15px;

    outline: none;

    transition: 0.25s ease;
}

/* PLACEHOLDER */

.login-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* INPUT FOCUS */

.login-container input:focus {
    border-color: rgba(255, 255, 255, 0.75);

    background: rgba(255, 255, 255, 0.18);

    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.2),
        0 10px 25px rgba(59, 130, 246, 0.15);

    transform: translateY(-1px);
}

/* BOTON */

.login-container button[type="submit"] {
    width: 100%;
    height: 54px;

    margin-top: 8px;

    border: none;
    border-radius: 18px;

    background: linear-gradient(
        135deg,
        #ffffff,
        #dbeafe
    );

    color: #075985;

    font-size: 16px;
    font-weight: 850;

    cursor: pointer;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.28);

    transition: 0.25s ease;
}

/* HOVER BOTON */

.login-container button[type="submit"]:hover {
    transform: translateY(-2px);

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.35);
}

/* ACTIVE BOTON */

.login-container button[type="submit"]:active {
    transform: scale(0.985);
}

/* LINK RECUPERAR */

.forgot-link {
    display: block;

    margin-top: 22px;

    text-align: center;

    color: rgba(255, 255, 255, 0.85);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.25s ease;
}

/* HOVER LINK */

.forgot-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* EFECTO BRILLO */

.login-container::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    );
}

/* RESPONSIVE */

@media (max-width: 520px) {

    body {
        padding: 18px;
    }

    .login-container {
        padding: 28px;
        border-radius: 26px;
    }

    .login-container h1 {
        font-size: 32px;
    }

}