/* Estilos globales */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('../imagenes/bg.jpg') no-repeat center center/cover;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
}

/* Contenedor del login */
.login-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    width: 320px;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para los campos de entrada */
.login-container input {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.7);
    outline: none;
    font-size: 1rem;
    color: #000;
}

.login-container input::placeholder {
    color: #555;
}

/* Botón de envío estilo Coca-Cola */
.login-container button {
    width: 100%;
    padding: 0.8rem;
    margin-top: 1rem;
    background: linear-gradient(135deg, #d50000, #ff1744);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.login-container button:hover {
    transform: scale(1.05);
    background: #c40000;
}

/* Mensaje de error */
.error {
    color: #ff4d4d;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Botón adicional para solicitar usuario */
.request-user {
    margin-top: 1.5rem;
}

.request-user button {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 2px solid #ff1744;
    border-radius: 25px;
    color: #ff1744;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.request-user button:hover {
    background: #ff1744;
    color: white;
    transform: scale(1.05);
}

/* Título estilizado */
h2 {
    color: #ff1744;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .login-container {
        width: 90%;
    }
}
