:root {
  --brand:          #0057b8;
  --brand-dark:     #00448f;
  --brand-soft:     #e8f0fb;

  --ink:            #16202e;
  --ink-muted:      #5c6b7e;
  --ink-faint:      #8a97a6;

  --line:           #dde3ea;
  --line-strong:    #c3ccd7;
  --surface:        #ffffff;
  --surface-alt:    #f5f7fa;
  --bg:             #eef1f6;

  --danger:         #c62828;
  --danger-soft:    #fdecec;
  --success:        #1b7f4b;

  --radius:         10px;
  --radius-lg:      16px;
  --shadow:         0 1px 2px rgba(22, 32, 46, .06), 0 12px 32px rgba(22, 32, 46, .08);
  --focus:          0 0 0 3px rgba(0, 87, 184, .18);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }


.page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px 64px;
}

.card {
  width: 100%;
  max-width: 720px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.logo-container img{display: block;width: 150px;}

@media (max-width: 560px) {
  .logo-container img{width: 100px;}
}

.card__head {
  padding: 28px 32px 0;
}

.card__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.card__subtitle {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}


.steps {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 24px 0 0;
  padding:0;
}

.steps__item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease;
}

.steps__item.is-active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.steps__item.is-done { color: var(--success); }

.steps__num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--line);
  color: var(--surface);
  font-size: 12px;
}

.steps__item.is-active .steps__num { background: var(--brand); }
.steps__item.is-done   .steps__num { background: var(--success); }


.step {
  padding: 24px 32px 32px;
}

.step[hidden] { display: none; }

.step.is-active { animation: stepIn .22s ease both; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.step__title {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 700;
}

.step__lead {
  margin: -8px 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.step__lead[hidden] { display: none; }


.otp {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.otp[hidden] { display: none; }

.otp__sent {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink);
}

.otp__code {
  max-width: 220px;
  font-size: 22px !important;
  font-weight: 600;
  letter-spacing: .35em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.alert {
  margin: 16px 0 0;
  padding: 11px 14px;
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 13px;
  line-height: 1.5;
}

.alert[hidden] { display: none; }


.verified {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(27, 127, 75, .3);
  border-radius: var(--radius);
  background: rgba(27, 127, 75, .07);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.verified[hidden] { display: none; }

.verified__icon {
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 11px;
}


.field.is-locked input,
.field.is-locked select {
  background: var(--surface-alt);
  color: var(--ink-muted);
  border-color: var(--line);
  cursor: default;
}

.field.is-locked select {
  opacity: 1;
  -webkit-text-fill-color: var(--ink-muted);
}

.field.is-locked label::after {
  content: ' (Karel kaydından)';
  font-weight: 400;
  color: var(--ink-faint);
}


.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }

.field label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.req { color: var(--danger); font-weight: 700; }

.optional { color: var(--ink-faint); font-weight: 400; }

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

textarea { resize: vertical; min-height: 84px; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6b7e' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--focus);
}

input::placeholder, textarea::placeholder { color: var(--ink-faint); }

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(198, 40, 40, .15);
}

.hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--ink-faint);
}

.error {
  margin: 0;
  font-size: 12px;
  color: var(--danger);
  min-height: 0;
}

.field.has-error .error { margin-top: 6px; }

.input-suffix__status {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -8px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--brand);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}

.field.is-checking .input-suffix__status {
  opacity: 1;
  animation: spin .7s linear infinite;
}

.field.is-checking input { padding-right: 36px; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .field.is-checking .input-suffix__status { animation: none; }
}

.input-suffix { position: relative; }

.input-suffix__unit,
.input-suffix__brand {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
  pointer-events: none;
}

.input-suffix input { padding-right: 48px; }

.input-suffix__brand {
  color: var(--brand-dark);
  font-size: 11px;
  letter-spacing: .04em;
}

.checkbox-label-alignment{margin-top:-3px}

#cardNumber { padding-right: 96px; letter-spacing: .04em; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400 !important;
  line-height: 1.5;
  color: var(--ink-muted);
  cursor: pointer;
}

.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  accent-color: var(--brand);
  cursor: pointer;
}

.field.has-error .check { color: var(--danger); }


.summary {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 13px;
}

.summary__row + .summary__row { margin-top: 6px; }

.summary__label { color: var(--ink-muted); }
.summary__value { font-weight: 600; text-align: right; }
.summary__value--strong { font-size: 16px; color: var(--brand-dark); }

.secure-note {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
}


.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.actions--split { justify-content: space-between; }

.actions[hidden] { display: none; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 150px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}

.btn:focus-visible { outline: none; box-shadow: var(--focus); }

a.btn { text-decoration: none; }
a.btn:hover { color: var(--ink); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover:not(:disabled) { background: var(--brand-dark); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-muted);
}
.btn--ghost:hover:not(:disabled) { border-color: var(--ink-muted); color: var(--ink); }

.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn__spinner { display: none; }

.btn.is-loading .btn__spinner {
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.btn--ghost.is-loading .btn__spinner {
  border-color: var(--line-strong);
  border-top-color: var(--brand);
}

@keyframes spin { to { transform: rotate(360deg); } }


.result {
  padding: 48px 32px;
  text-align: center;
}

.result[hidden] { display: none; }

.result__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fff;
}

.result__icon--ok    { background: var(--success); }
.result__icon--error { background: var(--danger); }

.result__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.result__text  { margin: 0 0 20px; color: var(--ink-muted); font-size: 14px; }


.recaptcha-note {
  margin: 0;
  padding: 0 32px 24px;
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
}


@media (max-width: 560px) {
  .page { padding: 0; }

  .card {
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
  }

  .card__head { padding: 20px 18px 0; }
  .step { padding: 20px 18px 28px; }
  .recaptcha-note { padding: 0 18px 20px; }

  .grid { grid-template-columns: 1fr; gap: 14px; }

  .steps__item { justify-content: center; }
  .steps__label { display: none; }
  .steps__item.is-active { flex: 2.2; }
  .steps__item.is-active .steps__label { display: inline; }

  .otp__code { max-width: none; }

  .actions { flex-direction: column-reverse; gap: 10px; }
  .actions .btn { width: 100%; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.grecaptcha-badge { visibility: hidden; }

footer{padding-bottom: 64px;}
footer p{text-align: center;font-size: 12px;margin:0;font-weight: 500;color:#222}

@media (max-width: 560px) {
  footer{padding: 30px;background: #fff;}
  footer p{color:#444}
}