html, body {
    height: 100%;
    margin: 0;
    background-color: #000;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.logo img {
    width: 100%;
    max-width: 270px;
}

/* Capa completa que cubre toda la pantalla */
.loader-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

/* Panel cuadrado centrado */
.loader-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.4);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Spinner animado */
.spinner {
    width: 60px;
    height: 60px;
    border: 8px solid rgba(255, 255, 255, 0.4);
    border-top: 8px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Texto debajo del spinner */
.loader-text {
    font-size: 0.9rem;
    color: #333;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .login-wrapper {
        padding: 1rem;
    }

    .logo img {
        max-width: 200px;
        margin-bottom: 20px;
    }
}

#password-requirements li.valid {
    color: #28a745 !important; /* verde */
}
#password-requirements li.invalid {
    color: #dc3545 !important; /* rojo */
}
#password-match-msg.valid {
    color: #28a745 !important;
}
#password-match-msg.invalid {
    color: #dc3545 !important;
}

