html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: url('../img/background.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Escurecimento e desfoque no fundo */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
   /* backdrop-filter: blur(3px);*/
    z-index: 0;
}

/* Animações */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* CARD DE LOGIN */
.login-container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 15px;
    max-width: 420px;
    margin: 10% auto;
    padding: 45px 35px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.4);
    text-align: center;
    color: white;
    animation: fadeUp 0.9s ease-out;
}

/* LOGOTIPO */
.login-container img {
    width: 110px;
    margin-bottom: 20px;
    animation: fadeUp 1.2s ease-out;
}

/* TÍTULO */
.login-container h4 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
    font-size: 1.3rem;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* INPUTS */
.form-control {
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 12px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

/* BOTÃO */
.btn-login {
    background-color: #fb6e2b;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 1.05rem;
    padding: 10px 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #e75f18;
    transform: scale(1.04);
}

/* MENSAGEM DE ERRO */
.flash-msg {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #ffaaaa;
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 12px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 0.85rem;
    opacity: 0;
    z-index: 3;
    animation: fadeIn 2s ease-in-out 1.2s forwards;
    letter-spacing: 0.05em;
}