body {
background: #FFFFFF url("../img/fundo.png") no-repeat center center fixed;
background-size: cover;
position: relative;
font-family: "Roboto", sans-serif;
margin: 0;
height: 100vh; /* Garante que o body ocupe 100% da altura da tela */
}

body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(30, 58, 95, 0.7) 0%, rgba(196, 154, 63, 0.5) 100%);
z-index: 0;
}

.login {
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 20px;
}

.form {
position: relative;
z-index: 1;
background: #F8F8F8;
max-width: 360px;
width: 100%;
padding: 45px;
text-align: center;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.form img {
display: block;
margin: 0 auto 20px auto;
max-width: 180px;
height: auto;
}

.form input {
font-family: "Roboto", sans-serif;
outline: 0;
background: #FFFFFF;
width: 100%;
border: 1px solid #E0E0E0;
border-radius: 5px;
margin: 0 0 15px;
padding: 15px;
box-sizing: border-box;
font-size: 14px;
transition: border 0.3s;
}

.form input:focus {
border-color: #C49A3F;
}

.form button {
font-family: "Roboto", sans-serif;
text-transform: uppercase;
outline: 0;
background: #C49A3F;
width: 100%;
border: 0;
border-radius: 5px;
padding: 15px;
color: #FFFFFF;
font-size: 14px;
transition: background 0.3s ease, transform 0.2s;
cursor: pointer;
}

.form button:hover,
.form button:active,
.form button:focus {
background: #E7C76E;
transform: scale(1.02);
}

.form a {
display: block;
margin-top: 15px;
font-size: 12px;
color: #1E3A5F;
text-decoration: none;
transition: color 0.3s;
}

.form a:hover {
color: #C49A3F;
}

/* RESPONSIVIDADE */
@media (max-width: 480px) {
.form {
padding: 30px 20px;
max-width: 90%;
}

.form img {
    max-width: 140px;
}

.form input,
.form button {
    font-size: 13px;
    padding: 12px;
}

}

@media (max-width: 320px) {
.form {
padding: 20px 15px;
}

.form img {
    max-width: 120px;
}

.form input,
.form button {
    font-size: 12px;
    padding: 10px;
}

}