/* ─── Temel ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #f0ede8;
  --card:        #ffffff;
  --border:      #e8e4de;
  --border-s:    #d0ccc4;
  --text:        #1a1612;
  --text-2:      #555;
  --text-m:      #999;
  --gold:        #c9a84c;
  --gold-d:      #a8892e;
  --green:       #2a6e48;
  --green-bg:    #eaf4ee;
  --green-text:  #1a4a2e;
  --red:         #c0392b;
  --red-bg:      #fff5f4;
  --red-border:  #f0c4be;
  --radius:      8px;
}

body {
  background: var(--bg);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 0 3rem;
}

.wrap {
  width: 100%;
  max-width: 460px;
}

/* ─── Hero / Header ──────────────────────────────────────────────────────── */
.hero {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-text {
  background: #1a1612;
  padding: 14px 20px 18px;
  text-align: center;
}
.hero-text h1 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.hero-text h1 span { color: var(--gold); }
.hero-text p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-top: 5px;
  line-height: 1.5;
}
.hero-since {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(201,168,76,.65);
  letter-spacing: .06em;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 8px;
  width: 100%;
}

/* ─── Progress bar ───────────────────────────────────────────────────────── */
.progress {
  display: flex;
  align-items: center;
  padding: 1.1rem 1.5rem 0;
  background: var(--card);
}
.prog-step { display: flex; flex-direction: column; align-items: center; }
.prog-circle {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  border: 1.5px solid #ccc; color: #bbb; background: var(--bg);
  transition: all .25s;
}
.prog-circle.done  { background: var(--green); border-color: var(--green); color: #fff; }
.prog-circle.active{ background: var(--text);  border-color: var(--text);  color: #fff; }
.prog-label { font-size: 10px; color: #bbb; margin-top: 4px; }
.prog-label.active { color: var(--text); font-weight: 600; }
.prog-line { flex: 1; height: 1px; background: var(--border); margin-bottom: 12px; transition: background .25s; }
.prog-line.done { background: var(--green); }

/* ─── Adımlar ────────────────────────────────────────────────────────────── */
.step { display: none; padding: 1.1rem 1.5rem 1.5rem; background: var(--card); }
.step.active { display: block; }

.step-title { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.step-sub   { font-size: 13px; color: var(--text-m); margin-bottom: 16px; }

/* ─── Form elemanları ────────────────────────────────────────────────────── */
.field-label {
  display: block; font-size: 12px; font-weight: 500;
  color: var(--text-2); margin-bottom: 5px; margin-top: 14px;
}
.field-label:first-child { margin-top: 0; }

input[type=text], input[type=email], input[type=password], select {
  width: 100%; padding: 10px 12px;
  background: var(--bg); border: 1px solid var(--border-s);
  border-radius: var(--radius); font-size: 14px; color: var(--text);
  outline: none; transition: border-color .15s;
  appearance: none; -webkit-appearance: none;
}
input:focus, select:focus { border-color: var(--text); }
input::placeholder { color: var(--text-m); }

/* Tarih seçenekleri */
.date-opts { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.date-opt {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--border-s);
  border-radius: var(--radius); padding: 10px 12px;
  font-size: 13px; cursor: pointer; transition: all .15s; user-select: none;
}
.date-opt:hover { border-color: var(--border-s); background: #ece8e2; }
.date-opt.selected { border-color: var(--green); background: var(--green-bg); color: var(--green-text); font-weight: 500; }
.date-opt .dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid #ccc; flex-shrink: 0; transition: all .15s;
}
.date-opt.selected .dot { background: var(--green); border-color: var(--green); }

/* Yemek seçenekleri */
.radio-group { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.radio-opt {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--border-s);
  border-radius: var(--radius); padding: 10px 12px;
  font-size: 14px; cursor: pointer; transition: all .15s; user-select: none;
}
.radio-opt:hover { background: #ece8e2; }
.radio-opt.selected { border-color: var(--text); background: var(--bg); font-weight: 500; }
.radio-opt .r-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid #ccc; flex-shrink: 0; transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.radio-opt.selected .r-dot { border-color: var(--text); }
.radio-opt.selected .r-dot::after {
  content: ''; width: 8px; height: 8px;
  border-radius: 50%; background: var(--text);
}

/* Onay kutuları */
.check-row {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 12px;
  font-size: 13px; color: var(--text-2); cursor: pointer;
  margin-top: 8px; user-select: none; transition: border-color .15s;
}
.check-row:hover { border-color: var(--border-s); }
.check-box {
  width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0; margin-top: 1px;
  border: 1.5px solid #ccc; display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.check-box.checked { background: var(--text); border-color: var(--text); }
.check-box.checked::after { content: '✓'; font-size: 11px; color: #fff; font-weight: 700; }

/* Kurallar metni */
.info-card {
  background: var(--bg); border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  padding: 13px 14px; font-size: 13px; color: var(--text-2);
  line-height: 1.7; margin-bottom: 4px;
}
.info-card b { color: var(--text); }

/* ─── Butonlar ───────────────────────────────────────────────────────────── */
.btn {
  display: block; width: 100%; padding: 12px; border: none;
  border-radius: var(--radius); font-size: 14px; font-weight: 600;
  cursor: pointer; text-align: center; text-decoration: none;
  transition: background .15s, color .15s; margin-top: 10px;
}
.btn-primary  { background: var(--text); color: #fff; }
.btn-primary:hover  { background: #2e2218; }
.btn-secondary{ background: transparent; color: var(--text-2); border: 1px solid var(--border-s); }
.btn-secondary:hover { background: var(--bg); }
.btn-danger   { background: var(--red); color: #fff; }
.btn-danger:hover { background: #a93226; }
.btn-danger-o { background: transparent; color: var(--red); border: 1px solid var(--red-border); }
.btn-danger-o:hover { background: var(--red-bg); }
.btn-list {
  background: transparent; color: #bbb; border: 1px solid var(--border);
  cursor: default; opacity: .5;
}
.btn-list.active { color: var(--green-text); border-color: var(--green); background: var(--green-bg); cursor: pointer; opacity: 1; }

/* ─── Mekan chip ─────────────────────────────────────────────────────────── */
.loc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1px solid var(--border-s);
  border-radius: 20px; padding: 5px 12px; font-size: 12px; color: var(--text-2);
  margin-bottom: 14px; text-decoration: none;
}
.loc-chip:hover { border-color: var(--border-s); background: #ece8e2; }

/* ─── Uyarı / Hata / Başarı ──────────────────────────────────────────────── */
.alert {
  border-radius: var(--radius); padding: 10px 14px;
  font-size: 13px; line-height: 1.5; margin-bottom: 12px;
}
.alert-err   { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.alert-warn  { background: #fff8f7; color: #8a3a2e; border: 1px solid var(--red-border); }
.alert-ok    { background: var(--green-bg); color: var(--green-text); border: 1px solid #b8ddc8; }

/* ─── Başarı ekranı ──────────────────────────────────────────────────────── */
.success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-bg); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 14px; font-size: 26px;
}
.success-info {
  font-size: 13px; color: var(--text-2); text-align: center;
  line-height: 1.7; margin-bottom: 16px;
}
.success-info strong { color: var(--text); }

/* ─── Banner ─────────────────────────────────────────────────────────────── */
.banner-wrap { display: block; margin-top: 14px; border-radius: var(--radius); overflow: hidden; }
.banner-wrap img { width: 100%; display: block; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer { text-align: center; padding: 16px; font-size: 11px; color: var(--text-m); background: var(--card); }

@media (min-width: 461px) {
  .wrap { box-shadow: 0 4px 24px rgba(0,0,0,.1); }
}
