.auth-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex; align-items: center; justify-content: center; z-index: 10000;
}
.auth-container {
  background: white; border-radius: 16px; padding: 2.5rem;
  max-width: 460px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.auth-env-badge {
  display: block; text-align: center; font-size: 0.85rem; font-weight: 600;
  padding: 4px 12px; border-radius: 6px; margin: 0 auto 1.5rem; width: fit-content;
}
.env-dev .auth-env-badge { background: #d4edda; color: #155724; }
.env-staging .auth-env-badge { background: #fff3cd; color: #856404; }
.env-prod .auth-env-badge { display: none; }
.auth-title {
  font-size: 1.5rem; font-weight: 700; text-align: center;
  margin-bottom: 0.5rem; color: #1a202c;
}
.auth-subtitle { text-align: center; color: #718096; font-size: 0.9rem; margin-bottom: 1.5rem; }
.auth-error {
  color: #e53e3e; font-size: 0.875rem; margin-bottom: 1rem;
  text-align: center; display: none;
}
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #4a5568; font-size: 0.9rem; }
.auth-input {
  width: 100%; padding: 0.75rem; border: 1px solid #e2e8f0;
  border-radius: 8px; font-size: 1rem; box-sizing: border-box;
  margin-bottom: 0.5rem;
}
.auth-input:focus { outline: none; border-color: #c2185b; box-shadow: 0 0 0 2px rgba(194,24,91,0.15); }
.auth-button {
  width: 100%; padding: 0.875rem; background: #c2185b; color: white;
  border: none; border-radius: 8px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.auth-button:hover { background: #ad1457; }
.auth-button:disabled { background: #cbd5e0; cursor: not-allowed; }
.auth-pwd-wrap {
  position: relative;
}
.auth-pwd-wrap .auth-input { padding-right: 2.5rem; }
.auth-pwd-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 4px;
  color: #a0aec0; display: flex; align-items: center;
}
.auth-pwd-toggle:hover { color: #4a5568; }
.auth-pwd-toggle svg { width: 20px; height: 20px; }
.auth-newpwd { display: none; }
.auth-newpwd.show { display: block; }
.auth-newpwd-hint { font-size: 0.75rem; color: #9ca3af; margin-top: 0.25rem; }
.auth-forgot { text-align: center; margin-top: 0.5rem; }
.auth-forgot a { color: #c2185b; text-decoration: none; font-size: 0.875rem; }
.auth-forgot a:hover { text-decoration: underline; }
.auth-info { margin-top: 16px; font-size: 0.8rem; color: #718096; line-height: 1.6; text-align: center; }
.auth-info a { color: #c2185b; text-decoration: none; }
.auth-info a:hover { text-decoration: underline; }
@media (max-width: 480px) { .auth-container { padding: 1.5rem; } }
