/* ============================================================
   AUTH PAGES CSS — Login, Registro, Recuperação de Senha
   ============================================================ */
:root { --primary: #1C2011; --text-green: #1B6F00; --accent: #3772C0; --secondary: #E4B505; --radius: 8px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body.auth-body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, #0d5016 0%, #1a7a24 50%, #0d5016 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-container { width: 100%; max-width: 460px; }
.auth-card { background: white; border-radius: 16px; padding: 40px 36px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo img { max-height: 55px; }
.auth-logo h2 { font-size: 18px; color: #333; margin-top: 8px; }
h3 { font-size: 22px; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 6px; }
.auth-desc { font-size: 13px; color: #666; text-align: center; margin-bottom: 24px; line-height: 1.5; }
.auth-form { margin-top: 10px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: #444; margin-bottom: 5px; }
.form-control { width: 100%; padding: 12px 14px; border: 1.5px solid #e0e0e0; border-radius: var(--radius); font-size: 14px; font-family: 'Poppins', sans-serif; transition: border-color .2s, box-shadow .2s; }
.form-control:focus { outline: none; border-color: var(--text-green); box-shadow: 0 0 0 3px rgba(27,111,0,0.08); }
.form-control.is-invalid { border-color: #e74c3c; }
.form-control::placeholder { color: #bbb; }
.invalid-feedback { color: #e74c3c; font-size: 12px; margin-top: 4px; display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.checkbox-label { font-size: 13px; display: flex; align-items: center; gap: 6px; cursor: pointer; color: #555; }
.checkbox-label a { color: var(--accent); }
.link-sm { font-size: 13px; color: var(--accent); text-decoration: none; }
.link-sm:hover { text-decoration: underline; }

/* Botão principal */
.btn-auth-primary { display: block; width: 100%; padding: 13px; background: var(--text-green); color: white; border: none; border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; font-family: 'Poppins', sans-serif; transition: background .2s; }
.btn-auth-primary:hover { background: #155c00; }

/* Divider */
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e8e8e8; }
.auth-divider span { font-size: 12px; color: #aaa; }

/* Alt link */
.auth-alt { text-align: center; font-size: 14px; color: #666; }
.auth-alt a { color: var(--text-green); text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }

/* Footer */
.auth-footer { text-align: center; margin-top: 20px; }
.auth-footer a { color: rgba(255,255,255,0.8); font-size: 13px; text-decoration: none; }
.auth-footer a:hover { color: white; }

/* Alerts */
.alert { padding: 11px 14px; border-radius: 8px; margin-bottom: 18px; font-size: 13px; }
.alert-success { background: #d4edda; color: #155724; }
.alert-danger { background: #f8d7da; color: #721c24; }

@media (max-width: 480px) {
    .auth-card { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; }
    h3 { font-size: 20px; }
}
