/* Login - Viva Higienizado */

/* Centralização geral */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0px 0px 18px rgba(0,0,0,0.12);
}

/* Logo */
.login-logo img {
    width: 150px;
    display: block;
    margin: 0 auto 10px auto;
}

.divisor {
    width: 70%;
    margin: 20px auto;
    border: none;
    height: 2px;
    background: #1D4F73;
    opacity: 0.7;
}

/* Título */
.login-title {
    text-align: center;
    color: #1D4F73;
    margin-bottom: 25px;
}

/* Formulário */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-weight: bold;
    color: #1D4F73;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: #f3f6f9;
    border: 1px solid #cfd9e1;
    border-radius: 8px;
    transition: 0.2s ease;
    font-size: 1rem;
}

.form-group input:focus {
    border-color: #1D4F73;
    box-shadow: 0 0 5px rgba(29,79,115,0.4);
    background: #ffffff;
}

/* Campo senha + ícone */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
    font-size: 1.1rem;
}

/* Botão */
.btn-login {
    width: 100%;
    padding: 14px;
    background: #206A8D;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: #1D4F73;
}

/* Registro */
.register-text {
    margin-top: 20px;
    text-align: center;
}

.register-text a {
    color: #206A8D;
    text-decoration: none;
    font-weight: bold;
}

.register-text a:hover {
    text-decoration: underline;
}

/* Mensagens Django */
.messages p {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: center;
}

.messages .error {
    background: #ffdddd;
    color: #a00;
}

.messages .success {
    background: #ddffdd;
    color: #080;
}

