/* Teklif seçimi: Ekonomik / Standart / Premium / VIP (offer-tiers.js) */
#offers-dialog{--o-line:#2a2a32;--o-line-2:#3a3a44;--o-muted:#a3a3ae;--o-dim:#74747f;--o-ease:cubic-bezier(.2,.8,.2,1)}
#offers-dialog[open]{animation:offerDialogIn .3s var(--o-ease)}
@keyframes offerDialogIn{from{opacity:0;transform:translateY(12px) scale(.985)}}
.offer-stack{display:grid;gap:8px}
#offer-list .offer.offer-tier{
 --tone:#9aa3b5;--tone-bg:#1b1d24;--tone-line:#2d313c;
 position:relative;margin:0!important;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:14px;width:100%;
 padding:14px 14px 14px 14px;border:1px solid var(--o-line);border-radius:16px;background:linear-gradient(180deg,#17171c,#121216);
 color:#f5f5f7;text-align:start;cursor:pointer;opacity:0;transform:translateY(8px);
 animation:offerIn .45s var(--o-ease) forwards;animation-delay:calc(var(--i,0) * 45ms);
 transition:border-color .2s,transform .2s var(--o-ease),box-shadow .2s,background .2s}
@keyframes offerIn{to{opacity:1;transform:none}}
#offer-list .offer.offer-tier:hover:not(:disabled),#offer-list .offer.offer-tier:focus-visible{border-color:var(--tone-line);transform:translateY(-2px);box-shadow:0 14px 30px -14px #000,0 0 0 1px var(--tone-line) inset;background:linear-gradient(180deg,#1b1b21,#141418)}
#offer-list .offer.offer-tier:focus-visible{outline:2px solid var(--tone);outline-offset:2px}
#offer-list .offer-tier[data-tier=economy]{--tone:#5fdba8;--tone-bg:#0f241c;--tone-line:#1f5a44}
#offer-list .offer-tier[data-tier=standard]{--tone:#7aa8ff;--tone-bg:#111d33;--tone-line:#25406e}
#offer-list .offer-tier[data-tier=premium]{--tone:#c69cff;--tone-bg:#1f1531;--tone-line:#4a2f73}
#offer-list .offer-tier[data-tier=vip]{--tone:#ffcf6b;--tone-bg:#2a2010;--tone-line:#6b5220}
.offer-tier[data-tier=vip]{background:radial-gradient(260px 90px at 0 0,#ffcf6b14,transparent 70%),linear-gradient(180deg,#19171a,#131215)!important}
.offer-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--tone-bg);border:1px solid var(--tone-line);color:var(--tone)}
.offer-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.offer-tier[data-tier=vip] .offer-icon{box-shadow:0 0 18px -4px #ffcf6b66}
.offer-text{min-width:0}
.offer-text strong{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#fff;font-size:16px;letter-spacing:-.01em}
.offer-text small{display:block;margin-top:3px;color:var(--o-dim);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.offer-badge{font-style:normal;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.02em;background:#0f241c;color:#8ff0c7;border:1px solid #1f5a44}
.offer-badge[data-badge=stock]{background:#111d33;color:#9cc0ff;border-color:#25406e}
#offer-list .offer.offer-tier .offer-price{font-size:18px;font-weight:800;letter-spacing:-.02em;color:#fff!important;white-space:nowrap}
.offer-go{color:var(--o-dim);font-size:22px;line-height:1;transition:transform .2s var(--o-ease),color .2s}
#offer-list .offer.offer-tier:hover .offer-go{transform:translateX(3px);color:var(--tone)}
[dir=rtl] .offer-go{transform:scaleX(-1)}
[dir=rtl] #offer-list .offer.offer-tier:hover .offer-go{transform:scaleX(-1) translateX(3px)}
@media(max-width:480px){
 #offer-list .offer.offer-tier{gap:10px;padding:12px}
 .offer-icon{width:38px;height:38px;border-radius:11px}
 .offer-go{display:none}
 #offer-list .offer.offer-tier{grid-template-columns:auto minmax(0,1fr) auto}
}
@media(prefers-reduced-motion:reduce){#offer-list .offer.offer-tier,#offers-dialog[open]{animation:none;opacity:1;transform:none}}

/* Yönetim paneli · teklif maliyet ve kâr incelemesi */
.offer-costs{margin-bottom:20px}
.offer-costs-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.offer-costs-form label{display:grid;gap:6px;min-width:200px;flex:1;max-width:320px;font-size:13px}
.offer-costs-form button{min-height:44px;padding:0 22px}
.offer-costs-error{color:#ff8b9d}
.offer-costs-price-actions{display:flex;gap:6px;margin-top:5px}
.offer-costs-price-actions button{padding:3px 7px;border:1px solid #363640;border-radius:6px;background:#1b1d24;color:inherit;cursor:pointer}
.offer-costs-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:16px 0 12px}
.offer-costs-stats>div{padding:14px 16px;border:1px solid #2a2a32;border-radius:14px;background:#111115}
.offer-costs-stats small{display:block;color:#8a8a95;font-size:12px}
.offer-costs-stats b{display:block;margin-top:4px;font-size:20px;letter-spacing:-.02em}
.offer-costs-table-wrap{overflow-x:auto;border:1px solid #2a2a32;border-radius:14px}
.offer-costs-table{width:100%;border-collapse:collapse;font-size:13.5px;font-variant-numeric:tabular-nums;white-space:nowrap}
.offer-costs-table th{position:sticky;top:0;padding:11px 12px;background:#16161b;color:#8a8a95;font-size:11.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;text-align:start;border-bottom:1px solid #2a2a32}
.offer-costs-table td{padding:11px 12px;border-bottom:1px solid #1f1f25;vertical-align:middle}
.offer-costs-table tbody tr:hover td{background:#15151a}
.offer-costs-table tbody tr:last-child td{border-bottom:0}
.offer-costs-table td small{display:block;color:#74747f;font-size:12px}
.offer-costs-legacy{color:#c69cff;font-weight:700}
.offer-costs-tier{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid #2d313c;background:#1b1d24;color:#c9cfdb}
.offer-costs-tier[data-tier=economy]{color:#8ff0c7;border-color:#1f5a44;background:#0f241c}
.offer-costs-tier[data-tier=standard]{color:#9cc0ff;border-color:#25406e;background:#111d33}
.offer-costs-tier[data-tier=premium]{color:#d6b8ff;border-color:#4a2f73;background:#1f1531}
.offer-costs-tier[data-tier=vip]{color:#ffd88a;border-color:#6b5220;background:#2a2010}
.offer-costs-table .is-profit b{color:#8ff0c7}
.offer-costs-table .is-loss b{color:#ff8b9d}
.offer-costs-margin{display:inline-block;min-width:64px;padding:3px 8px;border-radius:8px;background:linear-gradient(90deg,#34d39933 calc(var(--m)*1%),#22222a 0);font-weight:700}
.offer-costs>:not(.panel-head){margin-inline:20px}
.offer-costs{padding-bottom:20px}
@media(max-width:640px){.offer-costs>:not(.panel-head){margin-inline:12px}}
