body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
    background: url("../uploads/imagens/bg-2.png") no-repeat center center;
    background-size: cover;
}

/* 🔥 MOBILE AJUSTE */
@media (max-width: 600px) {
    body {
        background-position: 20% center !important;
    }
}

.pagina {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    text-align: center;
}

.logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 50%;
}

@media (max-width: 600px) {
    .logo {
        max-width: 60%;
    }
}


form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
    background: #ffffffe6;
    padding: 30px 20px 30px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

input, select, button {
    padding: 10px;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    border: 1px solid #ccc;
}

button {
    background: #004aad;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #003580;
}

.erro {
    color: red;
    font-size: 0.95rem;
}

.senha-container {
    position: relative;
}

.senha-container input {
    padding-right: 40px;
}

.toggle-senha {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.desenvolvido {
    margin-top: 15px;
    font-size: 0.8rem;
}

.desenvolvido a {
    color: #aaa;
    text-decoration: none;
}

.desenvolvido a:hover {
    color: #666;
}



/* LEMBRAR SENHA */
.lembrar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 5px;
    flex-wrap: nowrap; /* ðŸ”¥ impede quebrar linha */
}

.lembrar input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.lembrar input[type="checkbox"] {
    width: auto !important; /* ðŸ”¥ forÃ§a nÃ£o herdar 100% */
    margin: 0;
}

.lembrar label {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}



.btn-voltar {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 16px;
    background: #004aad;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-voltar:hover {
    background: #003580;
}
