/* ===== CONTENEDOR PRINCIPAL ===== */
.form-container {
    color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    background-color: rgba(50, 64, 77, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
}

/* ===== GRUPOS DE INPUTS MATERIAL ===== */
.group-material-login {
    position: relative;
    margin-bottom: 25px;
}

/* ===== INPUTS ===== */
.material-login-control {
    background-color: transparent;
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    outline: none;
    color: #fff;
    transition: border-color 0.3s ease;
}

.material-login-control:focus {
    border-bottom-color: #fff;
}

/* ===== LABELS FLOTANTES ===== */
.group-material-login label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: all 0.3s ease;
}

/* Estado activo del label */
.material-login-control:focus ~ label,
.material-login-control:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #fff;
}

/* ===== BARRA ANIMADA INFERIOR ===== */
.bar-login {
    position: relative;
    display: block;
    width: 100%;
}

.bar-login::before,
.bar-login::after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0;
    position: absolute;
    background: #fff;
    transition: width 0.3s ease;
}

.bar-login::before {
    left: 50%;
}

.bar-login::after {
    right: 50%;
}

.material-login-control:focus ~ .bar-login::before,
.material-login-control:focus ~ .bar-login::after {
    width: 50%;
}

/* ===== BOTONES ===== */
.btn-login {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-login:hover {
    background-color: #fff;
    color: rgba(50, 64, 77, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

/* Botón de administrador (icono) */

.info-admin {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Botón administrador */
.btn-login[onclick*="admin.php"] {
    width: 80px;
    height: 80px;
    padding: 0;
    border-radius: 50%;
    font-size: 28px;
    margin: 5px;

    /* Centrar el ícono */
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

/* Botón Digitador */
.btn-login[onclick*="index.php"] {
    width: 80px;
    height: 80px;
    padding: 0;
    border-radius: 50%;
    font-size: 28px;
    margin: 5px;

    /* Centrar el ícono */
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

/* ===== SELECT PERSONALIZADO ===== */
.material-control-login {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
    .form-container {
        padding: 30px 20px;
        width: 95%;
    }
  
}