body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #fff;
    overflow-y: auto; /* Habilitar scroll */
}

.background-container {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(0.5);
    animation: ken-burns 40s infinite;
}

@keyframes ken-burns {
    0%, 100% { transform: scale(1) rotate(-2deg); }
    50% { transform: scale(1.2) rotate(2deg); }
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.login-box {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.title {
    font-size: 2.2rem;
    font-weight: 700;
    color: hsl(0, 84%, 60%);
    margin-bottom: 0.4rem;
}

.subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.8rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.2rem;
}

.input-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
    font-family: 'Poppins', 'Font Awesome 6 Pro';
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.input-group input:focus {
    outline: none;
    border-color: hsl(0, 84%, 60%);
}

.btn-login {
    width: 100%;
    padding: 0.9rem;
    background: hsla(0, 84%, 60%, 0.8); /* Color con transparencia */
    border: 1px solid hsla(0, 84%, 60%, 0.9);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    transform: translateY(-3px);
    background: hsl(0, 84%, 60%);
    box-shadow: 0 6px 20px hsla(0, 84%, 60%, 0.4);
}

.error-message {
    color: #ff4d4d;
    margin-top: 1rem;
    min-height: 1.2rem;
    font-size: 0.9rem;
}
