/* Üyelik — modern giriş / kayıt */

.auth-page {
  --auth-orange: #f1680a;
  --auth-orange-dark: #c2410c;
  --auth-blue: #004ccb;
  --auth-blue-light: #2563eb;
  --auth-border: #e2e8f0;
  --auth-surface: #f8fafc;
  --auth-radius: 14px;
  --auth-radius-lg: 20px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
  min-height: calc(100vh - 200px);
  padding: 2rem 1rem 3rem;
}

@media (min-width: 768px) {
  .auth-page { padding: 3rem 1.5rem 4rem; }
}

.auth-wrap {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.08);
}

@media (min-width: 768px) {
  .auth-wrap { grid-template-columns: 1fr 1.1fr; min-height: 520px; }
}

.auth-aside {
  display: none;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 50%, var(--auth-blue) 100%);
  color: #fff;
  padding: 2.5rem;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .auth-aside { display: flex; }
}

.auth-aside h2 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.auth-aside p {
  margin: 0 0 1.5rem;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.auth-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.auth-aside__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 13px;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.9);
}

.auth-aside__list .material-symbols-outlined {
  font-size: 18px;
  color: #93c5fd;
}

.auth-main {
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .auth-main { padding: 2.5rem 2.5rem; }
}

/* Sekmeler — pill stil */
.auth-tabs {
  display: flex;
  gap: 0.375rem;
  padding: 0.375rem;
  background: var(--auth-surface);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius);
  margin-bottom: 2rem;
}

.auth-tabs a {
  flex: 1;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  border-radius: 11px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-tabs a:hover {
  color: var(--auth-blue);
  background: rgba(255, 255, 255, 0.6);
}

.auth-tabs a.is-active {
  color: var(--auth-blue);
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
  font-weight: 700;
}

.auth-title {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

/* Form alanları */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.auth-form__group {
  margin-bottom: 1.1rem;
}

.auth-form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.auth-form__label span { color: #ef4444; }

.auth-form__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.875rem 1.05rem;
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius);
  font-size: 15px;
  line-height: 1.4;
  color: #0f172a;
  background: var(--auth-surface);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  -webkit-appearance: none;
  appearance: none;
}

.auth-form__input::placeholder {
  color: #94a3b8;
}

.auth-form__input:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.auth-form__input:focus {
  outline: none;
  border-color: var(--auth-blue-light);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.12),
    0 2px 8px rgba(15, 23, 42, 0.06);
}

.auth-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 480px) {
  .auth-form__row--2 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .auth-form__row--2 .auth-form__group {
    margin-bottom: 1.1rem;
  }
}

.auth-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0.5rem 0 1.25rem;
  padding: 0.9rem 1rem;
  background: var(--auth-surface);
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.auth-form__check:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.auth-form__check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--auth-blue);
  flex-shrink: 0;
  cursor: pointer;
}

.auth-form__check a {
  color: var(--auth-blue);
  font-weight: 600;
  text-decoration: none;
}

.auth-form__check a:hover {
  text-decoration: underline;
}

/* Butonlar */
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: var(--auth-radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.auth-btn--primary {
  background: linear-gradient(135deg, var(--auth-orange) 0%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(241, 104, 10, 0.32);
  margin-top: 0.25rem;
}

.auth-btn--primary:hover {
  background: linear-gradient(135deg, #ea580c 0%, var(--auth-orange-dark) 100%);
  box-shadow: 0 6px 22px rgba(241, 104, 10, 0.38);
  transform: translateY(-1px);
}

.auth-btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(241, 104, 10, 0.28);
}

.auth-btn--outline {
  background: #fff;
  color: var(--auth-blue);
  border: 1.5px solid var(--auth-border);
  text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.auth-btn--outline:hover {
  background: #eff6ff;
  border-color: var(--auth-blue-light);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--auth-border);
  font-size: 14px;
  color: #64748b;
}

.auth-switch a {
  color: var(--auth-blue);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover { text-decoration: underline; }

/* Hesabım */
.auth-account {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.auth-account__card {
  background: #fff;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-lg);
  padding: 1.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.auth-account__welcome {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}

.auth-account__meta {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 1.25rem;
}

.auth-account__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .auth-account__grid { grid-template-columns: 1fr 1fr; }
}

.auth-account__item {
  padding: 0.875rem 1rem;
  background: var(--auth-surface);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius);
  font-size: 13px;
}

.auth-account__item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.auth-account__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .auth-account__links { grid-template-columns: repeat(3, 1fr); }
}

.auth-account__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 0.75rem;
  background: #fff;
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius);
  text-decoration: none;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.auth-account__link:hover {
  border-color: var(--auth-blue-light);
  color: var(--auth-blue);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.auth-account__link .material-symbols-outlined {
  font-size: 24px;
  color: var(--auth-blue);
}

.auth-flash {
  padding: 0.875rem 1.05rem;
  border-radius: var(--auth-radius);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.auth-flash--success {
  background: #ecfdf5;
  color: #047857;
  border: 1.5px solid #a7f3d0;
}

.auth-flash--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1.5px solid #fecaca;
}

.auth-flash--info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1.5px solid #bfdbfe;
}
