/* nitronet.css — shim untuk template Hope UI (Bootstrap 5.3):
   memetakan kelas utilitas gaya-Tabler yang dipakai template konten.
   Admin UI web sengaja LIGHT-ONLY (dark mode dihapus atas permintaan). */

:root { --nitro-azure: #3a8aff; }

/* Flash global: toast ringkas agar konten tidak terdorong setelah aksi. */
.nitro-toast-stack {
  position: fixed;
  top: 76px;
  right: 22px;
  z-index: 1090;
  width: min(420px, calc(100vw - 28px));
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.nitro-toast {
  position: relative;
  min-height: 62px;
  padding: 13px 42px 13px 14px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  overflow: hidden;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  color: #27334d;
  box-shadow: 0 14px 38px rgba(30, 48, 82, .18);
  pointer-events: auto;
  animation: nitro-toast-in .22s ease-out both;
}
.nitro-toast::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: currentColor;
}
.nitro-toast.is-success { color: #138444; }
.nitro-toast.is-error { color: #c7354d; }
.nitro-toast-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(26, 160, 83, .12);
}
.nitro-toast.is-error .nitro-toast-icon { background: rgba(200, 50, 70, .11); }
.nitro-toast-icon svg { width: 19px; height: 19px; }
.nitro-toast-content { min-width: 0; display: grid; gap: 2px; }
.nitro-toast-title { color: #1f2a44; font-size: .875rem; font-weight: 700; line-height: 1.35; }
.nitro-toast-message { color: #66728a; font-size: .8125rem; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.nitro-toast-close {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #77839a;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
}
.nitro-toast-close:hover { color: #27334d; background: #f0f3f8; }
.nitro-toast.is-leaving { animation: nitro-toast-out .2s ease-in both; }
@keyframes nitro-toast-in { from { opacity: 0; transform: translate3d(18px, -8px, 0); } to { opacity: 1; transform: none; } }
@keyframes nitro-toast-out { to { opacity: 0; transform: translate3d(18px, 0, 0); } }
@media (max-width: 575.98px) {
  .nitro-toast-stack { top: 68px; right: 14px; left: 14px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .nitro-toast, .nitro-toast.is-leaving { animation: none; }
}

/* Judul halaman: kini tampil di banner biru, sembunyikan versi konten yang duplikat.
   .page-header dipertahankan (kadang memuat deskripsi di bawah judul). */
.page-header { margin-bottom: 1rem; }
.content-inner .page-title { display: none; }
/* .page-header menumpuk di atas banner biru (judul disembunyikan). Teks deskripsi
   di dalamnya harus terang agar terbaca di banner — baik mode light maupun dark
   (default .text-secondary gelap → tak terlihat di light). */
.content-inner .page-header,
.content-inner .page-header .text-secondary,
.content-inner .page-header .text-muted { color: rgba(255, 255, 255, .8) !important; }
.subheader { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-secondary-color); }

/* Grid kartu & tabel dalam kartu */
.row-cards { --bs-gutter-y: 1rem; }
.card-table { margin-bottom: 0; }
.table-vcenter td, .table-vcenter th { vertical-align: middle; }

/* Label & hint form */
.form-hint, .form-label-description { display: block; font-size: .8125rem; color: var(--bs-secondary-color); }
.form-label.required::after { content: " *"; color: var(--bs-danger); }

/* Badge lembut (Tabler bg-*-lt → soft, selaras Hope UI bg-soft-*) */
.badge.bg-blue-lt,    .bg-blue-lt    { background: rgba(58,87,232,.14);  color: #3a57e8; }
.badge.bg-azure-lt,   .bg-azure-lt   { background: rgba(59,138,255,.14); color: #2f7fe6; }
.badge.bg-success-lt, .bg-success-lt { background: rgba(26,160,83,.15);  color: #1aa053; }
.badge.bg-danger-lt,  .bg-danger-lt  { background: rgba(200,50,70,.14);  color: #d1344f; }
.badge.bg-warning-lt, .bg-warning-lt { background: rgba(240,173,78,.20); color: #b9781f; }
.badge.bg-secondary-lt,.bg-secondary-lt{ background: rgba(108,117,125,.15);color: #6c757d; }
.badge.bg-purple-lt,  .bg-purple-lt  { background: rgba(120,72,232,.14);  color: #7848e8; }
.badge.bg-dark-lt,    .bg-dark-lt    { background: rgba(30,40,60,.16);    color: #384766; }

/* Warna azure (Tabler) */
.bg-azure { background: var(--nitro-azure) !important; color: #fff; }
.text-azure { color: var(--nitro-azure); }
.btn-outline-azure { color: var(--nitro-azure); border-color: var(--nitro-azure); }
.btn-outline-azure:hover { background: var(--nitro-azure); color: #fff; }
.border-azure { border-color: var(--nitro-azure) !important; }

/* Tombol ghost */
.btn-ghost-secondary { color: var(--bs-secondary-color); background: transparent; border: none; }
.btn-ghost-secondary:hover { background: var(--bs-secondary-bg); }

/* Bar status atas kartu & kartu aktif */
.card-status-top { height: 3px; margin: -1px -1px 0; border-radius: .5rem .5rem 0 0; }
.card-active { border-color: var(--bs-primary); }

/* Steps vertikal (trace Logs) */
.steps.steps-vertical { display: flex; flex-direction: column; gap: .6rem; list-style: none; margin: 0; padding-left: 1.4rem; border-left: 2px solid var(--bs-border-color); }
.steps.steps-vertical .step-item { position: relative; }
.steps.steps-vertical .step-item::before { content: ""; position: absolute; left: -1.75rem; top: .3rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--bs-primary); box-shadow: 0 0 0 3px var(--bs-body-bg); }

/* Avatar inisial (menu pengguna) */
.nitro-avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; background: var(--bs-primary); color: #fff; font-size: .85rem; }

/* Ikon nav sidebar (feather-style) */
.iq-main-menu .nav-link .icon { display: inline-flex; margin-right: 12px; }
.iq-main-menu .nav-link.active .icon svg { color: #fff; }

/* Tombol ikon di navbar */
.btn-icon { padding: .35rem .5rem; }

/* Pemilih bahasa utama menggantikan pencarian global yang tidak digunakan. */
.nitro-language-picker { margin-left: 10px; }
.nitro-language-trigger {
  min-width: 154px;
  min-height: 40px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 9px;
  color: #35415a;
  background: #fff;
  font-size: .875rem;
  font-weight: 550;
  line-height: 1;
  text-align: left;
  box-shadow: none;
  transition: background-color .18s ease, color .18s ease;
}
.nitro-language-trigger:hover,
.nitro-language-trigger:focus,
.nitro-language-trigger[aria-expanded="true"] {
  color: #2f4bd8;
  background: #f2f5ff;
  box-shadow: none;
  outline: 0;
}
.nitro-language-flag {
  width: 24px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(31, 47, 92, .16);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(31, 47, 92, .08);
}
.nitro-language-flag svg { width: 100%; height: 100%; display: block; }
.nitro-language-chevron { margin-left: auto; color: #8a94a7; transition: transform .18s ease; }
.nitro-language-trigger[aria-expanded="true"] .nitro-language-chevron { transform: rotate(180deg); }
.nitro-language-menu {
  min-width: 190px;
  margin-top: 8px !important;
  padding: 6px;
  border: 1px solid rgba(138, 151, 174, .20);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(31, 47, 92, .16);
}
.nitro-language-option {
  min-height: 40px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 7px;
  color: #35415a;
  font-size: .875rem;
}
.nitro-language-option:hover { color: #2f4bd8; background: #f2f5ff; }
.nitro-language-option.active,
.nitro-language-option.active:hover { color: #fff; background: #3a57e8; }
.nitro-language-check { width: 18px; height: 18px; display: inline-flex; margin-left: auto; }
.nitro-language-check svg { width: 18px; height: 18px; }

/* Editor DAG dibuka di tab penuh */
.content-inner { min-height: 60vh; }

/* Halaman daftar: overview, toolbar filter, tabel, pagination, dan modal form. */
.nitro-list-overview {
  overflow: hidden;
  border: 1px solid rgba(58, 87, 232, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 16px 38px rgba(31, 47, 92, .12);
}
.nitro-list-overview .card-body {
  min-height: 118px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nitro-list-overview-main { min-width: 0; display: flex; align-items: center; gap: 17px; }
.nitro-list-overview-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #3a57e8;
  background: rgba(58, 87, 232, .11);
}
.nitro-list-overview-icon svg { width: 23px; height: 23px; }
.nitro-list-eyebrow {
  margin-bottom: 6px;
  color: #52637e;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}
.nitro-list-title { margin: 0; color: #1f2a44; font-size: clamp(1.25rem, 1.7vw, 1.6rem); font-weight: 650; letter-spacing: -.02em; }
.nitro-list-subtitle { max-width: 760px; margin: 6px 0 0; color: #69738a; font-size: .9rem; line-height: 1.5; }
.nitro-list-overview .btn { min-height: 41px; padding-inline: 17px; border-radius: 9px; font-weight: 600; white-space: nowrap; }

/* Kartu penyedia AI — header berwarna (4 tema, di-cycle per indeks) */
.nitro-ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}
.nitro-ai-grid-item { min-width: 0; }
.nitro-ai-grid-empty { grid-column: 1 / -1; min-width: 0; }
.nitro-ai-card { overflow: hidden; border: 1px solid rgba(138, 151, 174, .18); }
.nitro-ai-head { border: 0; padding: 14px 16px; color: #fff; }
.nitro-ai-title { color: #fff; font-size: 1.02rem; font-weight: 650; letter-spacing: -.01em; }
.nitro-ai-kind { display: inline-block; margin-top: 2px; font-size: .74rem; font-weight: 600; color: rgba(255, 255, 255, .82); }
.nitro-ai-chip { flex-shrink: 0; padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .22); }
.nitro-ai-head--0 { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.nitro-ai-head--1 { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.nitro-ai-head--2 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.nitro-ai-head--3 { background: linear-gradient(135deg, #db2777, #a855f7); }
.nitro-ai-details { display: grid; gap: 9px; margin: 0 0 20px; }
.nitro-ai-detail {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.nitro-ai-detail dt { min-width: 0; margin: 0; color: #69738a; font-weight: 400; line-height: 1.45; word-break: normal; overflow-wrap: normal; }
.nitro-ai-detail dd { min-width: 0; margin: 0; color: #34405a; line-height: 1.45; }
.nitro-ai-detail-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nitro-ai-detail-wrap { overflow-wrap: anywhere; word-break: normal; }
.nitro-ai-actions { min-width: 0; margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.nitro-ai-actions-primary { flex: 0 0 auto; }
.nitro-ai-actions-manage { min-width: 0; margin-left: auto; display: flex; gap: 8px; }
.nitro-ai-actions .btn { min-height: 32px; white-space: nowrap; }
@media (max-width: 575.98px) {
  .nitro-ai-actions { align-items: stretch; flex-direction: column; }
  .nitro-ai-actions-primary, .nitro-ai-actions-primary .btn { width: 100%; }
  .nitro-ai-actions-manage { width: 100%; margin-left: 0; }
  .nitro-ai-actions-manage .btn { flex: 1 1 0; }
}
.nitro-table-card { overflow: hidden; border: 1px solid rgba(138, 151, 174, .18); border-radius: 14px; }
.nitro-table-toolbar { padding: 16px 18px; border-bottom: 1px solid rgba(138, 151, 174, .16); background: #fff; }
.nitro-filter-grid { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(145px, 1fr)) auto; gap: 10px; align-items: end; }
.nitro-filter-grid.nitro-filter-grid-3 { grid-template-columns: minmax(240px, 2fr) repeat(2, minmax(150px, 1fr)) auto; }
.nitro-filter-grid.nitro-filter-grid-2 { grid-template-columns: minmax(260px, 2fr) minmax(160px, 1fr) auto; }

.nitro-form-callout {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	padding: .875rem 1rem;
	border: 1px solid #dbe4ff;
	border-radius: 12px;
	background: #f6f8ff;
	color: #35415f;
}

.nitro-form-callout strong { color: #273451; }
.nitro-form-callout span { color: #6f7d99; font-size: .875rem; line-height: 1.5; }
.nitro-filter-field { min-width: 0; }
.nitro-filter-label { display: block; margin-bottom: 5px; color: #66748d; font-size: .68rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.nitro-filter-actions { display: flex; gap: 8px; }
.nitro-filter-actions .btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.nitro-search-wrap { position: relative; }
.nitro-search-wrap .form-control { padding-left: 40px; }
.nitro-search-icon { position: absolute; top: 50%; left: 13px; display: inline-flex; color: #8590a5; transform: translateY(-50%); pointer-events: none; }
.nitro-table-card .table { min-width: 760px; }
.nitro-table-card thead th { padding-top: 13px; padding-bottom: 13px; color: #71809b; font-size: .72rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; background: #f7f8fb; border-bottom-width: 1px; white-space: nowrap; }
.nitro-table-card tbody td { padding-top: 14px; padding-bottom: 14px; color: #27334d; }
.nitro-table-card tbody tr:hover { background: rgba(58, 87, 232, .025); }
.nitro-empty-state { min-height: 160px; padding: 32px 18px !important; text-align: center; }
.nitro-empty-state strong { display: block; margin-bottom: 5px; color: #35415b; font-weight: 650; }
.nitro-empty-state span { color: #7a869d; font-size: .86rem; }
.nitro-table-footer { min-height: 66px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(138, 151, 174, .16); background: #fff; }
.nitro-pagination { display: flex; align-items: center; gap: 9px; }
.nitro-page-indicator { min-width: 88px; color: #69738a; font-size: .78rem; text-align: center; white-space: nowrap; }
.nitro-create-modal .modal-content { overflow: hidden; border: 0; border-radius: 16px; box-shadow: 0 24px 70px rgba(23, 35, 70, .22); }
.nitro-create-modal .modal-header { padding: 20px 24px; border-bottom-color: rgba(138, 151, 174, .17); }
.nitro-create-modal .modal-body { padding: 24px; }
.nitro-create-modal .modal-footer { padding: 16px 24px; border-top-color: rgba(138, 151, 174, .17); }
.nitro-create-modal .modal-title { color: #1f2a44; font-weight: 650; }
.nitro-create-modal-subtitle { margin-top: 4px; color: #748099; font-size: .84rem; }
.nitro-row-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; white-space: nowrap; }
.nitro-delete-workflow-modal .modal-dialog { max-width: min(760px, calc(100vw - 32px)); }
.nitro-delete-workflow-identity { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 13px; align-items: center; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; }
.nitro-delete-workflow-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #dc3545; font-size: 1.3rem; font-weight: 800; box-shadow: 0 7px 18px rgba(220, 53, 69, .19); }
.nitro-delete-workflow-identity span:not(.nitro-delete-workflow-icon) { display: block; color: #7b879d; font-size: .75rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.nitro-delete-workflow-identity strong { display: block; margin-top: 2px; color: #1f2a44; font-size: 1rem; overflow-wrap: anywhere; }
.nitro-delete-workflow-warning { position: relative; margin-top: 14px; padding: 15px 16px; border: 1px solid #ffd59a; border-radius: 12px; color: #804b00; background: #fff9ef; }
.nitro-delete-workflow-warning > strong { display: block; margin-bottom: 5px; color: #713f00; font-size: .82rem; }
.nitro-delete-workflow-warning p { max-width: 620px; color: #80561b; font-size: .84rem; line-height: 1.55; }
.nitro-delete-history-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.nitro-delete-confirmation { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 16px; padding: 13px 15px; border: 1px solid #dbe3ee; border-radius: 11px; cursor: pointer; background: #fff; }
.nitro-delete-confirmation .form-check-input { margin: 2px 0 0; }
.nitro-delete-confirmation strong, .nitro-delete-confirmation small { display: block; }
.nitro-delete-confirmation strong { color: #27334d; font-size: .86rem; }
.nitro-delete-confirmation small { margin-top: 2px; color: #7b879d; font-size: .76rem; line-height: 1.45; }
.nitro-pin-input-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.nitro-delete-workflow-modal .modal-footer .btn-danger:disabled { cursor: not-allowed; opacity: .45; }
@media (max-width: 575.98px) {
  .nitro-row-actions { align-items: stretch; flex-direction: column; }
  .nitro-delete-workflow-modal .modal-dialog { max-width: calc(100vw - 20px); margin: 10px auto; }
  .nitro-delete-workflow-modal .modal-header, .nitro-delete-workflow-modal .modal-body, .nitro-delete-workflow-modal .modal-footer { padding-left: 16px; padding-right: 16px; }
  .nitro-delete-workflow-identity { grid-template-columns: 40px minmax(0, 1fr); }
  .nitro-delete-workflow-icon { width: 40px; height: 40px; }
  .nitro-pin-input-wrap { grid-template-columns: 1fr; }
  .nitro-delete-workflow-modal .modal-footer { display: grid; grid-template-columns: 1fr 1fr; }
}
#create-destination .modal-body { padding: 16px 24px; }
#destination-form { min-height: 0; max-height: 100%; display: flex; flex-direction: column; }
#destination-form > .modal-header,
#destination-form > .modal-footer { flex: 0 0 auto; }
#destination-form > .modal-body { min-height: 0; flex: 1 1 auto; overflow-y: auto; }
.nitro-destination-form { display: grid; gap: 14px; }
.nitro-option-section { min-width: 0; margin: 0; padding: 0; border: 0; }
.nitro-option-section > legend.form-label { float: none; width: 100%; color: #8a92a6; font-size: 1rem; line-height: 1.5; }
.nitro-driver-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nitro-agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nitro-option-card { min-width: 0; display: block; margin: 0; cursor: pointer; }
.nitro-option-card > input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.nitro-option-card-surface {
  min-height: 70px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dfe4ed;
  border-radius: 11px;
  color: #35415a;
  background: #fff;
  box-shadow: 0 3px 10px rgba(31, 47, 92, .035);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.nitro-option-card:hover .nitro-option-card-surface { border-color: #aebaf0; background: #fafbff; transform: translateY(-1px); }
.nitro-option-card > input:focus-visible + .nitro-option-card-surface { outline: 3px solid rgba(58, 87, 232, .16); outline-offset: 2px; }
.nitro-option-card > input:checked + .nitro-option-card-surface { border-color: #3a57e8; background: #f2f5ff; box-shadow: 0 0 0 2px rgba(58, 87, 232, .12); }
.nitro-option-card-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  border-radius: 10px;
  color: #546177;
  background: #f0f2f6;
}
.nitro-option-card > input:checked + .nitro-option-card-surface .nitro-option-card-icon { color: #344ed1; background: #e2e7ff; }
.nitro-option-card-copy { min-width: 0; display: grid; gap: 3px; }
.nitro-option-card-copy strong { overflow: hidden; color: #27324a; font-size: .88rem; font-weight: 650; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.nitro-option-card-copy small { color: #7b869b; font-size: .72rem; line-height: 1.2; text-transform: uppercase; }
.nitro-option-card-check {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  margin-left: auto;
  border: 1px solid #cbd2df;
  border-radius: 50%;
  color: transparent;
  background: #fff;
}
.nitro-option-card-check svg { width: 14px; height: 14px; }
.nitro-option-card > input:checked + .nitro-option-card-surface .nitro-option-card-check { color: #fff; border-color: #3a57e8; background: #3a57e8; }
.nitro-option-card.is-disabled { cursor: not-allowed; }
.nitro-option-card.is-disabled .nitro-option-card-surface { opacity: .55; background: #f6f7f9; box-shadow: none; transform: none; }
.nitro-agent-card .nitro-option-card-surface { min-height: 74px; }
.nitro-agent-state { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #7b869b; font-size: .7rem; white-space: nowrap; }
.nitro-agent-state i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #aeb5c2; }
.nitro-agent-state.is-online { color: #138444; }
.nitro-agent-state.is-online i { background: #1aa053; box-shadow: 0 0 0 3px rgba(26, 160, 83, .12); }
.nitro-destination-agent { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: #596780; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.nitro-destination-agent svg { width: 17px; height: 17px; flex: 0 0 auto; color: #6776e8; }
.nitro-agent-card .nitro-option-card-check { margin-left: 2px; }
.nitro-agent-empty { grid-column: 1 / -1; padding: 18px; border: 1px dashed #cfd5e1; border-radius: 10px; color: #748099; text-align: center; }
.nitro-connection-result { min-height: 54px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; border: 1px solid; border-radius: 10px; }
.nitro-connection-result-icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; border-radius: 9px; }
.nitro-connection-result-icon svg { width: 17px; height: 17px; }
.nitro-connection-result > span:last-child { min-width: 0; display: grid; gap: 2px; }
.nitro-connection-result strong { color: #27324a; font-size: .84rem; }
.nitro-connection-result small { color: #68758c; font-size: .78rem; line-height: 1.4; }
.nitro-connection-result.is-pending { border-color: #dfe4ed; background: #f7f8fa; }
.nitro-connection-result.is-pending .nitro-connection-result-icon { color: #68758c; background: #e9ecf1; }
.nitro-connection-result.is-success { border-color: rgba(26, 160, 83, .28); background: rgba(26, 160, 83, .07); }
.nitro-connection-result.is-success .nitro-connection-result-icon { color: #138444; background: rgba(26, 160, 83, .14); }
.nitro-connection-result.is-failed { border-color: rgba(192, 50, 33, .28); background: rgba(192, 50, 33, .07); }
.nitro-connection-result.is-failed .nitro-connection-result-icon { color: #ad2d1e; background: rgba(192, 50, 33, .13); }
.nitro-create-modal .modal-footer .btn:disabled { cursor: not-allowed; opacity: .48; }
.nitro-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.nitro-form-grid .nitro-form-span-2 { grid-column: 1 / -1; }
.nitro-form-grid .mb-3 { margin-bottom: 0 !important; }
.nitro-sort-note { display: inline-flex; align-items: center; gap: 6px; color: #748099; font-size: .78rem; white-space: nowrap; }
.np-rules { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px 14px; color: #7a869d; font-size: .78rem; }
.np-rules span { display: inline-flex; align-items: center; gap: 6px; }
.np-rules i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #c2c8d3; transition: background .18s ease, box-shadow .18s ease; }
.np-rules span.ok { color: #148348; }
.np-rules span.ok i { background: #1aa053; box-shadow: 0 0 0 3px rgba(26, 160, 83, .11); }

@media (max-width: 1199.98px) and (min-width: 768px) {
  .nitro-filter-grid, .nitro-filter-grid.nitro-filter-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nitro-filter-grid .nitro-filter-actions { align-self: end; }
  .nitro-agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Dashboard operasional */
.nitro-dashboard-intro {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(58, 87, 232, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 16px 38px rgba(31, 47, 92, .12);
}
.nitro-dashboard-intro::after {
  content: "";
  position: absolute;
  top: -86px;
  right: -54px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 87, 232, .10) 0, rgba(58, 87, 232, 0) 69%);
  pointer-events: none;
}
.nitro-dashboard-intro .card-body {
  position: relative;
  z-index: 1;
  min-height: 132px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.nitro-dashboard-intro-copy { min-width: 0; }
.nitro-dashboard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: #3555d6;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}
.nitro-dashboard-eyebrow-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(58, 87, 232, .11);
}
.nitro-dashboard-eyebrow-icon svg { width: 15px; height: 15px; }
.nitro-dashboard-greeting {
  margin: 0;
  color: #1f2a44;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.nitro-dashboard-greeting span { color: #3a57e8; }
.nitro-dashboard-subtitle {
  max-width: 680px;
  margin: 7px 0 0;
  color: #69738a;
  font-size: .94rem;
  line-height: 1.55;
}
.nitro-dashboard-intro-action { flex: 0 0 auto; }
.nitro-dashboard-intro-action .btn {
  min-height: 43px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(58, 87, 232, .20);
  font-weight: 600;
  white-space: nowrap;
}
.nitro-dashboard-intro-action .btn span { font-size: 1.1rem; transition: transform .18s ease; }
.nitro-dashboard-intro-action .btn:hover span { transform: translateX(3px); }
.nitro-kpi-card { border: 1px solid rgba(138, 151, 174, .16); transition: transform .18s ease, box-shadow .18s ease; }
.nitro-kpi-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(43, 54, 78, .08); }
.nitro-log-kpi { overflow: hidden; }
.nitro-log-kpi .card-body {
  min-height: 58px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nitro-log-kpi-header {
  min-height: 34px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1;
}
.nitro-log-kpi-header.is-total { color: #344ed1; background: rgba(58, 87, 232, .13); }
.nitro-log-kpi-header.is-success { color: #138444; background: rgba(26, 160, 83, .14); }
.nitro-log-kpi-header.is-retry { color: #b45418; background: rgba(241, 106, 27, .15); }
.nitro-log-kpi-header.is-failed { color: #ad2d1e; background: rgba(192, 50, 33, .14); }
.nitro-log-kpi-header.is-dropped { color: #59616c; background: rgba(108, 117, 125, .16); }
.nitro-log-kpi-header.is-recent { color: #087d84; background: rgba(7, 154, 162, .14); }
.nitro-log-kpi-value { color: #20283a; font-size: 1.65rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1; }
.nitro-kpi-icon, .security-card-icon { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.nitro-platform-kpi .card-body { min-height: 176px; padding: 22px; }
.nitro-platform-kpi-detail {
  min-height: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--bs-secondary-color);
  font-size: .78rem;
}
.nitro-platform-kpi-detail strong { color: #29354f; font-size: .84rem; }
.nitro-platform-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nitro-platform-resource-grid > div {
  min-width: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(138, 151, 174, .15);
  border-radius: 10px;
  background: rgba(138, 151, 174, .045);
}
.nitro-platform-resource-grid span { color: var(--bs-secondary-color); font-size: .75rem; }
.nitro-platform-resource-grid strong { color: #29354f; font-size: 1rem; }
.nitro-platform-modes { display: flex; flex-wrap: wrap; gap: 7px; }
.nitro-platform-modes .nitro-status-badge { width: auto; min-width: 78px; }
.nitro-platform-empty {
  min-height: 290px;
  padding: 42px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.nitro-platform-empty-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #3a57e8;
  background: rgba(58, 87, 232, .10);
}
.nitro-platform-empty-icon svg { width: 25px; height: 25px; }
.nitro-platform-empty h4 { margin: 0 0 7px; color: #1f2a44; font-size: 1.1rem; }
.nitro-platform-empty p { max-width: 470px; margin: 0 0 20px; color: var(--bs-secondary-color); line-height: 1.55; }
.nitro-legend { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.nitro-chart { height: 235px; display: flex; align-items: stretch; gap: clamp(10px, 3vw, 28px); border-bottom: 1px solid var(--bs-border-color); padding: 18px 10px 0; }
.nitro-chart-column { min-width: 28px; flex: 1 1 0; height: 100%; display: grid; grid-template-rows: 20px 1fr 30px; align-items: end; text-align: center; }
.nitro-chart-value { font-size: .72rem; color: var(--bs-secondary-color); align-self: start; }
.nitro-chart-bar { height: 155px; width: min(30px, 72%); margin: 0 auto; display: flex; flex-direction: column-reverse; justify-content: flex-start; overflow: hidden; border-radius: 6px 6px 2px 2px; background: rgba(138, 151, 174, .08); }
.nitro-bar { display: block; width: 100%; min-height: 0; transition: height .25s ease; }
.nitro-bar-success { background: #1aa053; }
.nitro-bar-failed { background: #d1344f; }
.nitro-bar-other { background: #f0ad4e; }
.nitro-chart-label { padding-top: 8px; font-size: .75rem; color: var(--bs-secondary-color); }
.nitro-health-row { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(138, 151, 174, .13); }
.nitro-profile-avatar { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--bs-primary), #6d5dfc); font-size: 1.15rem; font-weight: 700; }
.nitro-status-badge {
  min-height: 25px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  text-align: center;
  white-space: nowrap;
}
.nitro-workflow-kind-system {
  color: #fff;
  background-color: #3451e8;
  box-shadow: inset 0 0 0 1px rgba(19, 40, 146, .2);
}
.nitro-workflow-kind-user {
  color: #4b3500;
  background-color: #ffd166;
  box-shadow: inset 0 0 0 1px rgba(138, 91, 0, .2);
}
.nitro-mode-badge { width: 84px; }
.nitro-delivery-badge { width: 82px; }

/* Keamanan akun */
.security-page-overview {
  overflow: hidden;
  border: 1px solid rgba(58, 87, 232, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 16px 38px rgba(31, 47, 92, .12);
}
.security-page-overview .card-body {
  min-height: 126px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.security-page-overview-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.security-page-overview-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #3a57e8, #5876f2);
  box-shadow: 0 10px 22px rgba(58, 87, 232, .24);
}
.security-page-overview-icon svg { width: 24px; height: 24px; }
.security-page-overview-copy { min-width: 0; }
.security-page-overview-eyebrow {
  margin-bottom: 7px;
  color: #52637e;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}
.security-page-overview-title {
  margin: 0;
  color: #1f2a44;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.security-page-overview-subtitle {
  max-width: 700px;
  margin: 6px 0 0;
  color: #69738a;
  font-size: .9rem;
  line-height: 1.5;
}
.security-page-overview-status {
  min-height: 34px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  border-radius: 9px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.security-page-overview-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(26, 160, 83, .10);
}
.security-card { border: 1px solid rgba(138, 151, 174, .18); }
.security-card .card-header { min-height: 88px; align-items: center; }
.security-card-locked { background: linear-gradient(145deg, #fff, #f7f8fb); }
.security-locked-state { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; border: 1px dashed var(--bs-border-color); border-radius: 12px; background: rgba(138, 151, 174, .04); }

/* Onboarding wajib memakai komposisi yang sama dengan halaman login. */
.nitro-onboarding-body { min-height: 100vh; margin: 0; overflow: hidden; background: #fff; }
.nitro-onboarding-split { min-height: 100vh; }
.nitro-onboarding-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.nitro-onboarding-panel-inner { width: min(100%, 620px); padding: 22px clamp(28px, 5vw, 66px); }
.nitro-onboarding-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.nitro-onboarding-brand {
  color: #8a94a8;
  font-size: 1.7rem;
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1;
}
.nitro-onboarding-brand span { color: #3a57e8; }
.nitro-onboarding-visual { height: 100vh; overflow: hidden; background: #0f4db8; }
.nitro-onboarding-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.nitro-auth-steps {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: start;
  margin: 0 4px 14px;
}
.nitro-auth-steps > div { min-width: 58px; display: grid; justify-items: center; gap: 3px; color: #8a94a8; }
.nitro-auth-steps > div > span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9deea;
  border-radius: 50%;
  background: #fff;
  font-size: .75rem;
  font-weight: 700;
}
.nitro-auth-steps > div > small { font-size: .65rem; font-weight: 650; }
.nitro-auth-steps > div.is-active { color: #3a57e8; }
.nitro-auth-steps > div.is-active > span { border-color: #3a57e8; color: #fff; background: #3a57e8; box-shadow: 0 0 0 4px rgba(58, 87, 232, .10); }
.nitro-auth-steps > i { height: 1px; margin-top: 12px; background: #dfe3ec; }
.nitro-auth-steps > div.is-complete { color: #3a57e8; }
.nitro-auth-steps > div.is-complete > span { border-color: rgba(58, 87, 232, .34); color: #3a57e8; background: rgba(58, 87, 232, .08); }
.nitro-auth-steps > i.is-complete { background: rgba(58, 87, 232, .42); }
.nitro-onboarding-intro { margin-bottom: 12px; text-align: center; }
.nitro-onboarding-intro .badge { margin-bottom: 4px; }
.nitro-onboarding-intro h1 { margin: 3px 0 4px; color: #1f2a44; font-size: clamp(1.35rem, 2.1vw, 1.65rem); line-height: 1.2; }
.nitro-onboarding-intro p { max-width: 440px; margin: 0 auto; color: #69738a; font-size: .82rem; line-height: 1.4; }
.nitro-auth-account {
  margin-bottom: 13px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e4e7ef;
  border-radius: 8px;
  background: #f8f9fc;
}
.nitro-auth-account > div { min-width: 0; display: grid; gap: 1px; }
.nitro-auth-account span { color: #8a94a8; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.nitro-auth-account strong { overflow: hidden; color: #26334d; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.nitro-auth-account > small { color: #69738a; font-size: .72rem; text-align: right; }
.nitro-onboarding-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nitro-onboarding-panel .form-label { margin-bottom: 4px; font-size: .78rem; }
.nitro-onboarding-panel .form-control { min-height: 38px; padding: 7px 11px; font-size: .82rem; }
.nitro-secret-rules {
  margin: 0 0 13px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 10px;
  border: 1px solid #e4e7ef;
  border-radius: 9px;
  background: #fbfcfe;
}
.nitro-secret-rules > div { display: flex; align-items: center; gap: 6px; color: #7b8498; font-size: .66rem; line-height: 1.2; }
.nitro-secret-rules > div > span { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #cbd1dc; }
.nitro-secret-rules > div.is-valid { color: #159447; }
.nitro-secret-rules > div.is-valid > span { background: #20b15a; box-shadow: 0 0 0 3px rgba(32, 177, 90, .10); }
.nitro-mfa-setup-grid {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.nitro-mfa-qr {
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e5ee;
  border-radius: 10px;
  background: #fff;
}
.nitro-mfa-qr img { width: 100%; height: auto; display: block; border-radius: 6px; }
.nitro-onboarding-instructions { margin: 0; padding-left: 20px; color: #69738a; font-size: .75rem; line-height: 1.45; }
.nitro-onboarding-instructions li + li { margin-top: 6px; }
.nitro-setup-code-row .form-control { min-width: 0; font-size: .72rem; }
.nitro-setup-code-row .btn { white-space: nowrap; }
.nitro-mfa-verify-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.nitro-mfa-verify-form .form-control { letter-spacing: .36em; font-size: 1rem; }
.nitro-mfa-verify-form .btn { min-height: 38px; padding-inline: 18px; white-space: nowrap; }

@media (max-width: 767.98px) {
	.nitro-language-picker { margin-left: 6px; }
	.nitro-language-trigger { min-width: 0; min-height: 38px; padding: 7px 9px; }
	.nitro-language-trigger > span:not(.nitro-language-flag) { display: none; }
	.nitro-language-chevron { margin-left: 0; }
	#create-destination .modal-dialog { height: calc(100dvh - 16px); min-height: 0; margin: 8px; }
	#create-destination .modal-content { height: 100%; max-height: 100%; }
	#create-destination .modal-header { padding: 18px 24px; }
	#create-destination .modal-footer { padding: 12px 24px; display: grid; gap: 8px; }
	#create-destination .modal-footer .btn { width: 100%; margin: 0; }
	#create-destination .modal-footer .btn-link { display: none; }
	.nitro-driver-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nitro-agent-grid { grid-template-columns: 1fr; }
	.nitro-option-card-surface { min-height: 70px; }
	.nitro-driver-grid .nitro-option-card-surface { padding: 8px; gap: 6px; }
	.nitro-driver-grid .nitro-option-card-icon { width: 28px; height: 28px; flex-basis: 28px; }
	.nitro-driver-grid .nitro-option-card-icon svg { width: 17px; height: 17px; }
	.nitro-driver-grid .nitro-option-card-check { width: 18px; height: 18px; flex-basis: 18px; }
	.nitro-driver-grid .nitro-option-card-copy strong { font-size: .78rem; }
	.nitro-onboarding-body { overflow: auto; }
	.nitro-onboarding-panel { min-height: 100vh; align-items: flex-start; }
	.nitro-onboarding-panel-inner { width: min(100%, 560px); padding: 22px 20px; }
	.nitro-onboarding-field-grid { grid-template-columns: 1fr; gap: 12px; }
	.nitro-secret-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nitro-auth-account { display: grid; gap: 3px; }
	.nitro-auth-account > small { text-align: left; }
	.nitro-mfa-setup-grid { grid-template-columns: 118px minmax(0, 1fr); gap: 12px; }
	.nitro-mfa-verify-form { grid-template-columns: 1fr; }
	.nitro-mfa-verify-form .btn { width: 100%; }
	.nitro-list-overview .card-body { min-height: 0; padding: 20px; align-items: stretch; flex-direction: column; gap: 17px; }
	.nitro-list-overview-main { align-items: flex-start; }
	.nitro-list-overview-icon { width: 44px; height: 44px; }
	.nitro-list-overview .btn { width: 100%; }
	.nitro-filter-grid, .nitro-filter-grid.nitro-filter-grid-3, .nitro-filter-grid.nitro-filter-grid-2 { grid-template-columns: 1fr; }
	.nitro-filter-actions { width: 100%; }
	.nitro-filter-actions .btn { flex: 1 1 0; }
	.nitro-table-footer { align-items: stretch; flex-direction: column; }
	.nitro-pagination { justify-content: space-between; }
	.nitro-form-grid { grid-template-columns: 1fr; }
	.nitro-form-grid .nitro-form-span-2 { grid-column: auto; }
  .nitro-dashboard-intro .card-body { min-height: 0; padding: 20px; align-items: stretch; flex-direction: column; gap: 18px; }
  .nitro-dashboard-greeting { font-size: 1.45rem; }
  .nitro-dashboard-intro-action, .nitro-dashboard-intro-action .btn { width: 100%; }
  .nitro-dashboard-intro-action .btn { justify-content: center; }
  .nitro-chart { gap: 5px; padding-left: 0; padding-right: 0; }
  .nitro-chart-bar { width: 22px; }
  .card-header .ms-auto.d-flex.gap-3 { width: 100%; margin-left: 0 !important; margin-top: 12px; }
  .security-page-overview .card-body { min-height: 0; padding: 20px; align-items: stretch; flex-direction: column; gap: 18px; }
  .security-page-overview-main { align-items: flex-start; }
  .security-page-overview-icon { width: 46px; height: 46px; border-radius: 13px; }
  .security-page-overview-status { align-self: flex-start; }
  .nitro-platform-kpi .card-body { min-height: 0; }
  .nitro-platform-resource-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Perbaikan responsivitas LAYOUT MASTER.
   Hope UI menol-kan margin .main-content di <=1199.98px, TETAPI base
   sidebar (position:fixed) tetap tampil → konten tertimpa. Kita jaga
   offset selama sidebar tampil, dan jadikan sidebar off-canvas di ponsel.
   ============================================================ */

/* Tablet & desktop kecil (768–1199.98px): sidebar tetap tampil →
   konten wajib ter-offset agar tidak tertimpa. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .sidebar.sidebar-base:not(.sidebar-mini) + .main-content { margin-left: 16.2rem; }
  /* Saat di-collapse ke mini, offset mengikuti lebar mini. */
  .sidebar.sidebar-base.sidebar-mini + .main-content { margin-left: 4.8rem; }
}

/* Ponsel (<768px): sidebar menjadi panel geser (overlay), konten penuh. */
@media (max-width: 767.98px) {
  .sidebar.sidebar-base {
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 1045;
    box-shadow: 6px 0 34px rgba(16, 24, 64, .18);
  }
  /* Tombol hamburger menambah .sidebar-mini → di ponsel artinya "buka". */
  .sidebar.sidebar-base.sidebar-mini { transform: translateX(0); width: 16.2rem; }
  .sidebar.sidebar-base + .main-content,
  .sidebar.sidebar-base.sidebar-mini + .main-content { margin-left: 0; }
  /* Tampilkan label penuh saat panel terbuka (bukan mode ikon). */
  .sidebar.sidebar-base.sidebar-mini .item-name,
  .sidebar.sidebar-base.sidebar-mini .default-icon,
  .sidebar.sidebar-base.sidebar-mini .logo-title { opacity: 1 !important; display: inline !important; }
}
