/* Hesap açma ve giriş. Renkler ve düğmeler site.css'ten gelir. */

.account {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 360px);
  justify-content: center;
  align-items: start;
  gap: 32px;
  padding-top: 120px;
  padding-bottom: 80px;
}

.account-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.account-card h1 {
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.account-sub {
  margin-top: 8px;
  color: var(--muted);
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 28px 0 24px;
  padding: 4px;
  border-radius: 999px;
  background: var(--royal-soft);
}

.account-tabs button {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.account-tabs button[aria-selected='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(23, 10, 79, 0.12);
}

.account-card form {
  display: grid;
  gap: 14px;
}

.account-card label {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.account-card .opt {
  font-weight: 500;
  color: var(--muted);
}

.account-card input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  font: inherit;
  font-weight: 500;
  color: var(--ink);
}

.account-card input:focus-visible {
  outline: 3px solid var(--royal-soft);
  border-color: var(--royal);
}

.account-card .hint {
  margin-top: -6px;
  font-size: 14px;
  color: var(--muted);
}

.form-error {
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: #fdecee;
  font-size: 15px;
  font-weight: 600;
  color: #b4232f;
}

.account-card button[type='submit'] {
  margin-top: 6px;
  width: 100%;
}

.account-card button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.account-next {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--royal-soft);
}

.account-next h2 {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.account-next ol {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-left: 20px;
  color: var(--text);
}

@media (max-width: 860px) {
  .account {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 100px;
  }

  .account-card {
    padding: 24px;
  }
}
