/* Visa check page (app/parcalar/vize-sayfa.php, assets/yeni/vize.js) */

/* Three short promises under the title */
.as-vize-maddeler { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.as-vize-maddeler li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; }
.as-vize-maddeler svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--as-kirmizi); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* The check: a white card that rises over the bottom of the navy band */
.as-vize-kap { position: relative; margin-top: -56px; padding-bottom: clamp(48px, 7vw, 96px); }
.as-vize { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 24px; border: 1px solid #e3e7ec; box-shadow: 0 24px 60px rgba(5, 28, 44, .14); padding: clamp(20px, 4vw, 40px); scroll-margin-top: 150px; }
.as-vize-ust { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-bottom: 26px; min-height: 44px; }
.as-vize-cubuk { grid-column: 2; height: 8px; border-radius: 999px; background: var(--as-gri); overflow: hidden; }
.as-vize-cubuk span { display: block; height: 100%; width: 8%; border-radius: inherit; background: var(--as-kirmizi); transition: width .35s cubic-bezier(.22, 1, .36, 1); }
.as-vize-geri, .as-vize-bastan { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 700 14px/1 var(--as-font); color: var(--as-lacivert); cursor: pointer; }
.as-vize-geri { grid-column: 1; }
.as-vize-bastan { grid-column: 3; color: var(--as-gri-yazi); }
.as-vize-geri[hidden], .as-vize-bastan[hidden] { display: inline-flex; visibility: hidden; }
.as-vize-geri:hover, .as-vize-bastan:hover { background: var(--as-gri); color: var(--as-lacivert); }
.as-vize-geri svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.as-vize-geri:focus-visible, .as-vize-bastan:focus-visible { outline: 3px solid var(--as-kirmizi); outline-offset: 2px; }

.as-vize-no { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--as-kirmizi); }
.as-vize h2 { margin: 0 0 22px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.25; color: var(--as-lacivert); outline: none; text-wrap: balance; }

/* Answers: large, easy to tap */
.as-vize-secenekler { display: grid; gap: 10px; }
.as-vize-secenek { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px;
  border: 1.5px solid #d9dee4; border-radius: 16px; background: #fff; font: 600 17px/1.35 var(--as-font); color: var(--as-lacivert); cursor: pointer;
  transition: border-color .18s, background-color .18s, transform .12s; }
.as-vize-secenek svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--as-kirmizi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.as-vize-secenek:hover { border-color: var(--as-lacivert); background: #f7f8fa; }
.as-vize-secenek:hover svg { transform: translateX(4px); }
.as-vize-secenek:active { transform: scale(.99); }
.as-vize-secenek:focus-visible { outline: 3px solid var(--as-kirmizi); outline-offset: 2px; }
.as-vize-secenek[aria-pressed="true"] { border-color: var(--as-kirmizi); background: #fdf3f3; }

/* Result */
.as-vize-yollar { display: grid; gap: 12px; margin-bottom: 20px; }
.as-vize-yol { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-radius: 16px; background: var(--as-gri); border-left: 5px solid var(--as-kirmizi); text-decoration: none; color: var(--as-lacivert); transition: background-color .18s; }
.as-vize-yol:hover { background: #e4e8ed; }
.as-vize-yol:focus-visible { outline: 3px solid var(--as-kirmizi); outline-offset: 2px; }
.as-vize-yol-yazi { display: grid; gap: 4px; }
.as-vize-yol-yazi strong { font-size: 18px; font-weight: 800; }
.as-vize-yol-yazi span { font-size: 15px; line-height: 1.5; color: #3c4a56; }
.as-vize-yol-ok { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--as-kirmizi); white-space: nowrap; }
.as-vize-yol-ok svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.as-vize-yol:hover .as-vize-yol-ok svg { transform: translateX(4px); }
.as-vize-notlar { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.as-vize-notlar li { position: relative; padding: 12px 16px 12px 44px; border-radius: 12px; background: #fff8e8; color: #4a3b12; font-size: 15px; line-height: 1.5; }
.as-vize-notlar li::before { content: 'i'; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: #b7791f; color: #fff; font: 700 13px/20px Georgia, serif; text-align: center; }
.as-vize-cta { display: grid; gap: 14px; padding: 20px; border-radius: 16px; background: var(--as-lacivert); color: rgba(255, 255, 255, .86); }
.as-vize-cta p { margin: 0; font-size: 16px; line-height: 1.5; }
.as-vize-cta strong { color: #fff; }
.as-vize-cta-dugmeler { display: flex; flex-wrap: wrap; gap: 10px; }
.as-vize-cta .as-dugme-cizgi-koyu { border-color: rgba(255, 255, 255, .75); color: #fff !important; }
.as-vize-cta .as-dugme-cizgi-koyu:hover { background: #fff; color: var(--as-lacivert) !important; }
.as-vize-uyari { margin: 16px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--as-gri-yazi); }

@media (max-width: 767px) {
  .as-vize-kap { margin-top: -32px; }
  .as-vize { border-radius: 20px; }
  .as-vize-ust { margin-bottom: 18px; gap: 8px; }
  .as-vize-geri, .as-vize-bastan { padding: 0 8px; font-size: 13px; }
  .as-vize-secenek { min-height: 56px; padding: 12px 16px; font-size: 16px; }
  .as-vize-yol { flex-direction: column; align-items: flex-start; gap: 10px; }
  .as-vize-maddeler { gap: 8px 16px; }
  .as-vize-maddeler li { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .as-vize-cubuk span, .as-vize-secenek, .as-vize-secenek svg, .as-vize-yol, .as-vize-yol-ok svg { transition: none; }
}

/* On phones the check comes straight after the title (no photo in between) */
/* The check comes straight after the title on every screen (no photo in between) */
main:has(.as-vize) .as-h-foto { display: none; }
main:has(.as-vize) .as-h-ust .as-ic { grid-template-columns: minmax(0, 1fr); }
main:has(.as-vize) .as-h-ust-yazi { max-width: 820px; margin: 0 auto; width: 100%; }
main:has(.as-vize) .as-h-ust { padding-bottom: 96px; }
@media (max-width: 767px) { main:has(.as-vize) .as-h-ust { padding-bottom: 56px; } .as-vize-kap { padding-bottom: 96px; } }
/* the old theme makes button text lighter; answers stay bold */
.as-sade .as-vize .as-vize-secenek, .as-sade .as-vize .as-vize-secenek span { font-weight: 600 !important; }

/* Progress bar spans the full width of the card; Back / Start over sit on their own row under it
   (that row keeps its height even when the buttons are hidden, so the question never jumps) */
.as-vize-ust { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 10px; margin-bottom: 14px; }
.as-vize-cubuk { grid-column: 1 / -1; grid-row: 1; }
.as-vize-geri, .as-vize-bastan { grid-row: 2; }
.as-vize-geri { margin-left: -12px; }
.as-vize-bastan { margin-right: -12px; }
