/* ===============================
   RESET Y BASE
================================ */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Fondo borroso usando pseudo-elemento */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/crucigrama_sena.png'); /* ruta de tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px) brightness(0.6); /* borroso y más oscuro */
    z-index: -1; /* detrás de todo */
}

/* ===============================
   CONTENEDOR REGISTRO
================================ */
.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 20px;

    /* Fondo semitransparente para resaltar el formulario */
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1; /* encima del fondo */
}

/* ===============================
   LOGIN INTERNO
================================ */
.login-container {
    padding: 30px 25px;
}

h3 {
    color: #1e3a8a;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ===============================
   INPUTS Y BOTÓN
================================ */
.form-control {
    border-radius: 8px;
    height: 45px;
    font-size: 15px;
    background-color: rgba(255,255,255,0.95);
    border: 1px solid #ccc;
    color: #000;
}

.btn-login {
    background-color: #1e3a8a;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    height: 45px;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: #374fc3;
}

/* LINKS */
.login-container a {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 14px;
}

.login-container a:hover {
    text-decoration: underline;
}

/* ===============================
   OJO CONTRASEÑA
================================ */
.password-container {
    position: relative;
}

.password-container input {
    padding-right: 40px;
    background-color: rgba(255,255,255,0.95);
    color: #000;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    fill: #555;
}

.toggle-password:hover {
    fill: #000;
}
