/* Caria Metrix – Metrica üzerine özelleştirmeler.
   Tek panelli sol menü kullanılır (ikon sekmeli çift panel yok). */

.topbar .topbar-left {
    position: fixed; top: 0; left: 0; width: 260px; height: 60px;
    display: flex; align-items: center; padding: 0 20px;
    background: #fff; border-right: 1px solid #eceff5; border-bottom: 1px solid #eceff5;
    z-index: 1002; transition: width .3s;
}
.topbar .topbar-left .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; overflow: hidden; }
.topbar .topbar-left .brand-logo { max-height: 34px; max-width: 150px; object-fit: contain; }
.topbar .topbar-left .brand-name { color: #303e67; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.topbar .topbar-left .logo-sm-img { display: none; height: 26px; }
.enlarge-menu .topbar .topbar-left { width: 60px !important; padding: 0 12px; justify-content: center; }
.enlarge-menu .topbar .topbar-left .brand-logo,
.enlarge-menu .topbar .topbar-left .brand-name { display: none; }
.enlarge-menu .topbar .topbar-left .logo-sm-img { display: inline-block; }

.left-sidebar { background: #f8f9fb; }
.left-sidebar .menu-body .nav-item .nav-link.active { background: rgba(11, 81, 183, .08); }

.branch-switch { min-width: 190px; }
.branch-switch .form-select { font-size: 12px; }

.kpi-card .kpi-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.kpi-card.pending { opacity: .55; }

.table-actions form { display: inline-block; }
.audit-json { max-width: 320px; white-space: pre-wrap; word-break: break-all; font-size: 11px; }

.perm-grid td, .perm-grid th { vertical-align: middle; }

.selectr-container { width: 100%; }
.iti { width: 100%; }

.auth-page .auth-header-box { background: #0b51b7; }
.auth-logo-img { max-height: 56px; max-width: 200px; object-fit: contain; background: #fff; padding: 6px 10px; border-radius: 8px; }

/* TinyMCE içeriği */
.rich p { margin-bottom: .4rem; }
.rich ul, .rich ol { margin-bottom: .4rem; padding-left: 1.2rem; }
.rich table { border-collapse: collapse; } .rich td, .rich th { border: 1px solid #dee2e6; padding: 2px 6px; }

/* Dashboard */
.dash-kpi { display:flex; flex-direction:column; gap:2px; background:#fff; border:1px solid #e9ecef; border-radius:10px; padding:14px 16px; height:100%; transition:box-shadow .15s, transform .15s; }
.dash-kpi:hover { box-shadow:0 4px 14px rgba(20,40,80,.08); transform:translateY(-1px); }
.dash-kpi-icon { width:34px; height:34px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; font-size:18px; margin-bottom:6px; }
.dash-kpi-value { font-size:26px; font-weight:700; line-height:1.1; color:#1f2d3d; }
.dash-kpi-label { font-size:12px; color:#7081b9; font-weight:600; }
.dash-mini { display:flex; gap:10px; align-items:center; border:1px solid #eef0f4; border-radius:8px; padding:8px 10px; }
.dash-mini i { font-size:20px; }
.dash-list .list-group-item { padding:.6rem 1rem; }
