/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, sans-serif;
}

/* FONDO */
body {
    color: #fff;
    overflow: hidden;
}

.background {
    position: fixed;
    width: 100%;
    height: 100%;
     background: var(--login-bg) no-repeat center center / cover;
    z-index: -2;
}

.overlay {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    /*backdrop-filter: blur(3px);*/
    position: absolute;
    z-index: -1;
}

/* TARJETA LOGIN */
.login-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    background: rgba(255,255,255,0.10);
    padding: 35px 30px;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    text-align: center;
}

/* TÍTULO */
.title {
    font-size: 1.9em;
    margin-bottom: 25px;
    font-weight: 600;
    color: #ffffff;
}

/* INPUTS */
.input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    margin-bottom: 15px;
    outline: none;
    font-size: 1em;
    background: rgba(255,255,255,0.75);
    color: #000;
}

/* BOTÓN LOGIN */
.btn-login {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: linear-gradient(135deg, #2677d8, #0A4A92);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

.btn-login:hover {
    background: linear-gradient(135deg, #0A4A92, #2677d8);
}

/* FOOTER */
.footer {
    margin-top: 15px;
    font-size: 0.85em;
    color: #ddd;
}

/* CAPTCHA */
.captcha-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.captcha-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /*background: #fff;*/
    padding: 6px;
    border-radius: 10px;
}

.captcha-image {
    height: 48px;
    border-radius: 6px;
    cursor: pointer;
}

.captcha-refresh {
    background: #0A4A92;
    color: #fff;
    border: none;
    padding: 0 12px;
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: 0.25s;
}

.captcha-refresh:hover {
    background: #3A79C9;
}

.login-card {
    width: 420px;
    max-width: 90%;
    background: rgba(255,255,255,0.10);
    padding: 35px 30px;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    text-align: center;

    /* 🔥 ESTO ES LO QUE FALTABA PARA CENTRAR Y QUE NO SE EXPANDA */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
