/* ===============================
   🔵 FONDO Y ESTRUCTURA GENERAL
================================ */

body {
    margin: 0;
    padding: 0;
    background: url('/static/fondo.jpg') center center no-repeat;
    background-size: cover;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
}

.background-blur {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.10)),
        rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(12px);
    z-index: 1;
}

.main-container {
    position: relative;
    z-index: 10;
    max-width: 450px;
    margin: 20px auto;
    padding: 0 24px;
    text-align: center;
    color: white;
}

/* ===============================
   🔵 LOGO + TÍTULOS
================================ */

.logo {
    width: 330px;
    margin-top: calc(var(--safe-top) + 40px);
    margin-bottom: -70px;
    filter:
        drop-shadow(0 0 12px rgba(0, 150, 255, 0.45)) drop-shadow(0 0 22px rgba(0, 150, 255, 0.25));
}

.title {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.subtitle {
    font-size: 20px;
    opacity: 0.85;
    margin-bottom: 15px;
}

/* ===============================
   🔵 TARJETA LOGIN
================================ */

.login-card {

    background: rgba(0, 0, 0, 0.32);
    padding: 30px 28px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
    margin-top: 10px;
}

.login-card label {
    display: block;
    text-align: center;
    font-size: 20px;
    color: #8fd7ff;
    font-weight: 600;
    margin-bottom: 6px;
}

.login-card input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 20px;
    margin-bottom: 28px;
}

.login-card input:focus {
    background: rgba(255, 255, 255, 0.30);
    border-color: rgba(255, 255, 255, 0.6);
}

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

.login-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00aaff, #00ccff);
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.login-btn:hover {
    background: linear-gradient(135deg, #00c4ff, #00e0ff);
}

/* ===============================
   🔵 MENSAJES
================================ */

.error-msg {
    color: #ff8080;
    margin-bottom: 8px;
}

.pin-help {
    font-size: 0.85rem;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    margin-top: -10px;
}

.pin-help a {
    color: white;
    text-decoration: underline;
}

/* ===============================
   🔵 RESPONSIVE MOBILE
================================ */

@media (max-width: 600px) {

    .logo {
        width: 260px;
    }

    .main-container {
        max-width: 100%;
        margin-top: 10px;
        padding: 0 14px;
    }

    .login-card {
        padding: 24px 20px;
    }
}

/* ===============================
   🔵 TEXTO INFORMATIVO BAJO EL BOTÓN
================================ */

.info-msg {
    margin-top: 25px;
    /* 🔥 ajusta este valor para separarlo más */
    font-size: 15px;
    color: #ddd;
    text-align: center;
    line-height: 1.4;
}