/* =========================================================
   YAK Vize — EVRAK SİHİRBAZI STİLLERİ  (İZOLE / KORUMALI)
   =========================================================

   ⚠️  BU DOSYA KORUMA ALTINDADIR.

   assets/js/wizard.js dosyasına HİÇ DOKUNULMAMIŞTIR.
   Bu stiller, eski brand.css içinden BİREBİR taşınmıştır;
   yalnızca renk değişkenleri yeni YAK paletine bağlanmıştır.

   wizard.js'in bağlı olduğu sözleşmeler:
     · #country #visaType #job #result-area #result-title #doc-list
     · .wizard .wizard-result li.warning .print-btn ...
     · JS içinden inline basılan  var(--navy-800) / var(--bronze-600)
       -> aşağıda .wizard kapsamında tanımlıdır, ASLA SİLİNMEZ.
     · Font Awesome ikonları: fa-check-circle / fa-exclamation-triangle

   Yeni global CSS bu ad alanına müdahale etmez.
   ========================================================= */

.wizard-section,
.wizard {
  /* --- wizard.js UYUMLULUK TAKMA ADLARI — SİLMEYİN --- */
  --navy-800:   var(--yak-navy);
  --navy-900:   var(--yak-navy-deep);
  --bronze-600: var(--yak-red);
  --bronze-400: var(--yak-red-bright);
  --bronze-100: rgba(170, 24, 34, 0.08);
  --crimson:    var(--yak-red);

  /* --- Eski brand.css'ten devralınan yardımcı tokenlar --- */
  --cream:       var(--yak-surface-2);
  --line:        var(--yak-line);
  --line-strong: var(--yak-line-2);
  --ink-700:     var(--yak-ink-2);
  --ink-900:     var(--yak-ink);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-pill: 999px;
  --shadow-md:   0 10px 34px rgba(15, 43, 80, 0.08);
}

.wizard-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--yak-surface-2) 0%, var(--yak-surface) 100%);
}

.wizard {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.wizard::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--yak-navy), var(--yak-red) 60%, var(--yak-red-bright));
}

.wizard-header { text-align: center; margin-bottom: 36px; }
.wizard-header .badge {
  display: inline-block;
  background: var(--bronze-100);
  color: var(--bronze-600);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.wizard-header h2 { margin: 0 0 8px; }
.wizard-header p { color: var(--ink-700); margin: 0; }

.wizard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.wizard-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.wizard-field select {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.96rem;
  font-family: inherit;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink-900);
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23AA1822' stroke-width='2.5'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.wizard-field select:hover { border-color: var(--yak-navy-600); }
/* Erişilebilirlik iyileştirmesi: görünür odak halkası (eski kodda outline:none idi) */
.wizard-field select:focus-visible {
  outline: none;
  border-color: var(--bronze-600);
  box-shadow: 0 0 0 3px rgba(170, 24, 34, 0.18);
}

.wizard-cta { text-align: center; margin-top: 30px; }
.wizard-cta .btn { padding: 16px 50px; font-size: 0.95rem; }

.wizard-result {
  margin-top: 36px;
  padding: 30px;
  background: var(--cream);
  border-left: 3px solid var(--bronze-600);
  border-radius: var(--radius-md);
  animation: wizardFadeIn .5s ease;
}
@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .wizard-result { animation: none; }
}

.wizard-result-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 12px; flex-wrap: wrap;
}
.wizard-result-head h4 {
  margin: 0; color: var(--navy-900); font-size: 1.3rem;
  font-family: var(--yak-font-display, inherit);
  letter-spacing: -0.02em;
}
.wizard-result-head h4 i { color: var(--bronze-600); margin-right: 10px; }

.print-btn {
  background: var(--navy-800); color: #fff;
  padding: 9px 18px; border: none; border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  font-family: inherit;
  transition: background .25s;
}
.print-btn:hover { background: var(--navy-900); }
.print-btn:focus-visible {
  outline: 2px solid var(--yak-navy);
  outline-offset: 2px;
}

.wizard-result-title {
  font-weight: 600; color: var(--ink-900); padding-bottom: 14px;
  border-bottom: 1px solid var(--line); margin-bottom: 18px; font-size: 1.02rem;
}
.wizard-result ul { list-style: none; padding: 0; margin: 0; }
.wizard-result li {
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: 0.96rem; color: var(--ink-700); display: flex; gap: 10px;
}
.wizard-result li:last-child { border-bottom: none; }
.wizard-result li i { color: var(--bronze-600); margin-top: 4px; flex-shrink: 0; }
.wizard-result li.warning i { color: var(--crimson); }
.wizard-result li.warning { font-weight: 600; color: var(--ink-900); }

.wizard-note {
  margin-top: 20px; padding: 14px 18px;
  background: rgba(170, 24, 34, 0.06);
  border-radius: var(--radius-sm);
  font-size: 0.86rem; color: var(--ink-700);
}
.wizard-note i { color: var(--crimson); margin-right: 8px; }

@media (max-width: 767px) {
  .wizard { padding: 32px 22px; }
  .wizard-grid { grid-template-columns: 1fr; }
  .wizard-section { padding: 64px 0; }
}

/* =========================================================
   Sihirbaz sonucu -> uzman köprüsü
   wizard.js'e dokunmadan, sonucu OKUYAN ayrı katman.
   ========================================================= */
.wizard-bridge {
  display: none;
  margin-top: 22px;
  padding: 22px 24px;
  background: var(--yak-navy);
  border-radius: var(--radius-md);
  color: #fff;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.wizard-bridge.is-active { display: flex; }
.wizard-bridge p { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.86); max-width: 46ch; }
.wizard-bridge strong { color: #fff; display: block; font-size: 1.05rem; margin-bottom: 4px; }
.wizard-bridge-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media print {
  .wizard-bridge { display: none !important; }
}
