/* ============================================================================
   lm.css — DashLite üstüne panelin kendi küçük kuralları. Şablonu ezmek yerine
   yalnız şablonda karşılığı olmayan parçalar burada (marka satırı, bağlantı kutusu,
   boş durum, satır tıklanabilirliği, kota çubuğu).
   ============================================================================ */

/* Kenar menü marka satırı: logo görseli + ürün adı (CRM ile aynı desen) */
.brand-row { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 36px; max-width: 100%; overflow: hidden; }
.brand-logo { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; height: 30px; }
.brand-logo .logo-img { max-height: 30px; max-width: 108px; width: auto; object-fit: contain; }
.brand-divider { flex: 0 0 auto; width: 1px; height: 22px; background: currentColor; opacity: .25; }
.brand-text { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; color: #b6c6e3; white-space: nowrap; }
.nk-header .brand-text { color: #526484; }

/* Tablo satırı tıklanınca detaya gider */
.nk-tb-item.lm-row-link { cursor: pointer; }
.nk-tb-item.lm-row-link:hover { background: #f5f6fa; }

/* Boş durum */
.lm-empty { padding: 48px 24px; text-align: center; }
.lm-empty .icon { font-size: 44px; color: #c4cfe0; }
.lm-empty .title { margin-top: 12px; font-size: 15px; font-weight: 500; color: #364a63; }
.lm-empty p { color: #8094ae; max-width: 420px; margin: 6px auto 0; }

/* Dar kartlarda profile-ud listesi tek sütun (şablon iki sütun varsayar) */
.lm-ud-1col .profile-ud-item { width: 100%; }
.lm-ud-1col .profile-ud.wider .profile-ud-label { width: 110px; flex-shrink: 0; }
.lm-ud-1col .profile-ud-value { min-width: 0; word-break: break-word; }

/* Kota ilerleme satırı */
.lm-quota + .lm-quota { margin-top: 14px; }
.lm-quota-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.lm-quota-head .name { font-weight: 500; color: #364a63; }
.lm-quota-head .value { font-size: 12px; color: #8094ae; }

/* Blazor pencere içi modal arka planı */
.modal.show.d-block { background: rgba(31, 43, 58, .45); }

/* Blazor bağlantı kopması ve hata kutuları */
#components-reconnect-modal { display: none; position: fixed; inset: 0; z-index: 1100; background: rgba(31, 43, 58, .55); align-items: center; justify-content: center; }
#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected { display: flex; }
.lm-reconnect-box { background: #fff; border-radius: 6px; padding: 28px 32px; width: 360px; max-width: 92vw; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.lm-reconnect-box .title { margin-top: 14px; font-size: 15px; font-weight: 500; color: #364a63; }
.lm-reconnect-box p { color: #8094ae; margin: 6px 0 0; font-size: 13px; }
.lm-reconnect-failed { display: none; }
#components-reconnect-modal.components-reconnect-failed .lm-reconnect-failed { display: block; }
#components-reconnect-modal.components-reconnect-failed .lm-reconnect-wait,
#components-reconnect-modal.components-reconnect-failed .spinner-border { display: none; }
#blazor-error-ui { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1090; background: #364a63; color: #fff; padding: 12px 20px; font-size: 13px; box-shadow: 0 -2px 8px rgba(0,0,0,.2); }
#blazor-error-ui a { color: #fff; text-decoration: underline; }
#blazor-error-ui .dismiss { float: right; cursor: pointer; font-size: 18px; line-height: 1; }

/* Sinyal grafiği kutusu */
.lm-chart { position: relative; height: 240px; }

/* Küçük yardımcılar */
.lm-mono { font-family: Consolas, "Courier New", monospace; }
.text-pre { white-space: pre-wrap; }
.lm-log { font-size: 11px; max-height: 220px; overflow-y: auto; white-space: pre-wrap; }
