/* ====== YENİ SEFER PENCERESİ (sadeleştirilmiş akış) ====== */
.sefer-adim { display: flex; flex-direction: column; gap: 8px; }
.sefer-adim-baslik { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #e2e8f0; }
.sefer-adim-no {
    width: 20px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    background: #6366f1; color: #fff; font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.sefer-input {
    width: 100%; padding: 8px 10px; background: rgba(55, 65, 81, 0.8); border: 1px solid #4b5563; border-radius: 8px;
    color: #e5e7eb; font-size: 13px;
}
.sefer-input:disabled { background: rgba(31, 41, 55, 0.9); color: #9ca3af; cursor: not-allowed; }
.sefer-input:focus { outline: none; border-color: rgba(99, 102, 241, 0.7); box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2); }

/* Araç kartları */
.sefer-arac-kartlari { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; max-height: 236px; overflow-y: auto; padding: 2px; }
.sefer-arac-kart {
    text-align: left; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(75, 85, 99, 0.7);
    background: rgba(31, 41, 55, 0.6); color: #e5e7eb; transition: border-color .15s, background .15s, transform .1s;
    display: flex; flex-direction: column; gap: 5px; cursor: pointer;
}
.sefer-arac-kart:hover:not(.pasif) { border-color: rgba(129, 140, 248, 0.8); transform: translateY(-1px); }
.sefer-arac-kart.secili { border-color: #818cf8; background: rgba(99, 102, 241, 0.16); box-shadow: 0 0 0 1px #818cf8 inset; }
.sefer-arac-kart.pasif { opacity: .5; cursor: not-allowed; }
.sefer-arac-ust { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sefer-arac-ad { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sefer-arac-kod { font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 4px; background: rgba(251, 191, 36, 0.18); color: #fbbf24; flex-shrink: 0; }
.sefer-arac-alt { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: #9ca3af; }
.sefer-arac-alt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sefer-arac-yakit { height: 4px; border-radius: 99px; background: rgba(75, 85, 99, 0.6); overflow: hidden; }
.sefer-arac-yakit > div { height: 100%; border-radius: 99px; }
.sefer-arac-neden { font-size: 10.5px; color: #fca5a5; font-weight: 600; }
.sefer-bos-durum { font-size: 13px; color: #9ca3af; padding: 12px; border: 1px dashed #4b5563; border-radius: 10px; text-align: center; }
.sefer-link { color: #a5b4fc; font-weight: 600; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.sefer-link:hover { color: #c7d2fe; }

/* Güzergah */
.sefer-guzergah-satir { display: flex; align-items: center; gap: 8px; }
.sefer-nokta { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sefer-nokta--kalkis { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.sefer-nokta--ara { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }
.sefer-nokta--varis { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
.sefer-harita-btn {
    display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 8px; flex-shrink: 0;
    background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.45); color: #fbbf24; font-size: 12px; font-weight: 700;
}
.sefer-harita-btn:hover { background: rgba(245, 158, 11, 0.28); }
.sefer-ipucu { font-size: 12px; color: #fde68a; background: rgba(120, 53, 15, 0.25); border: 1px solid rgba(245, 158, 11, 0.35); border-radius: 10px; padding: 10px 12px; }

/* Zaman çipleri */
.sefer-zaman-cipleri { display: flex; flex-wrap: wrap; gap: 6px; }
.sefer-zaman-cip {
    padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #cbd5e1;
    border: 1px solid rgba(75, 85, 99, 0.8); background: rgba(31, 41, 55, 0.6); transition: all .15s;
}
.sefer-zaman-cip:hover { border-color: rgba(129, 140, 248, 0.7); }
.sefer-zaman-cip.aktif { background: rgba(99, 102, 241, 0.2); border-color: #818cf8; color: #c7d2fe; }

/* Gelişmiş ayarlar */
.sefer-gelismis { border: 1px solid rgba(75, 85, 99, 0.5); border-radius: 12px; padding: 10px 12px; background: rgba(17, 24, 39, 0.4); }
.sefer-gelismis > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #cbd5e1; }
.sefer-gelismis > summary::-webkit-details-marker { display: none; }
.sefer-gelismis > summary::after { content: '▾'; margin-left: auto; color: #6b7280; transition: transform .15s; }
.sefer-gelismis[open] > summary::after { transform: rotate(180deg); }
.sefer-secenek { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #e5e7eb; cursor: pointer; }
.sefer-secenek input { margin-top: 3px; width: 15px; height: 15px; flex-shrink: 0; accent-color: #6366f1; }
.sefer-secenek small { color: #9ca3af; font-size: 11px; }

/* Fırsat bandı */
.sefer-firsat-bandi {
    display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; color: #fef3c7;
    background: linear-gradient(90deg, rgba(180, 83, 9, 0.35), rgba(245, 158, 11, 0.12)); border: 1px solid rgba(251, 191, 36, 0.55);
}

@media (max-width: 640px) {
    .sefer-arac-kartlari { grid-template-columns: 1fr 1fr; max-height: 200px; }
    .sefer-harita-btn span { display: none; }
}

/* ====== HARİTA: FIRSAT SEFERLERİ ====== */
.firsat-marker-kap { background: transparent; border: none; }
.firsat-marker {
    display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; white-space: nowrap;
    background: linear-gradient(135deg, #f59e0b, #d97706); color: #1c1917; font-size: 12px; font-weight: 800;
    border: 2px solid #fef3c7; box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); animation: firsatNabiz 1.8s infinite;
    cursor: pointer;
}
@keyframes firsatNabiz {
    0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.65); }
    70% { box-shadow: 0 0 0 14px rgba(251, 191, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}
.firsat-cizgi { animation: firsatCizgi 1.2s linear infinite; }
@keyframes firsatCizgi { to { stroke-dashoffset: -16; } }
.firsat-popup { min-width: 210px; }
.firsat-popup-baslik { font-weight: 800; color: #f59e0b; font-size: 13px; }
.firsat-popup-rota { font-weight: 700; margin-top: 2px; }
.firsat-popup-bilgi { display: flex; justify-content: space-between; font-size: 12px; margin: 6px 0; color: #64748b; }
.firsat-popup-btn { width: 100%; padding: 6px; border-radius: 8px; background: #f59e0b; color: #1c1917; font-weight: 800; font-size: 12px; }
.firsat-popup-btn:hover { background: #fbbf24; }

.harita-firsat-rozeti {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 650;
    padding: 6px 14px; border-radius: 999px; font-size: 12.5px; color: #1c1917; font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b); border: 2px solid #fef3c7; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    animation: firsatNabiz 2.2s infinite;
}
.harita-firsat-rozeti.hidden { display: none; }

/* Haritadan seçim modu */
.harita-secim-bandi {
    position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%); z-index: 700;
    display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
    padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; color: #fff;
    background: rgba(79, 70, 229, 0.92); border: 1px solid rgba(199, 210, 254, 0.6); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.harita-secim-bandi button { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.18); font-size: 12px; }
.harita-secim-bandi button:hover { background: rgba(255, 255, 255, 0.3); }

.otogar-vurgu .live-otogar-marker > div { animation: firsatNabiz 1.2s infinite; border-radius: 6px; }

/* Sefer tamamlanınca yükselen gelir */
.harita-gelir-kap { background: transparent; border: none; pointer-events: none; }
.harita-gelir-float {
    text-align: center; font-weight: 900; font-size: 16px; color: #4ade80; white-space: nowrap;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 12px rgba(74, 222, 128, 0.6);
    animation: gelirYuksel 2.5s ease-out forwards;
}
@keyframes gelirYuksel {
    0% { transform: translateY(8px) scale(.7); opacity: 0; }
    15% { transform: translateY(0) scale(1.15); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateY(-46px) scale(1); opacity: 0; }
}

/* ====== OYUN DÖNGÜSÜ: seri, yolda karar, çark, başarımlar ====== */
.hd-seri-chip {
    margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800;
    background: rgba(249, 115, 22, 0.18); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.45); cursor: help;
}
.hd-seri-chip.sicak { background: linear-gradient(135deg, #f97316, #dc2626); color: #fff; border-color: #fed7aa; animation: firsatNabiz 2s infinite; }
.hd-seri-chip.hidden { display: none; }

.yolda-karar-kart {
    position: fixed; left: 16px; bottom: 90px; z-index: 10050; width: min(360px, calc(100vw - 32px));
    background: #0f172a; border: 1px solid rgba(251, 191, 36, 0.55); border-radius: 14px; padding: 12px 14px 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); color: #e2e8f0; animation: ykkGiris .3s ease-out;
}
.yolda-karar-kart.kapaniyor { opacity: 0; transform: translateY(10px); transition: all .25s; }
@keyframes ykkGiris { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ykk-ust { display: flex; justify-content: space-between; align-items: center; }
.ykk-baslik { font-weight: 800; color: #fbbf24; font-size: 14px; }
.ykk-harita { font-size: 14px; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,0.06); }
.ykk-rota { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.ykk-metin { font-size: 13px; margin: 8px 0 10px; }
.ykk-butonlar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ykk-butonlar button { padding: 8px 6px; border-radius: 10px; font-size: 12px; font-weight: 700; line-height: 1.25; }
.ykk-butonlar button[data-secim="a"] { background: #4f46e5; color: #fff; }
.ykk-butonlar button[data-secim="b"] { background: rgba(71, 85, 105, 0.7); color: #e2e8f0; }
.ykk-butonlar button:hover { filter: brightness(1.15); }
.ykk-sure { height: 3px; background: rgba(71, 85, 105, 0.6); border-radius: 99px; margin-top: 10px; overflow: hidden; }
.ykk-sure > div { height: 100%; width: 100%; background: #fbbf24; }



.basarim-satir { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(31, 41, 55, 0.55); border: 1px solid rgba(75, 85, 99, 0.45); }
.basarim-satir.tamam { border-color: rgba(250, 204, 21, 0.6); }
.basarim-rozet { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.basarim-rozet--bos { display: flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 50%; background: rgba(71, 85, 105, 0.4); filter: grayscale(1); opacity: .6; }
.basarim-cubuk { height: 5px; border-radius: 99px; background: rgba(71, 85, 105, 0.6); margin-top: 4px; overflow: hidden; }
.basarim-cubuk > div { height: 100%; background: linear-gradient(90deg, #f59e0b, #fde047); }

.basarim-toast {
    position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 10060; cursor: pointer;
    display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 14px; color: #fff;
    background: linear-gradient(135deg, #1e293b, #0f172a); border: 1px solid #fbbf24; box-shadow: 0 10px 30px rgba(0,0,0,.5);
    animation: ykkGiris .35s ease-out;
}
.basarim-toast img { width: 44px; height: 44px; object-fit: contain; }
.basarim-toast.kapaniyor { opacity: 0; transition: opacity .35s; }

