/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

/* FUNDO DA PÁGINA */
body {
    height: 100vh;
    background: linear-gradient(135deg, #0a1f44, #122f66);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CARD */
.login-container {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    overflow: hidden; /* IMPORTANTE para o fundo azul respeitar bordas */
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    animation: fadeIn 0.6s ease-in-out;
}

/* ANIMAÇÃO */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ÁREA DA LOGO */
.logo-area {
    background: #0a1f44;
    padding: 30px;
    text-align: center;
}

.logo-area img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}

/* CONTEÚDO */
.login-content {
    padding: 40px;
}

/* TÍTULOS */
.login-content h1 {
    text-align: center;
    margin-bottom: 8px;
    color: #0a1f44;
    font-size: 26px;
}

.login-content p {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 14px;
}

/* FORM */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #0a1f44;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0a1f44;
    box-shadow: 0 0 0 2px rgba(10,31,68,0.15);
}

/* BOTÃO */
.btn-login {
    width: 100%;
    padding: 14px;
    background: #0a1f44;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #122f66;
    transform: translateY(-1px);
}

/* ERRO */
.erro {
    background: #ffe5e5;
    color: #b00020;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

/* RODAPÉ */
.footer {
    text-align: center;
    margin-top: 25px;
    font-size: 12px;
    color: #777;
}

.footer span {
    color: #0a1f44;
    font-weight: 600;
}
