/* ═══════════════ YENİ NESİL CRM — TASARIM SİSTEMİ (mobil öncelikli) ═══════════════ */
.crm {
    --c-bg: #0a0f1e; --c-s1: #111a30; --c-s2: #16213c; --c-s3: #1d2a4a;
    --c-line: rgba(148, 163, 255, .14); --c-text: #e8ecff; --c-muted: #93a0c8;
    --c-acc: #6c8cff; --c-acc2: #a06bff; --c-ok: #34d399; --c-warn: #fbbf24; --c-bad: #f87171; --c-info: #38bdf8;
    --r: 16px; --r-sm: 11px;
    color: var(--c-text); font-family: 'Inter', system-ui, sans-serif; font-size: 15px;
    padding-bottom: 92px; max-width: 1180px; margin: 0 auto;
}
.crm *, .crm *::before, .crm *::after { box-sizing: border-box; }
.crm a { color: inherit; text-decoration: none; }
.crm h1, .crm h2, .crm h3, .crm h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
.crm h1 { font-size: 1.45rem; } .crm h2 { font-size: 1.1rem; } .crm h3 { font-size: 1rem; }
.crm .muted { color: var(--c-muted); } .crm .small { font-size: .82rem; } .crm .tiny { font-size: .72rem; }
.crm .ok { color: var(--c-ok); } .crm .warn { color: var(--c-warn); } .crm .bad { color: var(--c-bad); } .crm .info { color: var(--c-info); }
.crm .row:not(.bes-wizard-wrapper *):not(.pp-form-wrapper *):not(.pp-wizard-page *) { display: flex; gap: 10px; align-items: center; } .crm .wrap { flex-wrap: wrap; }
.crm .between { justify-content: space-between; } .crm .grow { flex: 1; min-width: 0; }
.crm .stack { display: flex; flex-direction: column; gap: 12px; }
.crm .gap-s { gap: 6px; } .crm .mt { margin-top: 14px; } .crm .mb { margin-bottom: 14px; }
.crm .trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Bootstrap .row çakışmasını sıfırla (.row > * { width:100% } ve negatif kenar boşlukları) - Yalnızca saf CRM elemanlarında */
.crm:not(.pp-wizard-page) .row:not(.bes-wizard-wrapper *):not(.pp-form-wrapper *):not(.pp-wizard-page *) { --bs-gutter-x: 0; --bs-gutter-y: 0; margin: 0; flex-wrap: nowrap; }
.crm .row.wrap { flex-wrap: wrap; }
.crm:not(.pp-wizard-page) .row:not(.bes-wizard-wrapper *):not(.pp-form-wrapper *):not(.pp-wizard-page *) > * { width: auto; max-width: none; flex-shrink: 1; padding-left: 0; padding-right: 0; margin-top: 0; }
.crm .row > .grow { flex: 1 1 0; min-width: 0; }

/* Üst gezinme (kaydırılabilir hap menü) */
.crm-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; margin-bottom: 6px; }
.crm-nav::-webkit-scrollbar { display: none; }
.crm-nav a { flex: 0 0 auto; padding: 9px 15px; border-radius: 999px; background: var(--c-s1); border: 1px solid var(--c-line); color: var(--c-muted); font-weight: 600; font-size: .86rem; white-space: nowrap; transition: .18s; }
.crm-nav a:hover { color: var(--c-text); border-color: var(--c-acc); }
.crm-nav a.aktif { background: linear-gradient(135deg, var(--c-acc), var(--c-acc2)); color: #fff; border-color: transparent; box-shadow: 0 6px 20px -8px var(--c-acc); }

/* Alt sekme çubuğu (mobil) */
.crm-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; background: rgba(10, 15, 30, .92); backdrop-filter: blur(14px); border-top: 1px solid var(--c-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.crm-bottom a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; color: var(--c-muted); font-size: .66rem; font-weight: 600; border-radius: 12px; }
.crm-bottom a i { font-size: 1.25rem; } .crm-bottom a.aktif { color: #fff; } .crm-bottom a.aktif i { color: var(--c-acc); }
@media (min-width: 900px) { .crm-bottom { display: none; } .crm { padding-bottom: 30px; } }

/* Başlık */
.crm-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; margin: 6px 0 16px; }
.crm-head .alt { color: var(--c-muted); font-size: .86rem; margin-top: 3px; }
.crm-geri { display: inline-flex; align-items: center; gap: 6px; color: var(--c-muted); font-size: .85rem; margin-bottom: 6px; }
.crm-geri:hover { color: var(--c-text); }

/* Kartlar */
.crm-card { background: linear-gradient(180deg, var(--c-s1), var(--c-bg)); border: 1px solid var(--c-line); border-radius: var(--r); padding: 16px; }
.crm-card.vurgu { border-color: rgba(108, 140, 255, .45); box-shadow: 0 10px 40px -18px var(--c-acc); }
.crm-card h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.crm-card h2 i { color: var(--c-acc); }
a.crm-card:hover, .crm-item:hover { border-color: rgba(108, 140, 255, .5); transform: translateY(-1px); }
.crm-item { display: block; background: var(--c-s1); border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px; transition: .18s; }
.crm-liste { display: flex; flex-direction: column; gap: 10px; }

/* KPI */
.crm-kpi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
@media (min-width: 700px) { .crm-kpi { grid-template-columns: repeat(4, 1fr); } }
.crm-kpi > a, .crm-kpi > div { background: var(--c-s1); border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px; display: block; transition: .18s; }
.crm-kpi > a:hover { border-color: var(--c-acc); }
.crm-kpi .sayi { font-size: 1.9rem; font-weight: 800; line-height: 1.1; background: linear-gradient(135deg, #fff, var(--c-acc)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crm-kpi .etiket { color: var(--c-muted); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.crm-kpi .uyari .sayi { background: linear-gradient(135deg, #fff, var(--c-warn)); -webkit-background-clip: text; background-clip: text; }

/* Izgara */
.crm-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .crm-grid.iki { grid-template-columns: 1fr 1fr; } .crm-grid.uc { grid-template-columns: repeat(3, 1fr); } .crm-grid.yan { grid-template-columns: 2fr 1fr; } }

/* Rozet */
.crm-rozet { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--c-s3); color: var(--c-muted); white-space: nowrap; }
.crm-rozet.mavi { background: rgba(108, 140, 255, .16); color: #a9bbff; } .crm-rozet.yesil { background: rgba(52, 211, 153, .15); color: var(--c-ok); }
.crm-rozet.sari { background: rgba(251, 191, 36, .15); color: var(--c-warn); } .crm-rozet.kirmizi { background: rgba(248, 113, 113, .15); color: var(--c-bad); }
.crm-rozet.camgobegi { background: rgba(56, 189, 248, .15); color: var(--c-info); } .crm-rozet.mor { background: rgba(160, 107, 255, .16); color: #c4a5ff; }
.crm-rozet.canli::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-bad); animation: crmNabiz 1.3s infinite; }
@keyframes crmNabiz { 0% { box-shadow: 0 0 0 0 rgba(248, 113, 113, .7); } 100% { box-shadow: 0 0 0 9px rgba(248, 113, 113, 0); } }

/* Düğmeler */
.crm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-s2); color: var(--c-text); font-weight: 650; font-size: .92rem; cursor: pointer; transition: .18s; font-family: inherit; }
.crm-btn:hover { border-color: var(--c-acc); } .crm-btn:disabled { opacity: .5; cursor: not-allowed; }
.crm-btn.ana { background: linear-gradient(135deg, var(--c-acc), var(--c-acc2)); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -10px var(--c-acc); }
.crm-btn.ana:hover { filter: brightness(1.1); }
.crm-btn.yesil { background: linear-gradient(135deg, #10b981, #34d399); color: #052e22; border-color: transparent; }
.crm-btn.tehlike { background: rgba(248, 113, 113, .12); color: var(--c-bad); border-color: rgba(248, 113, 113, .3); }
.crm-btn.hayalet { background: transparent; } .crm-btn.buyuk { min-height: 54px; font-size: 1.02rem; border-radius: 14px; padding: 0 24px; } .crm-btn.kucuk { min-height: 36px; padding: 0 12px; font-size: .82rem; border-radius: 10px; }
.crm-btn.tam { width: 100%; }

/* Form */
.crm-alan { display: flex; flex-direction: column; gap: 6px; }
.crm-alan > label, .crm-etiket { font-size: .78rem; font-weight: 650; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; }
.crm-girdi, .crm select.crm-girdi, .crm textarea.crm-girdi { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-line); border-radius: 12px; font-size: 1rem; font-family: inherit; outline: none; transition: .15s; }
.crm-girdi:focus { border-color: var(--c-acc); box-shadow: 0 0 0 3px rgba(108, 140, 255, .18); }
.crm textarea.crm-girdi { min-height: 96px; resize: vertical; }
.crm-form { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .crm-form.iki { grid-template-columns: 1fr 1fr; } .crm-form .tam { grid-column: 1 / -1; } }

/* Çoklu seçim çipleri ve segment */
.crm-cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.crm-cip { padding: 8px 14px; border-radius: 999px; background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-muted); font-size: .84rem; font-weight: 600; cursor: pointer; user-select: none; transition: .15s; }
.crm-cip:hover { border-color: var(--c-acc); color: var(--c-text); }
.crm-cip.secili { background: rgba(108, 140, 255, .2); border-color: var(--c-acc); color: #fff; }
.crm-segment { display: flex; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 14px; padding: 4px; gap: 4px; }
.crm-segment button { flex: 1; min-height: 42px; border: 0; background: transparent; color: var(--c-muted); border-radius: 10px; font-weight: 650; cursor: pointer; font-family: inherit; font-size: .88rem; transition: .15s; }
.crm-segment button.secili { background: linear-gradient(135deg, var(--c-acc), var(--c-acc2)); color: #fff; }

/* Filtre paneli */
.crm-filtre { background: var(--c-s1); border: 1px solid var(--c-line); border-radius: var(--r); padding: 4px 14px; margin-bottom: 14px; }
.crm-filtre summary { cursor: pointer; padding: 12px 0; font-weight: 650; list-style: none; display: flex; align-items: center; gap: 8px; }
.crm-filtre summary::-webkit-details-marker { display: none; }
.crm-filtre[open] summary { border-bottom: 1px solid var(--c-line); margin-bottom: 12px; }
.crm-filtre .crm-form { padding-bottom: 14px; }

/* Arama çubuğu */
.crm-ara { position: relative; } .crm-ara i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--c-muted); }
.crm-ara .crm-girdi { padding-left: 42px; }

/* Avatar */
.crm-avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--c-acc), var(--c-acc2)); }
.crm-avatar.k { width: 34px; height: 34px; flex-basis: 34px; border-radius: 11px; font-size: .8rem; }

/* Zaman çizelgesi */
.crm-zaman { position: relative; padding-left: 22px; } .crm-zaman::before { content: ''; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--c-line); }
.crm-zaman > div { position: relative; padding-bottom: 14px; } .crm-zaman > div::before { content: ''; position: absolute; left: -20px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-s3); border: 2px solid var(--c-acc); }

/* Yapışkan eylem çubuğu (mobil alt) */
.crm-eylem { position: sticky; bottom: 78px; z-index: 50; display: flex; gap: 10px; padding: 12px; background: rgba(10, 15, 30, .94); backdrop-filter: blur(12px); border: 1px solid var(--c-line); border-radius: 18px; margin-top: 16px; }
.crm-eylem .crm-btn { flex: 1; }
@media (min-width: 900px) { .crm-eylem { bottom: 12px; } }

/* Adım göstergesi */
.crm-adimlar { display: flex; gap: 6px; margin-bottom: 16px; }
.crm-adimlar > div { flex: 1; text-align: center; padding: 10px 4px; border-radius: 12px; background: var(--c-s1); border: 1px solid var(--c-line); color: var(--c-muted); font-size: .74rem; font-weight: 700; }
.crm-adimlar > div.aktif { background: rgba(108, 140, 255, .18); border-color: var(--c-acc); color: #fff; }
.crm-adimlar > div.bitti { color: var(--c-ok); border-color: rgba(52, 211, 153, .35); }

/* Kontrol listesi */
.crm-kontrol { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--c-s1); border: 1px solid var(--c-line); }
.crm-kontrol .ikon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c-s3); font-size: 1.1rem; flex: 0 0 38px; }
.crm-kontrol.tamam { border-color: rgba(52, 211, 153, .4); } .crm-kontrol.tamam .ikon { background: rgba(52, 211, 153, .18); color: var(--c-ok); }
.crm-kontrol.hata { border-color: rgba(248, 113, 113, .4); } .crm-kontrol.hata .ikon { background: rgba(248, 113, 113, .16); color: var(--c-bad); }

/* Ses seviye göstergesi */
.crm-seviye { height: 10px; border-radius: 999px; background: var(--c-bg); overflow: hidden; border: 1px solid var(--c-line); }
.crm-seviye > div { height: 100%; background: linear-gradient(90deg, var(--c-ok), var(--c-warn), var(--c-bad)); transition: width .1s; }

/* Canlı görüşme */
.crm-sayac { font-size: 3rem; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; letter-spacing: -.02em; }
.crm-kayit { display: inline-flex; align-items: center; gap: 8px; color: var(--c-bad); font-weight: 700; font-size: .84rem; }
.crm-kayit::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c-bad); animation: crmNabiz 1.3s infinite; }
.crm-kayit.duran { color: var(--c-warn); } .crm-kayit.duran::before { background: var(--c-warn); animation: none; }
.crm-kontrolpaneli { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.crm-kontrolpaneli .crm-btn { flex-direction: column; min-height: 78px; gap: 4px; font-size: .8rem; } .crm-kontrolpaneli .crm-btn i { font-size: 1.5rem; }
.crm-kontrolpaneli .crm-btn.acik { background: rgba(251, 191, 36, .16); border-color: var(--c-warn); color: var(--c-warn); }

/* Transkript balonları */
.crm-transkript { display: flex; flex-direction: column; gap: 8px; max-height: 52vh; overflow-y: auto; padding: 4px; scroll-behavior: smooth; }
.crm-balon { max-width: 88%; padding: 10px 13px; border-radius: 14px; background: var(--c-s2); border: 1px solid var(--c-line); font-size: .93rem; line-height: 1.45; }
.crm-balon .kim { font-size: .8rem; font-weight: 600; text-transform: none; letter-spacing: .01em; margin-bottom: 4px; color: var(--c-muted); display: flex; align-items: center; gap: 8px; }
.crm-balon .kim b { color: #f8fafc; font-weight: 700; font-size: .85rem; }
.crm-balon.temsilci { align-self: flex-end; background: rgba(108, 140, 255, .16); border-color: rgba(108, 140, 255, .4); }
.crm-balon.musteri { align-self: flex-start; }
.crm-balon.diger { align-self: flex-start; background: rgba(160, 107, 255, .12); border-color: rgba(160, 107, 255, .35); }
.crm-balon.belirsiz { align-self: flex-start; border-style: dashed; }
.crm-balon button { background: none; border: 0; color: var(--c-acc); font-size: .68rem; cursor: pointer; padding: 0; font-family: inherit; }

/* İlerleme çubukları */
.crm-bar { height: 9px; background: var(--c-bg); border-radius: 999px; overflow: hidden; border: 1px solid var(--c-line); }
.crm-bar > div { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--c-acc), var(--c-acc2)); }
.crm-bar.iyi > div { background: linear-gradient(90deg, #10b981, #34d399); } .crm-bar.orta > div { background: linear-gradient(90deg, #f59e0b, #fbbf24); } .crm-bar.kotu > div { background: linear-gradient(90deg, #ef4444, #f87171); }
.crm-puan { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; border: 4px solid var(--c-acc); background: var(--c-bg); flex: 0 0 66px; }

/* Harita */
.crm-harita { width: 100%; height: 56vh; min-height: 320px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-s1); z-index: 1; }
.crm-harita.kisa { height: 300px; min-height: 240px; }
.crm-harita-tam { height: calc(100vh - 330px); min-height: 380px; }
/* Global img/svg kurallarının (max-width, height:auto, display) Leaflet karolarını bozmasını engelle */
.crm-harita { position: relative; isolation: isolate; }
.crm-harita.leaflet-container { background: #e9e5dc; font: inherit; }
.crm-harita .leaflet-pane img, .crm-harita .leaflet-tile, .crm-harita .leaflet-marker-icon, .crm-harita .leaflet-marker-shadow {
    max-width: none !important; max-height: none !important; margin: 0; padding: 0; border: 0; box-shadow: none; border-radius: 0; display: block;
}
.crm-harita .leaflet-tile { width: 256px !important; height: 256px !important; }
/* ArkasyaNet - Maps Kurumsal Harita Telif ve Rozet Stili */
.leaflet-container .leaflet-control-attribution,
.crm-harita .leaflet-control-attribution {
    background: rgba(10, 16, 32, 0.88) !important;
    color: #94a3b8 !important;
    border-radius: 6px !important;
    padding: 3px 10px !important;
    font-size: 11px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(6, 182, 212, 0.35) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65) !important;
    margin: 0 8px 8px 0 !important;
    line-height: 1.4 !important;
}
.leaflet-container .leaflet-control-attribution a,
.crm-harita .leaflet-control-attribution a {
    color: #38bdf8 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}
.leaflet-container .leaflet-control-attribution .leaflet-attribution-flag {
    display: none !important;
}
.ark-map-attr {
    color: #38bdf8 !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    font-family: inherit !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.45);
}
.crm-harita-ara-satir { display: flex; background: var(--c-s1, #0f1830); border: 1px solid var(--c-line, #26335a); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.crm-harita-ara-satir input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; padding: 10px 12px; font-size: .9rem; }
.crm-harita-ara-satir button { border: 0; background: #6c8cff; color: #fff; padding: 0 14px; cursor: pointer; font-size: 1rem; }
.crm-harita-ara-liste { margin-top: 6px; max-height: 220px; overflow: auto; background: var(--c-s1, #0f1830); border: 1px solid var(--c-line, #26335a); border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.crm-harita-ara-liste[hidden] { display: none; }
.crm-harita-ara-oge { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--c-line, #26335a); background: transparent; color: inherit; padding: 10px 12px; font-size: .82rem; cursor: pointer; }
.crm-harita-ara-oge:hover { background: rgba(108, 140, 255, .15); }
.crm-harita-ara-bos { padding: 10px 12px; font-size: .82rem; opacity: .75; }
.crm-pin-kap { background: transparent; border: 0; transition: opacity .2s; }
.crm-pin-kap.soluk { opacity: .6; }
.crm-pin { position: absolute; inset: 3px; display: grid; place-items: center; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); color: #fff; font-weight: 800; font-size: .7rem; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); border: 2px solid #fff; }
.crm-pin > * { transform: rotate(45deg); }
.crm-pin-nabiz { position: absolute; inset: 0; border-radius: 50%; border: 3px solid; animation: crmPin 1.6s infinite; }
@keyframes crmPin { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.crm-sheet { background: var(--c-s1); border: 1px solid rgba(108, 140, 255, .4); border-radius: var(--r); padding: 14px; margin-top: 10px; box-shadow: 0 -10px 40px -24px var(--c-acc); animation: crmYuk .22s ease-out; }
@keyframes crmYuk { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Lead Radar Koyu Neon Fintech Karoları */
.leaflet-tile.crm-fintech-tiles,
.crm-fintech-tiles {
    filter: invert(100%) hue-rotate(185deg) brightness(85%) contrast(92%) saturate(75%) !important;
}

/* Lead Radar Teardrop Pin Stilleri */
.lr-active-pin-wrap {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    user-select: none !important;
}
.lr-marker-pin-wrap {
    position: relative;
    width: 42px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}
.lr-marker-pin-wrap:hover {
    transform: scale(1.22) translateY(-5px);
    z-index: 1000 !important;
}
.lr-marker-pin-wrap:hover .lr-marker-pin {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 24px rgba(6, 182, 212, 0.9) !important;
}
.lr-marker-pin {
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 0 2.5px #fff;
    z-index: 2;
    transition: all 0.2s;
}
.lr-marker-glyph {
    transform: rotate(45deg);
    font-size: 17px;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}
.lr-marker-shadow {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 5px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    filter: blur(1.5px);
    z-index: 1;
}
.lr-marker-pulse {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid #ef4444;
    animation: lrPinPulseRipple 2.4s infinite ease-out;
    pointer-events: none;
    z-index: 0;
}
@keyframes lrPinPulseRipple {
    0%, 75% { transform: translateX(-50%) scale(0.3); opacity: 0; }
    82% { transform: translateX(-50%) scale(0.4); opacity: 1; border-color: #ef4444; }
    100% { transform: translateX(-50%) scale(2.0); opacity: 0; border-color: rgba(239, 68, 68, 0); }
}
.lr-marker-bounce-box {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lrPinBounce 2.4s infinite ease-in-out;
    transform-origin: bottom center;
    z-index: 2;
}
@keyframes lrPinBounce {
    0%, 55%, 100% { transform: translateY(0) scale(1, 1); animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1); }
    62% { transform: translateY(2px) scale(1.08, 0.92); }
    72% { transform: translateY(-20px) scale(0.94, 1.08); animation-timing-function: cubic-bezier(0.32, 0, 0.67, 0); }
    82% { transform: translateY(1.5px) scale(1.08, 0.92); }
    88% { transform: translateY(-6px) scale(0.98, 1.02); }
    94% { transform: translateY(0) scale(1.02, 0.98); }
}
.lr-marker-shadow {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 6px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    filter: blur(1.5px);
    animation: lrShadowBounce 2.4s infinite ease-in-out;
    transform-origin: center center;
}
@keyframes lrShadowBounce {
    0%, 55%, 100% { transform: translateX(-50%) scale(1); opacity: 0.55; }
    62% { transform: translateX(-50%) scale(1.2); opacity: 0.75; }
    72% { transform: translateX(-50%) scale(0.45); opacity: 0.18; }
    82% { transform: translateX(-50%) scale(1.25); opacity: 0.8; }
    88% { transform: translateX(-50%) scale(0.85); opacity: 0.35; }
    94% { transform: translateX(-50%) scale(1.05); opacity: 0.6; }
}
.lr-google-active-marker:hover .lr-marker-pin {
    transform: rotate(-45deg) scale(1.12);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.85), 0 0 0 3px #fff;
}
.lr-google-active-marker {
    position: relative;
    width: 46px;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.75));
}

/* Uyarılar, boş durum, sayfalama */
.crm-uyari { padding: 12px 14px; border-radius: 12px; font-size: .88rem; display: flex; gap: 10px; align-items: flex-start; border: 1px solid; }
.crm-uyari.bilgi { background: rgba(56, 189, 248, .1); border-color: rgba(56, 189, 248, .3); color: #b6e6fb; }
.crm-uyari.basari { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .3); color: #b5f1d9; }
.crm-uyari.dikkat { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .3); color: #fde7a6; }
.crm-uyari.hata { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); color: #fbc6c6; }
.crm-bos { text-align: center; padding: 36px 16px; color: var(--c-muted); } .crm-bos i { font-size: 2.4rem; display: block; margin-bottom: 8px; opacity: .6; }
.crm-sayfalama { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; color: var(--c-muted); font-size: .86rem; }
.crm-yukleniyor { display: grid; place-items: center; padding: 48px; color: var(--c-muted); }
.crm-donen { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--c-line); border-top-color: var(--c-acc); animation: crmDon .8s linear infinite; }
@keyframes crmDon { to { transform: rotate(360deg); } }
.crm-ayrac { height: 1px; background: var(--c-line); margin: 12px 0; border: 0; }
.crm-kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; font-size: .9rem; } .crm-kv dt { color: var(--c-muted); font-weight: 600; } .crm-kv dd { margin: 0; }
.crm-alinti { border-left: 3px solid var(--c-acc); padding: 6px 12px; background: rgba(108, 140, 255, .07); border-radius: 0 10px 10px 0; font-style: italic; color: #cfd8ff; font-size: .88rem; }
.crm-tablo { width: 100%; border-collapse: collapse; font-size: .88rem; } .crm-tablo th { text-align: left; color: var(--c-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; padding: 8px; border-bottom: 1px solid var(--c-line); } .crm-tablo td { padding: 10px 8px; border-bottom: 1px solid var(--c-line); }
.crm-tablo-kap { overflow-x: auto; }

/* ═══════════════ HARİTA SAYFASI (hm-*) ═══════════════ */
.crm.hm { max-width: 1560px; }
.hm-baslik-sag { display: flex; gap: 8px; }
.hm-kpi { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; scrollbar-width: none; }
.hm-kpi::-webkit-scrollbar { display: none; }
.hm-kpi-oge { flex: 1 0 96px; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: var(--c-s1); border: 1px solid var(--c-line); border-radius: 14px; }
.hm-kpi-oge .sayi { font-size: 1.5rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hm-kpi-oge .etiket { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--c-muted); }
.hm-kpi-oge.canli .sayi { color: #f87171; } .hm-kpi-oge.geciken .sayi { color: var(--c-warn); }

.hm-duzen { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "filtre" "ana" "liste"; }
.hm-filtre { grid-area: filtre; } .hm-ana { grid-area: ana; min-width: 0; } .hm-liste { grid-area: liste; }
@media (min-width: 1000px) {
    .hm-duzen { grid-template-columns: 390px minmax(0, 1fr); grid-template-areas: "filtre ana" "liste ana"; align-items: start; }
    .hm-ana { position: sticky; top: 12px; }
    .hm-harita { height: calc(100vh - 235px) !important; min-height: 520px; }
    .hm-liste-ic { max-height: calc(100vh - 600px); min-height: 240px; }
    .hm-filtre-ac { display: none !important; }
    .hm-sheet { left: 14px !important; right: auto !important; bottom: 14px !important; width: 390px; }
}
.hm-panel { background: linear-gradient(180deg, var(--c-s1), var(--c-bg)); border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px; }

.hm-ara { position: relative; }
.hm-ara > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.hm-ara input { width: 100%; height: 46px; padding: 0 14px 0 40px; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 12px; color: var(--c-text); font: inherit; font-size: .95rem; outline: none; transition: .15s; }
.hm-ara input:focus { border-color: var(--c-acc); box-shadow: 0 0 0 3px rgba(108, 140, 255, .18); }
.hm-filtre-ac { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 10px; min-height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-s2); color: var(--c-text); font: 650 .88rem inherit; cursor: pointer; }
.hm-filtre-ac .hm-sag { margin-left: auto; }
.hm-sayi-rozet { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--c-acc); color: #fff; font-size: .7rem; display: inline-grid; place-items: center; }
@media (max-width: 999px) { .hm-icerik:not(.acik) { display: none; } }

.hm-grup { margin-top: 16px; }
.hm-baslik { font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 8px; }
.hm-cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-cip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-muted); font: 600 .82rem inherit; cursor: pointer; transition: .15s; }
.hm-cip:hover { color: var(--c-text); border-color: var(--c); }
.hm-cip .hm-nokta { opacity: .5; }
.hm-cip.secili { color: #fff; border-color: var(--c); background: color-mix(in srgb, var(--c) 20%, transparent); }
.hm-cip.secili .hm-nokta { opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }
.hm-nokta { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c, currentColor); flex: 0 0 9px; }
.hm-nokta.nabiz { animation: crmNabiz 1.3s infinite; }
.hm-halka { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--c); background: transparent; }
.hm-say { font-size: .7rem; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .09); font-variant-numeric: tabular-nums; color: var(--c-text); }
.hm-say.sifir { opacity: .4; }

.hm-segment { display: flex; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 12px; padding: 3px; gap: 3px; }
.hm-segment button { flex: 1; min-height: 36px; border: 0; background: transparent; color: var(--c-muted); border-radius: 9px; font: 650 .78rem inherit; cursor: pointer; transition: .15s; white-space: nowrap; }
.hm-segment button.secili { background: linear-gradient(135deg, var(--c-acc), var(--c-acc2)); color: #fff; }
.hm-tarihler { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.hm-tarihler label { display: flex; flex-direction: column; gap: 4px; font-size: .7rem; font-weight: 600; color: var(--c-muted); }
.hm-tarihler .crm-girdi { min-height: 40px; padding: 6px 10px; font-size: .88rem; color-scheme: dark; }
.hm-temizle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; min-height: 40px; border-radius: 11px; border: 1px dashed var(--c-line); background: transparent; color: var(--c-muted); font: 600 .84rem inherit; cursor: pointer; }
.hm-temizle:hover:not(:disabled) { color: var(--c-text); border-color: var(--c-acc); }
.hm-temizle:disabled { opacity: .45; cursor: default; }

.hm-temsilci-secili { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--c-acc); background: rgba(108, 140, 255, .12); }
.hm-x { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-muted); cursor: pointer; display: grid; place-items: center; }
.hm-x:hover { color: var(--c-text); border-color: var(--c-acc); }
.hm-oneri { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: var(--c-s2); border: 1px solid var(--c-line); border-radius: 12px; max-height: 300px; overflow: auto; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .65); }
.hm-oneri-oge { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--c-line); background: transparent; color: var(--c-text); text-align: left; cursor: pointer; font: inherit; font-size: .9rem; }
.hm-oneri-oge:last-child { border-bottom: 0; } .hm-oneri-oge:hover { background: rgba(108, 140, 255, .14); }
.hm-oneri-bos { padding: 14px; color: var(--c-muted); font-size: .85rem; text-align: center; }

.hm-harita-kap { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--c-line); box-shadow: 0 20px 50px -30px #000; background: #111a30; width: 100%; }
.hm-harita { width: 100% !important; height: clamp(420px, 66vh, 780px) !important; min-height: 420px !important; border: 0 !important; border-radius: 0 !important; display: block !important; }
.leaflet-container { width: 100% !important; height: 100% !important; background: #151e34 !important; outline: none; font-family: inherit !important; }
.leaflet-tile-pane, .leaflet-layer, .leaflet-map-pane { width: 100% !important; height: 100% !important; }
.leaflet-tile { image-rendering: auto; }
.hm-sheet { position: absolute; z-index: 850; left: 10px; right: 10px; bottom: 10px; padding: 12px; background: rgba(17, 26, 48, .96); backdrop-filter: blur(12px); border: 1px solid rgba(108, 140, 255, .45); border-radius: 16px; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .75); animation: crmYuk .22s ease-out; }
.hm-sheet-ust { display: flex; align-items: center; gap: 10px; }
.hm-sheet-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; }
.hm-sheet-rozetler, .hm-sheet-analiz { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hm-sheet-konum { margin-top: 8px; font-size: .82rem; color: var(--c-muted); display: flex; gap: 6px; }
.hm-sheet-ozet { margin-top: 6px; color: #cfd8ff; max-height: 66px; overflow: auto; }
.hm-sheet-eylem { display: flex; gap: 8px; margin-top: 12px; }
.hm-lejant { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: .76rem; color: var(--c-muted); }
.hm-lejant span { display: inline-flex; align-items: center; gap: 6px; }
.hm-lejant .ayrac { width: 1px; height: 14px; background: var(--c-line); }

.hm-liste-baslik { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hm-liste-ic { display: flex; flex-direction: column; gap: 6px; max-height: 62vh; overflow-y: auto; padding-right: 2px; }
.hm-oge { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 1px solid var(--c-line); background: var(--c-s1); border-radius: 13px; color: var(--c-text); text-align: left; cursor: pointer; font: inherit; transition: .15s; }
.hm-oge:hover { border-color: var(--c-acc); } .hm-oge.secili { border-color: var(--c-acc); background: rgba(108, 140, 255, .13); }
.hm-oge-pin { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .8rem; }
.hm-oge-ic { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hm-oge-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.hm-oge-ust b { font-size: .9rem; }
.hm-saat { font-size: .7rem; color: var(--c-muted); white-space: nowrap; }
.hm-oge-alt { display: block; font-size: .76rem; color: var(--c-muted); }
.hm-oge .crm-rozet { flex: 0 0 auto; font-size: .66rem; padding: 2px 8px; }
.hm-not { display: flex; gap: 6px; margin-top: 10px; font-size: .76rem; color: var(--c-muted); }

/* Küme (cluster) işaretleri */
.marker-cluster { background: rgba(108, 140, 255, .28); border-radius: 50%; }
.marker-cluster-medium { background: rgba(160, 107, 255, .32); }
.marker-cluster-large { background: rgba(244, 63, 142, .32); }
.marker-cluster div { width: 30px; height: 30px; margin: 5px; border-radius: 50%; text-align: center; background: linear-gradient(135deg, #6c8cff, #a06bff); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); border: 2px solid #fff; }
.marker-cluster-large div { background: linear-gradient(135deg, #f43f8e, #a06bff); }
.marker-cluster span { line-height: 26px; font: 800 12px 'Inter', system-ui, sans-serif; }

/* ═══════════════ CANLI KONUŞMA AKIŞI (Transkript Akışı) ═══════════════ */
.crm-sekme-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    padding: 5px 8px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 255, 0.1);
    margin-bottom: 12px;
}
.crm-sekme-btn {
    background: transparent;
    border: none;
    color: var(--c-muted);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.crm-sekme-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.sag-sekme { gap: 6px; padding: 4px; margin-bottom: 4px; }
.sag-sekme .crm-sekme-btn { flex: 1 1 0; justify-content: center; white-space: nowrap; padding: 8px 10px; border: 1px solid transparent; }
.sag-sekme .crm-sekme-btn i { font-size: 1rem; }
.crm-sekme-btn.aktif {
    background: rgba(99, 102, 241, 0.28);
    color: #c7d2fe;
    border: 1px solid rgba(99, 102, 241, 0.45);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}
.crm-kitap-metin-kutusu {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 255, 0.15);
    border-radius: 14px;
    padding: 18px 22px;
    max-height: 480px;
    overflow-y: auto;
    line-height: 1.8;
}
.kitap-metin-govde {
    font-size: 1.02rem;
    color: #e2e8f0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: 0.01em;
}
.kitap-cumle {
    transition: background 0.15s ease, color 0.15s ease;
    border-radius: 4px;
    padding: 1px 4px;
    cursor: default;
    display: inline;
}
.kitap-cumle:hover {
    background: rgba(99, 102, 241, 0.25);
    color: #ffffff;
}
.crm-konusma-satiri {
    background: rgba(22, 33, 60, 0.65);
    border: 1px solid rgba(148, 163, 255, 0.12);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.2s ease;
}
.crm-konusma-satiri:hover {
    border-color: rgba(148, 163, 255, 0.28);
    background: rgba(22, 33, 60, 0.85);
}
.crm-konusma-satiri.dogal-akis {
    border-left: 3px solid rgba(99, 102, 241, 0.45);
    background: rgba(22, 33, 60, 0.45);
}
.crm-konusma-satiri.dogal-akis:hover {
    border-left-color: #818cf8;
    background: rgba(22, 33, 60, 0.7);
}
.crm-konusma-satiri.temsilci-akis {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.08), rgba(22, 33, 60, 0.6));
}
.crm-konusma-satiri.musteri-akis {
    border-left: 4px solid #10b981;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.08), rgba(22, 33, 60, 0.6));
}
.crm-konusma-satiri.ham-akis {
    border-left: 4px solid #94a3b8;
    background: rgba(22, 33, 60, 0.5);
}
.konusma-ust {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
}
.konusma-ust .zaman {
    color: var(--c-muted);
    font-family: monospace;
    font-size: 0.74rem;
}
.konusma-ust .rol-rozet {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}
.konusma-ust .rol-rozet.temsilci-akis {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.35);
}
.konusma-ust .rol-rozet.musteri-akis {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.konusma-ust .rol-rozet.ham-akis {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}
.rol-degistir-link {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--c-muted);
    font-size: 0.72rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.6;
}
.rol-degistir-link:hover {
    color: var(--c-acc);
    opacity: 1;
}
.konusma-metni {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #f1f5f9;
}

/* ═══════════ TEMSİLCİ ONLİNE VİDEO DANIŞMANLIK KOKPİTİ ═══════════ */
.crm-online-kokpit-izgara {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 16px;
    align-items: start;
}
@media (max-width: 1024px) {
    .crm-online-kokpit-izgara {
        grid-template-columns: 1fr;
    }
}
.online-video-ana-panel {
    display: flex;
    flex-direction: column;
}
.online-lobi-alarm-bandi {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.15));
    border: 1px solid rgba(245, 158, 11, 0.5);
    animation: crmPulseGlow 1.5s infinite;
}
.online-sahne-kutu {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000000;
    border: 1px solid rgba(148, 163, 255, 0.2);
}
.online-uzak-video-tam {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.musteri-avatar-halka {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.online-yerel-pip {
    width: 220px;
    height: 135px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #0a0f1d;
    z-index: 20;
}
.online-yerel-video-akisi {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}
.online-pip-rozet {
    position: absolute;
    bottom: 6px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    color: #e2e8f0;
}
.online-alt-kontrol-alani {
    z-index: 25;
}
.online-kontrol-bari {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.temsilci-ctrl-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}
.temsilci-ctrl-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
.temsilci-ctrl-btn.aktif {
    color: #38bdf8;
}
.temsilci-ctrl-btn.kapali {
    color: #ef4444;
}
.temsilci-ctrl-btn.paylasimda {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.2);
}
.temsilci-ctrl-btn.bitir:hover {
    background: rgba(239, 68, 68, 0.25);
}
.temsilci-ctrl-btn .ctrl-etiket {
    font-size: 0.7rem;
    font-weight: 500;
}

/* ═══════════ CANLI ANLIK SES ŞERİDİ (GERÇEK ZAMANLI AI ÖNİZLEME) ═══════════ */
.crm-canli-ses-seridi {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(168, 85, 247, 0.18));
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 12px;
    box-shadow: 0 4px 20px -5px rgba(168, 85, 247, 0.35);
    animation: crmPulseGlow 2s infinite ease-in-out;
}
@keyframes crmPulseGlow {
    0%, 100% { border-color: rgba(168, 85, 247, 0.45); box-shadow: 0 4px 15px -4px rgba(168, 85, 247, 0.2); }
    50% { border-color: rgba(168, 85, 247, 0.85); box-shadow: 0 4px 25px 0 rgba(168, 85, 247, 0.5); }
}
.canli-ses-dalga {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 18px;
    flex-shrink: 0;
}
.canli-ses-dalga .bar {
    width: 3px;
    background: #a855f7;
    border-radius: 2px;
    animation: crmWave 0.75s infinite ease-in-out alternate;
}
.canli-ses-dalga .bar.b1 { animation-delay: 0.1s; height: 35%; }
.canli-ses-dalga .bar.b2 { animation-delay: 0.3s; height: 100%; }
.canli-ses-dalga .bar.b3 { animation-delay: 0.2s; height: 65%; }
.canli-ses-dalga .bar.b4 { animation-delay: 0.4s; height: 45%; }
@keyframes crmWave {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1.0); }
}
.canli-ses-icerik {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
    overflow: hidden;
}
.canli-ses-etiket {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #c084fc;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.canli-ses-yazi {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    font-style: italic;
    word-break: break-word;
}

/* ═══════════ TEMSİLCİ ONLİNE DİJİTAL GÖRÜŞME KOKPİTİ ═══════════ */
.crm-online-link-karti {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}
.crm-online-link-karti .link-kutusu {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px 14px;
    font-family: monospace;
    font-size: 0.9rem;
    color: #93c5fd;
    word-break: break-all;
}

.crm-online-kokpit-izgara {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
@media (max-width: 1024px) {
    .crm-online-kokpit-izgara {
        grid-template-columns: 1fr;
    }
}

.online-lobi-alarmi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 20px;
    margin-bottom: 14px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.25), rgba(6, 95, 70, 0.4));
    border: 1px solid #10b981;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
    animation: crmPulseGlowGreen 2s infinite ease-in-out;
}
@keyframes crmPulseGlowGreen {
    0%, 100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.25); }
    50% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.6); }
}

.online-sahne-kutu {
    position: relative;
    width: 100%;
    min-height: 480px;
    height: 520px;
    background: radial-gradient(circle at 50% 50%, #111827 0%, #070b14 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.online-video-ana {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-video-bekleniyor {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    z-index: 2;
}
.online-bekleniyor-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    animation: crmPulseAvatar 2s infinite ease-in-out;
}
@keyframes crmPulseAvatar {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(168, 85, 247, 0.7); }
}

.online-pip-kutu {
    position: absolute;
    bottom: 74px;
    right: 18px;
    width: 180px;
    height: 110px;
    border-radius: 12px;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    z-index: 10;
}
.online-pip-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}
.online-pip-etiket {
    position: absolute;
    bottom: 4px;
    left: 6px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.online-sahne-bar-kap {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.online-sahne-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 36px;
    padding: 6px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 20;
}

/* Mobil: ekranin altina sabit "bottom menu" */
@media (max-width: 768px) {
    .online-sahne-kutu { height: 56vw; min-height: 260px; }
    .online-sahne-bar-kap {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        margin: 0;
        z-index: 1500;
        background: rgba(8, 17, 31, 0.97);
        border-top: 1px solid rgba(125, 211, 252, 0.22);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .online-sahne-bar {
        width: 100%;
        justify-content: space-between;
        border: 0; border-radius: 0; box-shadow: none; background: transparent;
        padding: 6px 4px; gap: 0;
        backdrop-filter: none; -webkit-backdrop-filter: none;
    }
    .online-sahne-bar .temsilci-ctrl-btn { flex: 1 1 0; padding: 6px 2px; font-size: .62rem; }
    .crm-online-kokpit-izgara { padding-bottom: 84px; }
    .online-pip-kutu { bottom: 12px; width: 110px; height: 70px; }
}

.temsilci-ctrl-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.temsilci-ctrl-btn i {
    font-size: 1.25rem;
}
.temsilci-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.temsilci-ctrl-btn.kapali {
    color: #f87171;
    background: rgba(239, 68, 68, 0.15);
}
.temsilci-ctrl-btn.aktif-mavi {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
}
.temsilci-ctrl-btn.btn-tehlike {
    background: #ef4444;
    color: #ffffff;
    padding: 6px 14px;
}
.temsilci-ctrl-btn.btn-tehlike:hover {
    background: #dc2626;
}

.online-dosyalar-kart {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    margin-top: 12px;
}
.online-dosya-oge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    margin-bottom: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* YENİ POLİÇE WIZARD VE BES FORM RESPONSİF & MOBİL UYUMLULUK DÜZENLEMELERİ    */
/* ═══════════════════════════════════════════════════════════════════════════ */
.pp-fullwidth-form-frame .bes-wizard-wrapper {
    max-width: 1200px !important;
    margin: 0.5rem auto 3rem !important;
    padding: 0 0.5rem !important;
}

.pp-wizard-page .row,
.pp-fullwidth-form-frame .row,
.bes-wizard-wrapper .row {
    display: flex !important;
    flex-wrap: wrap !important;
    --bs-gutter-x: 1rem !important;
    --bs-gutter-y: 1rem !important;
}

.pp-wizard-page .row > *,
.pp-fullwidth-form-frame .row > *,
.bes-wizard-wrapper .row > * {
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

/* 1. MOBİL / VARSAYILAN (< 900px): Kartlar tam genişlik tek sıra */
.bes-wizard-wrapper .col-12,
.bes-wizard-wrapper .col-md-6,
.bes-wizard-wrapper .col-md-4,
.bes-wizard-wrapper .col-md-8 {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Mobilde 2'li düzen (örnek: 4 risk grubu 2x2 olsun) */
.bes-wizard-wrapper .col-6,
.bes-wizard-wrapper .col-sm-6 {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
}

/* Katkı Payı preset butonları mobilde sarsın ve taşmasın */
.bes-input-card + .d-flex,
.bes-input-card ~ .d-flex {
    flex-wrap: wrap !important;
    gap: 6px !important;
}
.bes-input-card ~ .d-flex button {
    flex: 1 1 auto !important;
    min-width: 65px !important;
}

/* Şirket ve risk kartları mobilde ferah ve taşmayan yapı */
.bes-sirket-pro-secim-card {
    min-width: 0;
}
.bes-risk-card {
    min-width: 0;
    padding: 0.75rem 0.5rem !important;
}

/* 2. MASAÜSTÜ / GENİŞ EKRAN (>= 900px): Admin sidebar varken çoklu sütun açılır */
@media (min-width: 900px) {
    .pp-wizard-page .col-md-6,
    .bes-wizard-wrapper .col-md-6 {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
    }
    .pp-wizard-page .col-md-4,
    .bes-wizard-wrapper .col-md-4 {
        flex: 0 0 33.333333% !important;
        width: 33.333333% !important;
        max-width: 33.333333% !important;
    }
    .pp-wizard-page .col-md-3,
    .bes-wizard-wrapper .col-md-3 {
        flex: 0 0 25% !important;
        width: 25% !important;
        max-width: 25% !important;
    }
    .pp-wizard-page .col-md-8,
    .bes-wizard-wrapper .col-md-8 {
        flex: 0 0 66.666667% !important;
        width: 66.666667% !important;
        max-width: 66.666667% !important;
    }
}

@media (min-width: 1200px) {
    .pp-wizard-page .col-lg-3,
    .bes-wizard-wrapper .col-lg-3 {
        flex: 0 0 25% !important;
        width: 25% !important;
    }
    .pp-wizard-page .col-lg-4,
    .bes-wizard-wrapper .col-lg-4 {
        flex: 0 0 33.333333% !important;
        width: 33.333333% !important;
    }
    .pp-wizard-page .col-lg-6,
    .bes-wizard-wrapper .col-lg-6 {
        flex: 0 0 50% !important;
        width: 50% !important;
    }
}


/* ===============================================================
   FİNANS & LİKİDİTE MASASI — EKSİK BİLEŞEN STİLLERİ (v20261109)
   =============================================================== */
.fm-filtre-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.65);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.fm-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.18s ease-in-out;
    white-space: nowrap;
    user-select: none;
    text-decoration: none;
    outline: none;
}

.fm-chip:hover {
    background: rgba(51, 65, 85, 0.9);
    color: #f1f5f9;
    border-color: rgba(100, 116, 139, 0.9);
}

.fm-chip.aktif, .fm-chip.active {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(14, 165, 233, 0.35));
    color: #38bdf8;
    border-color: #06b6d4;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
    font-weight: 600;
}

.fm-badge-purple {
    background: rgba(139, 92, 246, 0.18) !important;
    color: #c084fc !important;
    border: 1px solid rgba(139, 92, 246, 0.35) !important;
    font-weight: 600;
}

.fm-copy-btn {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    border-radius: 6px !important;
    transition: all 0.15s ease-in-out !important;
}

.fm-alert-koyu {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(51, 65, 85, 0.6);
    color: #cbd5e1;
    border-radius: 8px;
}

.fm-alert-warn {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    border-radius: 8px;
}

.fm-risk-seridi {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 10px;
    overflow: hidden;
}

.fm-risk-baslik {
    background: rgba(30, 41, 59, 0.5);
    font-weight: 600;
}

.fm-risk-kutu {
    padding: 10px 14px;
    border-right: 1px solid rgba(51, 65, 85, 0.3);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.fm-risk-kutu:last-child {
    border-right: none;
}

.fm-plan-kutusu {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 10px;
}

.fm-mini-kutu {
    background: rgba(30, 41, 59, 0.55);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.18s ease-in-out;
}

.fm-mini-kutu:hover {
    border-color: rgba(6, 182, 212, 0.4);
}

.fm-avans-master {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.fm-master-satir {
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.fm-master-satir:hover {
    background: rgba(51, 65, 85, 0.3) !important;
}

.fm-master-satir.secili {
    background: rgba(6, 182, 212, 0.12) !important;
    border-left: 3px solid #06b6d4;
}

.fm-detay-satir {
    background: rgba(11, 19, 36, 0.95);
}

.fm-detay-kapsayici {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 10px;
}

.fm-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.fm-parca-tablo {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 8px;
    overflow: hidden;
}

.fm-parca-kilitli {
    opacity: 0.65;
    background: rgba(15, 23, 42, 0.4);
}

.fm-parca-not {
    background: rgba(30, 41, 59, 0.3);
}

.fm-input-lg-crm {
    font-size: 0.95rem !important;
    padding: 6px 10px !important;
}

.fm-input-sm {
    font-size: 0.78rem !important;
    padding: 4px 8px !important;
}

.fm-input-group-addon {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(51, 65, 85, 0.8) !important;
}

.fm-log {
    max-height: 220px;
    overflow-y: auto;
    padding: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 8px;
}

.fm-log-oge {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    font-size: 0.78rem;
    color: #94a3b8;
}

.fm-log-oge:last-child {
    border-bottom: none;
}
