/* ===================================================
   EDORAS AKADEMİ — AUTH PAGES (Login / Register)
   Bright white premium auth design
   ================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* === Page background === */
.auth-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 55%, #F0F9FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', system-ui, sans-serif;
  padding: 24px 16px;
}

/* === Wrapper === */
.auth-wrapper {
  width: 100%;
  max-width: 440px;
}

/* === Logo === */
.auth-logo {
  display: block;
  max-height: 44px;
  margin: 0 auto 28px;
}

/* === Card === */
.auth-card {
  background: #FFFFFF;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.10);
  animation: authFadeIn 0.45s ease;
}

/* === Title === */
.auth-title {
  color: #0F172A;
  font-weight: 800;
  text-align: center;
  font-size: 1.55rem;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  color: #64748B;
  text-align: center;
  margin-bottom: 28px;
  font-size: 0.9rem;
}

/* === Inputs === */
.auth-input {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  color: #0F172A !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.auth-input::placeholder { color: #94A3B8 !important; }

.auth-input:focus {
  background: #FFFFFF !important;
  border-color: rgba(37,99,235,0.55) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10) !important;
  color: #0F172A !important;
}

/* === Submit button === */
.auth-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #2563EB, #1d4ed8);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.18s;
  display: block;
}

.auth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.32);
  color: #fff;
}

.auth-btn:active { transform: translateY(0); }

/* === Footer links === */
.auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.875rem;
  color: #64748B;
}

.auth-footer a {
  color: #2563EB;
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover { text-decoration: underline; }

/* === Alert overrides for auth === */
.auth-card .alert {
  border-radius: 12px;
  font-size: 0.875rem;
}

/* === Animation === */
@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; border-radius: 18px; }
  .auth-title { font-size: 1.35rem; }
}

/* === Reset password page specific === */
.reset-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 55%, #F0F9FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', system-ui, sans-serif;
  padding: 24px 16px;
}

.reset-card {
  background: #FFFFFF;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 24px;
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(15,23,42,0.10);
  animation: authFadeIn 0.45s ease;
}

.reset-card .logo {
  display: block;
  max-height: 40px;
  margin: 0 auto 24px;
}

.reset-card h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.reset-card .subtitle {
  text-align: center;
  color: #64748B;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.reset-card .form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.reset-card .form-control {
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  background: #F8FAFC;
  color: #0F172A;
}

.reset-card .form-control:focus {
  border-color: rgba(37,99,235,0.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
  background: #fff;
}

.reset-card .password-wrapper { position: relative; }

.reset-card .toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
}

.reset-card .btn-submit {
  background: linear-gradient(135deg, #2563EB, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.7rem;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  transition: all 0.18s;
  cursor: pointer;
}

.reset-card .btn-submit:hover {
  box-shadow: 0 6px 20px rgba(37,99,235,0.28);
  transform: translateY(-1px);
  color: #fff;
}

.reset-card .hint {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 4px;
}

.reset-card .success-icon {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.reset-card .btn-back {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.875rem;
  color: #64748B;
  text-decoration: none;
}

.reset-card .btn-back:hover { color: #0F172A; }

@media (max-width: 480px) {
  .reset-card { padding: 28px 20px; }
}
