/* صفحه‌های ورود، تأیید کد و بازیابی رمز — تبدیل‌شده از src/app/auth/Auth.module.css (پیشوند auth-) */

.auth-page {
  background: #0c0c0e;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  direction: rtl;
  color: #f3f3f3;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
}
.auth-title { font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.auth-subtitle { font-size: 14px; opacity: 0.7; line-height: 1.8; margin: 0 0 22px; }

.auth-tabs { display: flex; gap: 6px; margin-bottom: 20px; }
.auth-tab, .auth-tabActive {
  flex: 1; padding: 10px; border-radius: 10px; font-size: 13px;
  font-family: inherit; cursor: pointer; border: 1px solid rgba(255,255,255,0.16);
  background: transparent; color: rgba(255,255,255,0.65); transition: all .15s ease;
}
.auth-tabActive { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.35); }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label { font-size: 13px; opacity: 0.85; }
.auth-optional { opacity: 0.5; font-size: 12px; }
.auth-hint { font-size: 12px; opacity: 0.55; line-height: 1.7; }

.auth-input, .auth-codeInput {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px; padding: 12px; color: #fff;
  font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .15s ease;
}
.auth-input:focus, .auth-codeInput:focus { border-color: rgba(255,255,255,0.5); }
.auth-codeInput { text-align: center; font-size: 24px; letter-spacing: 8px; }

.auth-submitBtn {
  padding: 14px; border-radius: 12px; border: none;
  background: #fff; color: #111; font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer;
}
.auth-submitBtn:disabled { opacity: 0.55; cursor: default; }

.auth-resendRow {
  display: flex; justify-content: space-between; margin-top: 18px;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1);
}
.auth-linkBtn {
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 13px; font-family: inherit; cursor: pointer;
  text-decoration: underline; padding: 0;
}
.auth-linkBtn:hover { color: #fff; }

.auth-errorBanner {
  background: rgba(255,80,80,0.14); color: #ffb4b4;
  border-radius: 10px; padding: 11px 13px; font-size: 13px;
  line-height: 1.7; margin: 0;
}
.auth-footNote { font-size: 12px; opacity: 0.55; line-height: 1.8; margin: 20px 0 0; }

.auth-inlineLink { color: #d79ae6; text-decoration: underline; text-underline-offset: 3px; }
.auth-backLink {
  display: block; text-align: center; margin-top: 18px;
  font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none;
}
.auth-backLink:hover { color: #fff; }
