/* Giriş sayfası — style.css .login-* sınıflarından bağımsız */
*, *::before, *::after { box-sizing: border-box; }

.auth-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  background:
    radial-gradient(900px 500px at 10% -5%, rgba(59, 130, 246, 0.35), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(99, 102, 241, 0.28), transparent 55%),
    linear-gradient(145deg, #eff6ff 0%, #f8fafc 45%, #e2e8f0 100%);
}

.auth-shell {
  width: 100%;
  max-width: 420px;
}

.auth-card {
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(30, 64, 175, 0.14);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 36px 32px 32px;
  animation: authIn 0.4s ease;
}

@keyframes authIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  color: #fff;
}

.auth-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.auth-sub {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.45;
}

.auth-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 18px;
}

.auth-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.auth-alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.auth-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.auth-input:focus {
  outline: none;
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  padding: 14px 18px;
  border: none;
  border-radius: 11px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transition: transform 0.12s, box-shadow 0.12s;
}

.auth-submit:hover {
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.42);
}

.auth-submit:active { transform: scale(0.98); }

.auth-footer {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

@media (max-width: 480px) {
  .auth-card { padding: 28px 22px 26px; border-radius: 16px; }
  .auth-title { font-size: 20px; }
}
