/* =====================================================================
   Giriş, kayıt ve şifre sıfırlama ekranları (kök: .qs-au)
   Tasarım dili: qs-design-language. Lacivert yapı, tek vurgu sarı, gradyan yok.
   Masaüstü: solda harita + slogan, sağda tam boy beyaz panel.
   Mobil: üstte başlık + takip kartı, altta form.
   ===================================================================== */
body { background: #1e1e2d; }

.qs-au {
	--au-ink: #1e1e2d;
	--au-ink2: #2b2b40;
	--au-yellow: #ffc700;
	--au-yellow-h: #f2bd00;
	--au-line: #e9ebf1;
	--au-muted: #8a8fa3;
	--au-soft: #f4f6f9;
	--au-field: #fafbfd;
	--au-text: #3f4254;
	--au-danger: #d9214e;
	position: relative;
	display: flex;
	flex: 1 1 100%;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	background: var(--au-ink);
	color: var(--au-text);
	font-family: Inter, "Segoe UI", system-ui, sans-serif;
	font-size: 13px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

/* Sol panel */
.qa-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.qa-map { position: absolute; left: -1.5vw; bottom: 0; width: clamp(760px, 74vw, 1500px); aspect-ratio: 150 / 56; }
.qa-map svg { display: block; width: 100%; height: 100%; overflow: visible; }
.qa-route { fill: none; stroke: var(--au-yellow); stroke-opacity: .32; stroke-width: 2; }
.qa-route-m { fill: none; stroke: var(--au-yellow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 26 900; animation: qa-fly 5.5s linear infinite; }
@keyframes qa-fly { from { stroke-dashoffset: 926; } to { stroke-dashoffset: 0; } }
.qa-pin { position: absolute; transform: translate(-50%, calc(-100% - 8px)); padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: var(--au-ink2); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.qa-pin.l { transform: translate(calc(-100% + 12px), calc(-100% - 8px)); }
.qa-pin.r { transform: translate(-12px, calc(-100% - 8px)); }
.qa-pin.u { transform: translate(-50%, 8px); }
.qa-pin.hub { border-color: var(--au-yellow); background: var(--au-yellow); color: var(--au-ink); font-weight: 700; }

.qa-aside { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; padding: clamp(22px, 4vh, 40px) clamp(28px, 4.2vw, 72px); }
.qa-logo { display: inline-block; }
.qa-logo img { display: block; width: auto; height: 64px; margin: -6px 0 0 -9px; }
.qa-copy { max-width: 640px; margin-top: clamp(18px, 5vh, 56px); }
.qs-au h1 { margin: 0; color: #fff; font-size: clamp(32px, 3.5vw, 60px); font-weight: 800; line-height: 1.06; letter-spacing: -.032em; }
.qs-au h1 em { color: var(--au-yellow); font-style: normal; }
.qa-lead { max-width: 480px; margin: 16px 0 0; color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.55; }
.qa-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.qa-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: var(--au-ink); color: #fff; font-size: 12px; font-weight: 600; }
.qa-chip svg { color: var(--au-yellow); }

/* Mobil üst kısım: yalnız dar ekranda görünür */
.qa-hero { display: none; padding: 18px; background: var(--au-ink); }
.qa-card { margin-top: 18px; padding: 14px; border-radius: 16px; background: #fff; }
.qa-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.qa-awb { color: var(--au-ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.qa-hap { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--au-soft); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.qa-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--au-yellow); animation: qa-pulse 1.6s ease-in-out infinite; }
@keyframes qa-pulse { 50% { opacity: .35; } }
.qa-route-line { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 12.5px; }
.qa-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px 0 0; padding: 0; list-style: none; }
.qa-steps li { position: relative; padding-top: 15px; color: var(--au-muted); font-size: 11.5px; font-weight: 500; line-height: 1.25; }
.qa-steps li:before { content: ""; position: absolute; top: 3px; left: 0; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: #d8dbe3; }
.qa-steps li:after { content: ""; position: absolute; top: 6.5px; left: 0; right: 0; height: 2px; background: var(--au-line); }
.qa-steps li:last-child:after { display: none; }
.qa-steps li.done { color: var(--au-ink); }
.qa-steps li.done:before, .qa-steps li.done:after { background: var(--au-ink); }
.qa-steps li.cur { color: var(--au-ink); font-weight: 700; }
.qa-steps li.cur:before { background: var(--au-yellow); box-shadow: 0 0 0 2px var(--au-ink); }

/* Sağ panel + form */
.qa-panel { position: relative; z-index: 1; display: flex; flex: 0 0 clamp(420px, 33vw, 540px); padding: 32px clamp(36px, 4vw, 72px); overflow-y: auto; background: #fff; }
.qa-form { width: 100%; max-width: 420px; margin: auto; }
.qs-au h2 { margin: 0; color: var(--au-ink); font-size: 22px; font-weight: 800; letter-spacing: -.015em; }
.qa-sub { margin: 5px 0 22px; font-size: 13px; }
.qa-group { margin-bottom: 16px; }
.qa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.qa-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.qa-label { color: var(--au-muted); font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.qa-field { position: relative; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border: 1px solid var(--au-line); border-radius: 10px; background: var(--au-field); transition: border-color .12s, background .12s, box-shadow .12s; }
.qa-field > svg { flex: none; color: var(--au-muted); }
.qa-field input { flex: 1; width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--au-ink); font-size: 13px; font-weight: 500; }
.qa-field input::placeholder { color: #a1a5b7; font-weight: 400; }
.qa-field input:-webkit-autofill { -webkit-text-fill-color: var(--au-ink); box-shadow: 0 0 0 40px var(--au-field) inset; }
.qa-field:focus-within { border-color: var(--au-ink); background: #fff; box-shadow: 0 0 0 3px rgba(30, 30, 45, .06); }
.qa-field:focus-within > svg { color: var(--au-ink); }
.qa-eye { display: flex; flex: none; margin-right: -2px; padding: 2px; color: var(--au-muted); cursor: pointer; }
.qa-eye:hover { color: var(--au-ink); }
.qa-eye .bi { color: inherit; font-size: 17px; }

/* FormValidation ve sunucu doğrulama mesajları */
.qs-au .fv-plugins-bootstrap5-row-invalid .qa-field { border-color: #f1416c; background: #fff7f9; }
.qs-au .fv-plugins-message-container.invalid-feedback { display: block; margin: 0; color: var(--au-danger); font-size: 12px; font-weight: 500; }
.qs-au .fv-plugins-message-container.invalid-feedback > :not(:empty) { display: block; margin-top: 5px; }
.qa-form .fv-plugins-icon { display: none; }
.qa-summary ul { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #f1416c; border-radius: 10px; background: #fff7f9; color: var(--au-danger); font-size: 12px; font-weight: 500; list-style: none; }
.qa-summary.validation-summary-valid { display: none; }

.qa-link { color: var(--au-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--au-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.qa-link:hover { color: var(--au-ink); text-decoration-color: var(--au-ink); }
.qa-head .qa-link, .qa-con .qa-link { flex: none; font-size: 12px; text-decoration-thickness: 1.5px; }

.qa-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; border: 0; border-radius: 10px; background: var(--au-yellow); color: var(--au-ink); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .12s; }
.qa-cta:hover { background: var(--au-yellow-h); }
.qa-cta svg { transition: transform .15s; }
.qa-cta:hover svg { transform: translateX(3px); }
.qa-cta .indicator-label { display: inline-flex; align-items: center; gap: 8px; }
.qa-cta[data-kt-indicator="on"] .indicator-label { display: none; }
.qa-cta .indicator-progress { display: none; }
.qa-cta[data-kt-indicator="on"] .indicator-progress { display: inline-block; }
.qa-ghost { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; margin-top: 10px; border: 1px solid var(--au-line); border-radius: 10px; background: #fff; color: var(--au-ink); font-size: 13px; font-weight: 600; }
.qa-ghost:hover { border-color: #cfd3de; background: var(--au-soft); color: var(--au-ink); }
.qa-cta:focus-visible, .qa-ghost:focus-visible, .qa-link:focus-visible, .qa-codes summary:focus-visible { outline: 2px solid var(--au-ink); outline-offset: 2px; }

.qa-alt { margin-top: 18px; font-size: 12.5px; text-align: center; }
.qa-foot { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--au-line); color: var(--au-muted); font-size: 11.5px; text-align: center; }
.qa-foot-m { display: none; }

/* Bilgi ve sonuç kutusu */
.qa-notice { margin-bottom: 16px; padding: 10px 12px; border: 1px solid var(--au-line); border-radius: 12px; background: var(--au-soft); color: var(--au-ink); font-size: 12.5px; font-weight: 500; }
a.qa-cta, a.qa-cta:hover { color: var(--au-ink); }

/* Kayıt formu: uzun olduğu için daha sıkı */
.qa-signup .qa-sub { margin-bottom: 16px; }
.qa-signup .qa-group { margin-bottom: 12px; }
.qa-signup .qa-field { height: 40px; }
.qa-signup .qa-alt { margin-top: 14px; }
.qa-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: -3px 0 6px; }
.qa-meter > div { height: 4px; border-radius: 2px; background: var(--au-line); }
.qa-meter > div.active { background: var(--au-ink); }
.qa-hint { margin-bottom: 12px; color: #6f7488; font-size: 11.5px; line-height: 1.4; }
.qa-codes { margin-bottom: 12px; }
.qa-codes summary { display: inline-flex; align-items: center; gap: 7px; color: var(--au-ink); font-size: 12.5px; font-weight: 600; list-style: none; cursor: pointer; }
.qa-codes summary::-webkit-details-marker { display: none; }
.qa-codes summary:before { content: "+"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--au-yellow); color: var(--au-ink); font-size: 13px; font-weight: 700; line-height: 1; }
.qa-codes[open] summary:before { content: "\2212"; }
.qa-codes .qa-grid { margin-top: 10px; }
.qa-codes .qa-group { margin-bottom: 0; }
.qa-cons { margin-bottom: 14px; padding: 2px 12px; border: 1px solid var(--au-line); border-radius: 12px; }
.qa-con.fv-row { padding: 8px 0; }
.qa-con.fv-row + .qa-con.fv-row { border-top: 1px solid #f1f2f6; }
.qa-con label { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: var(--au-text); font-size: 12.5px; line-height: 1.35; cursor: pointer; }
.qa-con input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; border: 1px solid #cfd3de; border-radius: 4px; background: var(--au-field); cursor: pointer; appearance: none; -webkit-appearance: none; }
.qa-con input:checked { border-color: var(--au-ink); background: var(--au-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc700' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.qa-con input:focus-visible { outline: 2px solid var(--au-ink); outline-offset: 2px; }
.qa-con.fv-plugins-bootstrap5-row-invalid input:not(:checked) { border-color: #f1416c; background: #fff7f9; }
.qa-con label span { flex: 1; min-width: 0; }

/* Sözleşme penceresi: kök dışında açıldığı için değerler sabit yazıldı */
.qa-doc-modal .modal-dialog { display: flex; max-width: 960px; height: calc(100% - 48px); margin: 24px auto; padding: 0 16px; }
.qa-doc-modal .modal-content { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; border: 0; border-radius: 16px; }
.qa-doc-head { display: flex; flex: none; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; background: #1e1e2d; color: #fff; }
.qa-doc-head h3 { flex: 1; min-width: 0; margin: 0; color: #fff; font-size: 14px; font-weight: 700; }
.qa-doc-head a { flex: none; color: #fff; font-size: 12.5px; font-weight: 600; text-decoration: underline; text-decoration-color: #ffc700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.qa-doc-head a:hover { color: #ffc700; }
.qa-doc-close { display: grid; flex: none; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: #2b2b40; color: #fff; cursor: pointer; }
.qa-doc-close:hover { background: #3a3a54; }
.qa-doc-modal iframe { display: block; flex: 1; width: 100%; min-height: 0; border: 0; background: #fff; }

/* Kayıt başarı penceresi */
.qa-success-dialog { max-width: 440px; padding: 0 16px; }
.qa-success.modal-content { align-items: center; padding: 32px 28px 24px; border: 0; border-radius: 16px; text-align: center; font-family: Inter, "Segoe UI", system-ui, sans-serif; }
.qa-success-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: #ffc700; color: #1e1e2d; }
.qa-success h2 { margin: 0 0 8px; color: #1e1e2d; font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
.qa-success p { margin: 0 0 20px; color: #3f4254; font-size: 13px; line-height: 1.55; }
.qa-success .qa-cta { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; border: 0; border-radius: 10px; background: #ffc700; color: #1e1e2d; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.qa-success .qa-cta:hover { background: #f2bd00; color: #1e1e2d; }
.qa-success .qa-success-note { margin: 12px 0 0; color: #6f7488; font-size: 12px; }
.qa-success #timer { color: #1e1e2d; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Swal: bu sayfalarda dile uysun */
.swal2-popup .btn.btn-primary { background: #ffc700 !important; color: #1e1e2d !important; font-weight: 700; }
.swal2-popup .btn.btn-primary:hover:not(.btn-active) { background: #f2bd00 !important; color: #1e1e2d !important; }
.swal2-popup .btn.btn-light { border: 1px solid #e9ebf1; background: #fff !important; color: #1e1e2d !important; }

@media (max-width: 991.98px) {
	.qs-au { display: block; height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; background: #fff; }
	.qa-deco, .qa-aside, .qa-foot-d { display: none; }
	.qa-hero { display: block; }
	.qa-logo img { height: 50px; margin: -4px 0 0 -7px; }
	.qs-au h1 { margin-top: 12px; font-size: 27px; line-height: 1.08; letter-spacing: -.03em; }
	.qa-panel { display: block; padding: 24px 18px calc(28px + env(safe-area-inset-bottom)); overflow: visible; }
	.qa-form { margin: 0 auto; }
	.qa-foot-m { display: inline; }
	.qa-au-compact .qa-card { display: none; }
	.qa-doc-modal .modal-dialog { height: 100%; margin: 0; padding: 0; }
	.qa-doc-modal .modal-content { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.qa-route-m { display: none; }
	.qa-dot { animation: none; }
	.qa-field, .qa-cta, .qa-cta svg { transition: none; }
}
