/* ============================================= */
/* AUTENTICAÇÃO E PERFIL (auth.css)              */
/* ============================================= */

/* --- TELA DE LOGIN --- */
#login-section { display: flex; justify-content: center; align-items: center; height: 100vh; }
.login-container { background: white; padding: 25px; width: 350px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); border-radius: 8px; text-align: center; }
.login-container h2 { color: #0963AE; text-align: center; font-weight: bold; }
input.login { width: 100%; padding: 10px; margin: 10px 0; border: 1px solid #ccc; border-radius: 4px; }
button.login { width: 100%; padding: 10px; background: #0963AE; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; }
button.login:hover { background: #001f5b; }
.remember-me { display: flex; align-items: center; justify-content: left; margin: 10px 0; }
.remember-me input { width: auto; margin-right: 8px; }
.error-message { color: red; font-size: 14px; display: none; margin-bottom: 10px; }
.loading { display: none; margin-top: 10px; }

/* Ajustes dos Logos de Login */
.login-logo { display: block; margin: 0 auto; max-width: 200px; height: auto; }
.logo { margin-top: 14px; max-height: 35px; }

/* Link de Recuperação de Senha */
.forgot-password-link { display: inline-block; margin-top: 15px; color: var(--azul); text-decoration: none; font-weight: bold; font-size: 14px; }
.forgot-password-link:hover { text-decoration: underline; color: #002c85; }

/* --- INPUTS COM OLHINHO (MOSTRAR/OCULTAR SENHA) --- */
/* Para a TELA DE LOGIN */
.password-container { display: flex; align-items: center; position: relative; border: 1px solid #ccc; border-radius: 4px; background-color: white; width: 100%; margin: 10px 0; }
.password-container input.login { flex-grow: 1; border: none; outline: none; padding: 10px 45px 10px 10px; margin: 0; background-color: transparent; }
.password-container .toggle-password { width: 24px; height: 24px; background-size: contain; background-repeat: no-repeat; background-position: center; cursor: pointer; margin-right: 10px; flex-shrink: 0; background-image: url('../Imagens/nao_ver.png'); user-select: none; }
.password-container .toggle-password.visible { background-image: url('../Imagens/ver.png'); }

/* Para MODAIS e FORMS DE RESET */
input.login.password-toggle-target { padding-right: 40px; box-sizing: border-box; }
input.form-control.password-toggle-target { padding-right: 40px; box-sizing: border-box; }
.toggle-password { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); cursor: pointer; width: 24px; height: 24px; background-size: contain; background-repeat: no-repeat; background-position: center; user-select: none; background-image: url('../Imagens/nao_ver.png'); z-index: 2; }
.toggle-password.visible { background-image: url('../Imagens/ver.png'); }
.form-group .toggle-password { top: 70%; }
input.login.password-toggle-target + .toggle-password { top: 50%; }


/* --- MEU PERFIL --- */
.profile-details { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.profile-details .detail-item { background: #f9f9f9; padding: 15px; border-radius: 6px; border-left: 4px solid var(--azul); }
.profile-details .detail-item label { font-weight: bold; color: #555; font-size: 0.9em; display: block; margin-bottom: 5px; }
.profile-details .detail-item p { font-size: 1.1em; color: #333; word-wrap: break-word; }
.profile-details .full-width { grid-column: 1 / -1; }