/* ==========================================================================
   Beta programı. Bootstrap/design-system-v3 bu sayfada yüklenmez. Ürün kutuları onay kutusu (`product`)
   taşıyan etiketlerdir; seçili durum yalnız :checked ile (JS yok). Form kontrolleri ortak beta-form.css'te
   (.bf-*). Marka rengi --product-accent yalnızca çizgi/dolgu gibi metin dışı öğelerde (ProductAccent.cs
   doğrulaması); yoksa site vurgusu.
   ========================================================================== */

.tn.bp { --product-accent: var(--tn-amber); }

.tn .bp-main { padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(32px, 6vh, 72px); scroll-margin-top: 72px; }
.tn .bp-head { max-width: 52em; margin-bottom: clamp(24px, 4vh, 44px); }
.tn .bp-head .tn-eyebrow { margin-bottom: clamp(14px, 2.4vh, 24px); }
.tn .bp-head .tn-h2 { overflow-wrap: anywhere; }
.tn .bp-sub { margin-top: clamp(14px, 2.4vh, 24px); max-width: 36em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--tn-mute); }

/* Formun yazı alanları okunur genişlikte kalır; ürün ızgarası tam genişlikte. */
.tn .bp-main .bf-form { gap: clamp(22px, 3vh, 32px); }
.tn .bp-main .bf-form > :not(.bp-pick) { max-width: 880px; }

/* ----------------------------- Ürün seçimi ----------------------------- */
.tn .bp-pick { min-width: 0; margin: 0; padding: 0; border: 0; }
.tn .bp-legend { padding: 0; margin-bottom: 16px; color: var(--tn-mute); }
.tn .bp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.tn .bp-tile { position: relative; display: block; min-width: 0; cursor: pointer; }
.tn .bp-input {
    position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
    -webkit-appearance: none; appearance: none;
}
.tn .bp-card {
    position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; min-width: 0;
    padding: clamp(20px, 2.2vw, 28px); border: 1px solid var(--tn-line); border-radius: 22px; background: var(--tn-ink-2);
    transition: border-color .25s ease, background-color .25s ease;
}
.tn .bp-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 22px 22px 0 0; background: var(--product-accent); opacity: 0; transition: opacity .25s ease; }
@media (hover: hover) { .tn .bp-tile:hover .bp-card { border-color: rgba(236, 235, 230, .34); } }
.tn .bp-input:checked + .bp-card { border-color: var(--product-accent); background: var(--tn-ink-3); }
.tn .bp-input:checked + .bp-card::before { opacity: 1; }
.tn .bp-input:focus-visible + .bp-card { outline: 2px solid var(--tn-amber); outline-offset: 3px; }

.tn .bp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; color: var(--tn-mute); }
.tn .bp-tick {
    flex: none; width: 24px; height: 24px; display: grid; place-content: center;
    border: 1px solid rgba(236, 235, 230, .3); border-radius: 7px; background: var(--tn-ink);
    transition: background-color .2s ease, border-color .2s ease;
}
.tn .bp-tick::after { content: ""; width: 11px; height: 6px; margin-top: -2px; border-left: 2px solid var(--tn-ink); border-bottom: 2px solid var(--tn-ink); transform: rotate(-45deg) scale(0); transition: transform .15s ease; }
.tn .bp-input:checked + .bp-card .bp-tick { background: var(--product-accent); border-color: var(--product-accent); }
.tn .bp-input:checked + .bp-card .bp-tick::after { transform: rotate(-45deg) scale(1); }

.tn .bp-logo { display: flex; align-items: center; min-height: 84px; min-width: 0; }
.tn .bp-logo > img { max-height: 64px; max-width: min(220px, 70%); width: auto; object-fit: contain; }
.tn .bp-logo .tn-pplate { max-width: 100%; overflow: hidden; }
.tn .bp-logo .tn-pplate img { max-width: 100%; object-fit: contain; }
.tn .bp-logo .tn-pword { max-width: 100%; }
.tn .bp-logo .tn-pword b { overflow-wrap: anywhere; }

.tn .bp-name { font-size: clamp(26px, 2.4vw, 38px); font-weight: 300; letter-spacing: -0.04em; line-height: 1.05; overflow-wrap: anywhere; }
.tn .bp-tag { font-size: 16px; line-height: 1.4; color: var(--tn-bone); }
.tn .bp-desc { font-size: 14px; line-height: 1.55; color: var(--tn-mute); }

/* Kontenjan */
.tn .bp-quota { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--tn-line); display: flex; flex-direction: column; gap: 10px; }
.tn .bp-quota-l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--tn-mute); }
.tn .bp-quota-l b { font-weight: 400; color: var(--tn-bone); }
.tn .bp-bar { display: block; height: 6px; border-radius: 999px; background: var(--tn-ink-3); overflow: hidden; }
.tn .bp-input:checked + .bp-card .bp-bar { background: var(--tn-ink-2); }
.tn .bp-bar i { display: block; height: 100%; border-radius: inherit; background: var(--product-accent); }
.tn .bp-quota-n { font-size: 14px; line-height: 1.5; color: var(--tn-bone); }

/* ----------------------------- Başvuru alınmayanlar ----------------------------- */
.tn .bp-other { margin-top: clamp(40px, 7vh, 80px); }
.tn .bp-other-h { margin-bottom: 14px; color: var(--tn-mute); font-weight: 400; }
.tn .bp-other-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--tn-line); }
.tn .bp-other-row {
    display: grid; grid-template-columns: minmax(8em, 14em) auto minmax(0, 1fr); align-items: center; gap: 8px clamp(14px, 2vw, 28px);
    min-height: 44px; padding: 16px 0; border-top: 1px solid var(--tn-line); color: var(--tn-bone);
}
.tn .bp-other-name { font-size: clamp(18px, 1.6vw, 24px); font-weight: 300; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.tn .bp-other-note { font-size: 14px; line-height: 1.5; color: var(--tn-mute); }
.tn .bp-other-row:focus-visible { outline: 2px solid var(--tn-amber); outline-offset: 4px; border-radius: 6px; }
@media (hover: hover) { .tn .bp-other-row:hover .bp-other-name { color: var(--tn-amber); } }

.tn .bp-close { padding-top: clamp(40px, 8vh, 96px); padding-bottom: clamp(64px, 12vh, 140px); }

@media (max-width: 900px) {
    .tn .bp-grid { grid-template-columns: minmax(0, 1fr); }
    .tn .bp-other-row { grid-template-columns: minmax(0, 1fr) auto; }
    .tn .bp-other-note { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .tn .bp-card, .tn .bp-card::before, .tn .bp-tick, .tn .bp-tick::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
