/* OXAPPLY: olimpiyat basvuru formu (public/olympiad-apply.php) + sinav yeri satirlari (olympiad-event, olympiad-card, mentor-olympiad) */
.oxa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.oxa-main { display: grid; gap: 16px; min-width: 0; }
.oxa-card { padding: 22px; }
.oxa-h { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--hm-display, inherit); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--hm-ink, #0b2132); }
.oxa-step { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #0d618a, #078fba); color: #fff; font-size: 14px; font-weight: 800; }
.oxa-alert { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #fef3f2; color: #b42318; font-weight: 600; }

/* Sinav sekli: buyuk secilebilir kartlar */
.oxa-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.oxa-mode { position: relative; display: block; cursor: pointer; }
.oxa-mode input { position: absolute; opacity: 0; inset-inline-start: 12px; top: 12px; width: 1px; height: 1px; }
.oxa-mode-box { display: flex; align-items: flex-start; gap: 14px; min-height: 92px; height: 100%; padding: 16px; border: 2px solid var(--th-line, #d4ecf6); border-radius: 14px; background: #fff; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.oxa-mode-ic { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--th-pale, #ebf9ff); color: var(--th-sky, #168dbd); font-size: 20px; }
.oxa-mode-txt { display: grid; gap: 4px; min-width: 0; }
.oxa-mode-txt strong { font-size: 16px; font-weight: 800; color: var(--hm-ink, #0b2132); }
.oxa-mode-txt small { font-size: 13.5px; line-height: 1.45; color: var(--hm-text, #536b7b); }
.oxa-mode-tick { margin-inline-start: auto; font-size: 20px; color: var(--th-sky, #168dbd); opacity: 0; transition: opacity .15s ease; }
.oxa-mode input:checked + .oxa-mode-box { border-color: var(--th-sky, #168dbd); background: var(--th-mist, #f4fbff); box-shadow: 0 10px 26px -18px rgba(8,60,92,.6); }
.oxa-mode input:checked + .oxa-mode-box .oxa-mode-tick { opacity: 1; }
.oxa-mode input[value="onsite"] + .oxa-mode-box .oxa-mode-ic { background: #f5ecfb; color: #7a3a8f; }
.oxa-mode input[value="onsite"]:checked + .oxa-mode-box { border-color: #7a3a8f; background: #fbf7fd; }
.oxa-mode input[value="onsite"]:checked + .oxa-mode-box .oxa-mode-tick { color: #7a3a8f; }
.oxa-mode input:focus-visible + .oxa-mode-box { outline: 3px solid rgba(22,141,189,.35); outline-offset: 2px; }
.oxa-mode.is-only { cursor: default; }
.oxa-mode.is-only .oxa-mode-box { border-color: var(--th-sky, #168dbd); background: var(--th-mist, #f4fbff); }

/* Alanlar */
.oxa-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.oxa-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.oxa-field.is-full, .oxa-help.is-full { grid-column: 1 / -1; }
.oxa-field label { font-size: 14px; font-weight: 700; color: var(--hm-ink, #0b2132); }
.oxa-field input[type="text"], .oxa-field input[type="tel"], .oxa-field select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #cfe3ec; border-radius: 10px; background: #fff; font: inherit; font-size: 15px; color: var(--hm-ink, #0b2132); }
.oxa-field input[readonly] { background: var(--th-mist, #f4fbff); color: var(--hm-text, #536b7b); }
.oxa-field input:focus, .oxa-field select:focus { outline: none; border-color: var(--th-sky, #168dbd); box-shadow: 0 0 0 3px rgba(22,141,189,.15); }
.oxa-field [aria-invalid="true"] { border-color: #f04438; }
.oxa-help { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--hm-muted, #6f8796); }
.oxa-help a { color: var(--th-sky, #168dbd); font-weight: 700; }
.oxa-err { font-size: 12.5px; font-weight: 600; color: #b42318; }
.oxa-req { color: #b42318; }
.oxa-opt { font-weight: 500; color: var(--hm-muted, #6f8796); font-size: 12.5px; }
.oxa-hint, .oxa-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--hm-text, #536b7b); }
.oxa-note { padding: 12px 14px; border-radius: 10px; background: #fbf7fd; color: #5b2a6e; }
.oxa-hint i, .oxa-note i { margin-top: 3px; }
.oxa-onsite { border-color: #e6d3ef; }
.oxa-onsite .oxa-step { background: linear-gradient(135deg, #5b2a6e, #8e4aa6); }

/* Ozet karti */
.oxa-side { position: sticky; top: 96px; min-width: 0; }
.oxa-summary { padding: 0; overflow: hidden; }
.oxa-cover { margin: 0; aspect-ratio: 16 / 9; background: var(--th-mist, #f4fbff); }
.oxa-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oxa-sum-body { display: grid; gap: 12px; padding: 18px 20px 20px; }
.oxa-sum-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #087faa; }
.oxa-sum-title { margin: 0; font-family: var(--hm-display, inherit); font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: var(--hm-ink, #0b2132); overflow-wrap: anywhere; }
.oxa-sum-list { display: grid; margin: 0; }
.oxa-sum-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--th-line, #d4ecf6); }
.oxa-sum-list div[hidden] { display: none; }
.oxa-sum-list dt { font-size: 13.5px; color: var(--hm-text, #536b7b); }
.oxa-sum-list dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--hm-ink, #0b2132); text-align: end; overflow-wrap: anywhere; }
.oxa-sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--th-mist, #f4fbff); }
.oxa-sum-total span { font-size: 14px; font-weight: 700; color: var(--hm-text, #536b7b); }
.oxa-sum-total strong { font-family: var(--hm-display, inherit); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--th-deep, #083c5c); }
.oxa-submit { width: 100%; min-height: 50px; font-size: 15.5px; font-weight: 800; white-space: normal; text-align: center; }
.oxa-submit:disabled { opacity: .7; cursor: progress; }
.oxa-sum-note { display: flex; gap: 8px; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--hm-muted, #6f8796); }
.oxa-sum-note i { margin-top: 2px; color: #0f9d77; }

/* Sinav yeri satiri (bilgi sayfasi, kart sayfasi, mentor ayrintilari) */
.oxa-venue { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: #fbf7fd; border: 1px solid #ead9f2; color: #4a2259; font-size: 14px; line-height: 1.5; }
.oxa-venue i { margin-top: 3px; color: #7a3a8f; }
.oxa-venue strong { display: block; font-size: 13px; }
.oxa-venue .oxa-venue-text { white-space: pre-line; overflow-wrap: anywhere; }
.oxa-venue.is-wait { background: var(--th-mist, #f4fbff); border-color: var(--th-line, #d4ecf6); color: var(--hm-text, #536b7b); }
.oxa-venue.is-wait i { color: var(--th-sky, #168dbd); }
.oxa-reg-facts { display: grid; gap: 4px; margin: 8px 0 0; font-size: 13.5px; color: var(--hm-text, #536b7b); }
.oxc-item .oxa-venue { margin: 8px 0 0; }

/* Mentor: yuz yuze ogrencide sehir + dil */
.oxa-mentor-extra { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; width: 100%; margin-top: 8px; }
.oxa-mentor-extra label { display: grid; gap: 4px; flex: 1 1 180px; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--hm-text, #536b7b); }
.oxa-mentor-extra input, .oxa-mentor-extra select { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid #cfe3ec; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--hm-ink, #0b2132); }
.oe-pick-list li:not(:has(input[name^="mode["][value="onsite"]:checked)) .oxa-city-wrap.is-dyn { display: none; }
.oxa-mentor-extra .oxa-help { flex-basis: 100%; }

@media (max-width: 1100px) {
    .oxa-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 900px) {
    .oxa-layout { grid-template-columns: minmax(0, 1fr); }
    .oxa-side { position: static; }
    .oxa-summary { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
    .oxa-cover { aspect-ratio: auto; height: 100%; }
}
@media (max-width: 640px) {
    .oxa-card { padding: 16px; }
    .oxa-fields { grid-template-columns: minmax(0, 1fr); }
    .oxa-summary { display: block; }
    .oxa-cover { aspect-ratio: 16 / 9; height: auto; }
    .oxa-h { font-size: 16.5px; }
}
@media (hover: none) {
    .oxa-mode-box { transition: none; }
}
@media print {
    .oxc-page .oxa-venue { margin-top: 2mm; padding: 1.5mm 2.5mm; border-radius: 2mm; font-size: 8.5pt; line-height: 1.3; }
}
/* Giris karti SVG'si RTL sayfada (ar/fa/ur) sola dayali cizilir: yazilar kartin disina tasmasin */
.oxc-svg { direction: ltr; unicode-bidi: isolate; }
