/* Warna brand dari logo Fiberku (gradien magenta -> merah) */
:root {
  --fbk-magenta: #D72E82;
  --fbk-red: #EA303F;
  --fbk-gradient: linear-gradient(135deg, var(--fbk-magenta), var(--fbk-red));
}

/* Sidebar: latar hitam seperti logo */
.main-sidebar.sidebar-dark-primary { background: #0b0b0d; }
.brand-link.fbk-brand {
  display: flex; align-items: center; justify-content: center;
  background: #000; border-bottom: 1px solid #222 !important; height: 57px;
}
.brand-link.fbk-brand img { height: 30px; width: auto; }
.sidebar-collapse .brand-link.fbk-brand img.fbk-wordmark { display: none; }
.brand-link.fbk-brand img.fbk-mark { display: none; height: 30px; border-radius: 6px; }
.sidebar-collapse .main-sidebar:not(:hover) .brand-link.fbk-brand img.fbk-mark { display: inline; }
.sidebar-collapse .main-sidebar:not(:hover) .brand-link.fbk-brand img.fbk-wordmark { display: none; }
.sidebar-collapse .main-sidebar:hover .brand-link.fbk-brand img.fbk-wordmark { display: inline; }

.nav-sidebar .nav-link.active,
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
  background: var(--fbk-gradient) !important; color: #fff !important; box-shadow: none;
}

/* Tombol & aksen */
.btn-brand { background: var(--fbk-gradient); border: 0; color: #fff; }
.btn-brand:hover, .btn-brand:focus { color: #fff; filter: brightness(1.07); }
.text-brand { color: var(--fbk-magenta) !important; }
.card-brand.card-outline { border-top: 3px solid var(--fbk-magenta); }
a { color: #c42775; }
.page-item.active .page-link { background: var(--fbk-magenta); border-color: var(--fbk-magenta); }
.custom-control-input:checked ~ .custom-control-label::before { background: var(--fbk-magenta); border-color: var(--fbk-magenta); }

/* Halaman login */
.fbk-login-page { background: #000; min-height: 100vh; }
.fbk-login-page .login-logo img { width: 260px; max-width: 80%; }
.fbk-login-page .card { border-radius: 12px; }
.fbk-login-page .login-footer { color: #777; font-size: .85rem; }

/* Peta */
.fbk-map { height: 420px; border-radius: 6px; border: 1px solid #dee2e6; }
.fbk-map-lg { height: 360px; }
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
  background: #fdeaf3; border-color: #f2b6d1; color: #8a1d52;
}
.custom-range::-webkit-slider-thumb { background: var(--fbk-magenta); }
.custom-range::-moz-range-thumb { background: var(--fbk-magenta); }
.custom-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 1px #fff, 0 0 0 .2rem rgba(215, 46, 130, .3); }
