﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "Poppins", sans-serif;
    background: url('../uploads/banner-login.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Glass container */
.login-section {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: #fff;
    text-align: center;
    animation: fadeIn 0.7s ease-in-out;
}

.login-card h2 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}

.login-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: #eee;
}

.input-group {
    margin-bottom: 1.5rem;
}

    .input-group input {
        width: 100%;
        padding: 0.8rem 1rem;
        border-radius: 30px;
        border: none;
        outline: none;
        font-size: 1rem;
        background-color: rgba(255, 255, 255, 0.8);
        color: #333;
    }

        .input-group input::placeholder {
            color: #555;
        }

.btn-login {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 30px;
    background-color: #8B5CF6;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-login:hover {
        background-color: #7c3aed;
    }

/* 🔔 Error Notification */
.notification {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e63946;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: top 0.5s ease;
    z-index: 999;
}

    .notification.show {
        top: 20px;
    }

/* Animación */
@keyframes fadeIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .login-section {
        margin: 1rem;
    }
}
