/* =========================================================
   Order Track – Clean, glassy, theme-aware
   ========================================================= */

/* Arka plan: çok hafif tint, göz yormaz */
.track{
  padding: 14px;
  background:
    radial-gradient(1100px 600px at -10% -20%,
      color-mix(in srgb, var(--tint) 10%, transparent),
      transparent 60%),
    radial-gradient(900px 520px at 120% 120%,
      color-mix(in srgb, var(--tint) 6%, transparent),
      transparent 60%);
  border-radius: 16px;
}

/* Başlık */
.track h1{
  text-align:center;
  margin: 10px 0 16px;
  letter-spacing:.2px;
}

/* Kart: cam yüzey + ince kenar */
.card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-1);
  backdrop-filter: saturate(160%) blur(8px);
}

/* İki kolon iskelet: sol form, sağ sonuç */
.grid{
  display:grid;
  grid-template-columns: 380px 1fr;
  gap: 26px;
}
@media (max-width: 980px){ .grid{ grid-template-columns:1fr } }

/* Form satırları: solda label, sağda alan */
.row{
  display:grid;
  grid-template-columns: 180px minmax(0,1fr);
  align-items:center;
  column-gap:16px;
  row-gap:10px;
  margin: 14px 0;
}
.row label{
  margin:0;
  text-align:right;
  font-weight:600;
  color: color-mix(in srgb, var(--muted) 90%, transparent);
}

/* “veya” satırı */
.or{
  grid-column: 1 / -1;
  margin: 6px 0;
  text-align:center;
  font-size:12px;
  color: var(--muted);
}

/* Alanlar */
input, select, textarea{
  width:100%;
  color:inherit;
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans), transform var(--trans);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* Mobil uyarlamalar */
@media (max-width: 680px){
  .row{ grid-template-columns: 1fr; }
  .row label{ text-align:left }
  .row .btn{ grid-column: 1 / -1; }
  .o-head{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .item{ grid-template-columns:56px 1fr; }
  .item img{ width:56px; height:56px }
}
input::placeholder, textarea::placeholder{
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}
input:hover, select:hover, textarea:hover{
  border-color: color-mix(in srgb, var(--tint) 35%, var(--field-border));
  background: color-mix(in srgb, var(--field-bg) 90%, white);
}
input:focus, select:focus, textarea:focus{
  outline:none;
  border-color: var(--tint);
  box-shadow: var(--ring);
  background: color-mix(in srgb, var(--field-bg) 85%, white);
}
input:disabled, select:disabled, textarea:disabled{ opacity:.65; cursor:not-allowed }

/* Telefon alanı kapsülü (TR + input tek görünüm) */
.phone{
  grid-column: 2 / -1;                 /* sağ sütun */
  display:flex; align-items:center; gap:10px;
  background: var(--field-bg);
  border:1px solid var(--field-border);
  border-radius: 14px;
  padding: 10px 12px;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}
.phone:focus-within{
  border-color:var(--tint); box-shadow:var(--ring);
  background: color-mix(in srgb, var(--field-bg) 85%, white);
}
.flag{
  display:inline-block; min-width:40px; text-align:center; font-weight:800;
  padding: 6px 8px;
  border-radius: 10px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}
.phone input{ border:0; background:transparent; padding:6px 4px; width:100% }

/* Butonlar */
.btn{
  -webkit-tap-highlight-color:transparent; appearance:none; cursor:pointer;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 96%, white), var(--tint));
  color:#fff; font-weight:800;
  border:1px solid color-mix(in srgb, var(--tint) 55%, var(--border));
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--tint) 22%, transparent), inset 0 1px 0 rgba(255,255,255,.22);
  transform: translateY(0);
  transition: transform var(--trans), filter var(--trans), box-shadow var(--trans);
}
.btn:hover{ filter:brightness(1.04) }
.btn:active{ transform: translateY(1px) scale(.998) }
.btn:disabled{ opacity:.6; cursor:not-allowed; box-shadow:none }
.btn.outline{
  background:transparent; color:var(--tint);
  border-color: color-mix(in srgb, var(--tint) 45%, var(--field-border));
  box-shadow:none;
}
.btn.ghost{
  background: color-mix(in srgb, var(--tint) 10%, transparent);
  color: var(--tint); border-color: transparent;
}

/* Aksiyon butonu form hizasında kalsın */
.row .btn{ grid-column: 2 / -1; justify-self:start }

/* Kart içinde açıklama metni çok yayılmasın */
.track .card > .muted, .track .card > p.muted{
  grid-column: 1 / -1;
  max-width: 720px;
  margin-inline:auto;
  text-align:center;
}

/* ---- Sağ panel bileşenleri (sonuç/özet) ---- */
.card.slim{ padding:14px }
.box-title{ font-weight:800; margin-bottom:8px }

.o-head{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px; margin:12px 0 14px;
}
.o-head .k{ color:var(--muted); font-size:12px }
.o-head .v{ font-weight:800; letter-spacing:.01em }

.badge{
  padding:5px 9px; border-radius:999px; font-size:12px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}
.badge.ok{
  border-color: color-mix(in srgb, var(--green) 45%, var(--border));
  background: color-mix(in srgb, var(--green) 16%, transparent);
  color: var(--green);
}

/* Timeline */
.timeline{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:10px }
.timeline .step{
  display:flex; align-items:center; gap:8px;
  padding:8px 12px; border:1px solid var(--border);
  border-radius:12px; background:var(--panel); font-size:13px;
}
.timeline .step.ok{ outline:2px solid color-mix(in srgb, var(--green) 45%, transparent) }

/* Bilgi kutuları ve ürünler listesi */
.o-two{ display:grid; grid-template-columns:1fr 1fr; gap:12px }
@media (max-width: 700px){ .o-two{ grid-template-columns:1fr } }

.items{ display:grid; gap:10px }
.item{
  display:grid; grid-template-columns:72px 1fr auto; gap:12px; align-items:center;
  border:1px solid var(--border); border-radius:12px; padding:10px; background:var(--panel);
}
.item img{
  width:72px; height:72px; object-fit:cover; border-radius:10px; border:1px solid var(--border)
}
.item .name{ font-weight:700 }
.item .meta{ font-size:12px; color:var(--muted) }

/* Ufak yardımcılar */
.hr{ height:1px; background:var(--border); margin:14px 0 }
.muted{ color:var(--muted) }
.result .res.hidden{ display:none }
