/* auth.css — shared styles for /login, /forgot-password, /reset-password */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #080808;
  color: #E0E0E0;
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
body.ready { opacity: 1; }

.auth-shell { width: 100%; max-width: 440px; padding: 20px; }
.auth-card {
  background: #1A1A1A;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 40px 36px;
}

.auth-logo { text-align: center; margin-bottom: 20px; }
.auth-logo img { width: 56px; height: 56px; border-radius: 12px; }

.auth-title    { text-align: center; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.auth-subtitle { text-align: center; color: #A0A0A0; font-size: 14px; margin-bottom: 24px; }

.auth-group { margin-bottom: 16px; }
.auth-group label { display: block; font-size: 13px; color: #A0A0A0; margin-bottom: 6px; }
.auth-group input {
  width: 100%;
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
  min-height: 44px;
}
.auth-group input:focus { outline: none; border-color: #FF5F15; }
.auth-group input::placeholder { color: #555; }

.auth-btn {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  background: #FF5F15;
  color: #fff;
  transition: opacity 0.15s;
}
.auth-btn:hover  { opacity: 0.9; }
.auth-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.auth-btn-secondary {
  background: transparent;
  color: #E0E0E0;
  border: 1px solid #333;
}

.auth-error {
  background: rgba(255,49,49,0.1);
  border: 1px solid rgba(255,49,49,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: #FF3131;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.auth-error.show { display: block; }

.auth-success {
  background: rgba(0,255,157,0.1);
  border: 1px solid rgba(0,255,157,0.3);
  border-radius: 8px;
  padding: 20px;
  color: #00FF9D;
  font-size: 15px;
  text-align: center;
  line-height: 1.6;
}

.auth-links { margin-top: 18px; text-align: center; font-size: 13px; color: #A0A0A0; }
.auth-links a { color: #FF5F15; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-links .sep { color: #444; margin: 0 8px; }
