/* --- RESET & FONTS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    /* BG do Universo Imersivo */
    background-image: url('../static/Assets/Parallax-bg.png'); 
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    height: 100vh;
    overflow: hidden; /* Remove barras de rolagem */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MAIN LAYOUT --- */
main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- CONTAINER DE VIDRO (LOGIN) --- */
.login-container {
    background: rgba(16, 24, 45, 0.75); /* Fundo escuro translúcido */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(76, 175, 80, 0.3); /* Borda sutil verde */
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    /* Animação suave de entrada */
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- LOGO --- */
.logo {
    max-width: 150px; 
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

/* --- TEXTOS --- */
h1 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 30px;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #4CAF50;
}

/* --- ALERTS --- */
.alerts {
    width: 100%; 
    margin-bottom: 20px; 
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px; 
    font-weight: 600;
    font-size: 0.9rem;
}

.alert.alert-success {
    background-color: rgba(76, 175, 80, 0.2); 
    border: 1px solid #4CAF50;
    color: #69f0ae;
}

.alert.alert-danger {
    background-color: rgba(244, 67, 54, 0.2); 
    border: 1px solid #ff5252;
    color: #ff8a80;
}

/* --- FORMULÁRIO --- */
form {
    display: flex;
    flex-direction: column;
    width: 100%; 
}

label {
    text-align: left;
    margin-bottom: 8px;
    color: #4CAF50;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input {
    padding: 12px 15px;
    margin-bottom: 25px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.4); 
    color: #fff;
    font-size: 1rem;
    outline: none;
    font-family: "Montserrat", sans-serif;
    transition: 0.3s;
}

input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.2);
    background-color: rgba(0, 0, 0, 0.6);
}

/* --- BOTÃO --- */
.submit-button {
    padding: 12px;
    background-color: transparent; 
    color: #4CAF50; 
    border: 2px solid #4CAF50;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-top: 10px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.1);
}

.submit-button:hover {
    background-color: #4CAF50;
    color: #000;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
    transform: scale(1.02);
}