.box {
  margin-bottom: 20px;
}

.revenue-growth{
  height: 284px;
}
.revenue-growth .reality-chart {
  position: relative;
  top: -50px;
}
.rtl .knob {
    margin-left: 0;
    margin-right: -116px;
}

.avatar-sm {
    width: 59px;
    height: 59px;
    line-height: 29px;
    font-size: 0.7143rem;
}
.recent{

  height:382px;
}

/*-----------Dashboard-3-----------*/

.first-section .first-plan {
    border-radius: 5px;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.first-section .first-plan .bg-img {
    width: 30%;
    position: absolute;
    opacity: 0.1;
    transform: rotate(0deg);
    right: 0px;
    bottom: -2px;
}
.rtl .first-section .first-plan {
    border-radius: 5px;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.rtl .first-section .first-plan .bg-img {
    width: 30%;
    position: absolute;
    opacity: 0.1;
    transform: rotate(0deg);
    left: 0px;
    right: auto;
    bottom: -2px;
}


.chargingstation
{
  height:446px;
}

hr {
  color: #D3D3D3;
}

.smartcharging
{
  height:391px;
}

.button1
{
  background-color: white;
  color: grey;
}

.button1:hover
{
  background-color: #0052cc;
  color:white;
}

.activecharging
{
  height:130px;
}
.newusers
{
  height:130px;
}

.selectcars
{
  height:225px;
}

.availablestation
{
  color:#4B0082;
}

.occupiedstation
{
  color:#ff9920;
}

.totalbooked
{
  color:#04a08b;
}

.dallasboxmainmini
{
  height:504px;
}
.secondbox
{
  height:81px;
}

@media only screen and (max-width: 1600px) {
  .carflag {
    height:46px;
  }
  .dallasbox {
    height:504px;
  }
  .occupancy {
    height:191px;
  }

}

@media only screen and (max-width: 1440px) {
  .dallasbox {
    height:499px;
  }
}


@media only screen and (max-width: 1399px) {
  .dallasbox {
    height:auto;
  }
  .occupancy {
    height:192px;
  }
}

@media only screen and (max-width: 1194px) {
  .carflag {
    height:48px;
  }
  .income
  {
    height:165px;
  }
  .occupancy {
    height:auto;
  }
  .activecharging
  {
  height:124px;
  }
  .newusers
  {
  height:124px;
  }

}

@media only screen and (max-width: 1112px) {
  .income
  {
    height:164px;
  }
  .activecharging
  {
  height:122px;
  }
  .newusers
  {
  height:122px;
  }
  .dallasboxmainmini
  {
  height:auto;
  }

}

@media only screen and (max-width: 475px) {
  .teslabutton {

    margin: 10px 0px;
    
      }
}
/* Sidebar styling & responsive collapse diatur terpusat di globals.css agar identik format LMS */

/* Navbar admin: judul halaman di sebelah tombol menu */
.main-header .navbar-page-title {
  display: flex;
  align-items: center;
  margin-left: 12px;
}
.main-header .navbar-page-title h4 {
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50vw;
}
@media (max-width: 575px) {
  .main-header .navbar-page-title h4 { font-size: 1rem; max-width: 40vw; }
}

/* Tombol bulat navbar (mode gelap/terang) seukuran avatar pengguna */
.main-header .navbar-custom-menu .navbar-nav { align-items: center; gap: 10px; }
/* Tombol mode & avatar sama-sama dipusatkan di tinggi navbar; margin/ukuran 45px bawaan template untuk
   item terakhir (avatar) dinetralkan agar keduanya sejajar */
.main-header .navbar-custom-menu .navbar-nav > li.navbar-skin-item,
.main-header .navbar-custom-menu .navbar-nav > li.user-menu {
  display: flex;
  align-items: center;
}
.main-header .navbar-custom-menu .navbar-nav > li.user-menu > a.dropdown-toggle {
  margin: 0 !important;
  padding: 0 !important;
  width: 36px !important;
  height: 36px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.navbar-round-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(0, 82, 204, 0.1);
  color: #0052cc;
  cursor: pointer;
  transition: background 0.15s;
}
.navbar-round-btn:hover { background: rgba(0, 82, 204, 0.18); }
.dark-skin .navbar-round-btn { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Breadcrumb pengganti judul di area konten */
/* Baris breadcrumb + tombol aksi: padding kiri/kanan 20px = tepi box di .content (padding 20px),
   sehingga breadcrumb lurus dengan tepi kiri box dan tombol lurus dengan tepi kanannya */
.content-header.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-height: 38px;
  padding: 16px 20px 0;
  box-sizing: content-box;
}
.page-breadcrumb .page-header-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  font-size: .925rem; /* sama dengan .btn-sm template */
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .page-breadcrumb .page-header-action span { display: none; }
  .page-breadcrumb .page-header-action { width: 36px; padding: 0; justify-content: center; }
}
.page-breadcrumb .breadcrumb { background: transparent; padding: 0; font-size: 0.85rem; }
.page-breadcrumb .breadcrumb-item a { color: #0052cc; text-decoration: none; }
.page-breadcrumb .breadcrumb-item.active { color: #7a8599; }
.main-header .navbar-custom-menu .navbar-nav > li.user-menu { margin-right: 12px; }

/* ===== Dokumen cetak (rapor, buku induk) ===== */
.print-doc {
  background: #fff;
  color: #111;
  max-width: 210mm;
  margin: 0 auto 24px;
  padding: 18mm 16mm;
  font-size: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.print-doc h3 { font-size: 15px; font-weight: 700; text-align: center; margin: 0 0 12px; letter-spacing: .5px; }
.print-doc h4 { font-size: 13px; font-weight: 700; margin: 16px 0 6px; }
.print-doc table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.print-doc .doc-table th, .print-doc .doc-table td { border: 1px solid #555; padding: 4px 6px; vertical-align: top; }
.print-doc .doc-table th { background: #f1f3f6; text-align: center; font-weight: 600; }
.print-doc .doc-meta td { padding: 1px 4px; }
.print-doc .doc-sign { display: flex; justify-content: space-between; margin-top: 28px; text-align: center; }
.print-doc .doc-sign > div { width: 45%; }
.print-doc .doc-sign .sign-space { height: 60px; }
.print-doc .doc-kop { text-align: center; border-bottom: 3px double #333; padding-bottom: 8px; margin-bottom: 14px; }
.print-doc .doc-kop .kop-name { font-size: 16px; font-weight: 700; text-transform: uppercase; }
.print-page-break { page-break-after: always; break-after: page; }

@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff !important; }
  .main-header, .main-sidebar, .page-breadcrumb, .no-print, .control-sidebar, footer { display: none !important; }
  .content-wrapper, .content { margin: 0 !important; padding: 0 !important; background: #fff !important; }
  .print-doc { box-shadow: none; margin: 0; max-width: none; }
}

/* ===== Halaman login ===== */
.auth-scene {
  position: relative; min-height: 100vh; overflow-x: hidden; overflow-y: auto;
  display: flex; flex-direction: column; font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(960px 480px at 85% 30%, rgba(255,255,255,0.75), transparent 60%),
    linear-gradient(180deg, #d4eafd 0%, #e8f4fe 45%, #cfe5fa 100%);
}
.auth-swoosh {
  position: absolute; top: -210px; left: -170px; width: 820px; height: 420px;
  border-radius: 0 0 60% 40%; background: rgba(255,255,255,0.55); transform: rotate(-8deg);
}
.auth-cloud { position: absolute; color: #fff; opacity: 0.85; pointer-events: none; }
.auth-cloud-1 { width: 160px; top: 44px; right: 20%; }
.auth-cloud-2 { width: 130px; top: 200px; left: 16%; opacity: 0.7; }
.auth-cloud-3 { width: 150px; top: 210px; right: 12%; opacity: 0.75; }
.auth-cloud-4 { width: 270px; top: 185px; right: -70px; opacity: 0.9; }
.auth-school {
  position: absolute; left: 0; bottom: 84px; width: min(29vw, 400px); opacity: 0.95; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 98%), linear-gradient(to bottom, #000 80%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, #000 55%, transparent 98%), linear-gradient(to bottom, #000 80%, transparent);
  mask-composite: intersect;
}
.auth-books { position: absolute; right: 2vw; bottom: 80px; width: min(21vw, 310px); pointer-events: none; }
.auth-waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 132px; pointer-events: none; }

.auth-brand {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 16px 32px 0; color: #0d3b8a; font-weight: 700; font-size: 0.96rem; line-height: 1.2; letter-spacing: 0.2px;
}
.auth-brand img { height: 52px; width: auto; }
.auth-brand-sep { width: 2px; height: 42px; background: #0d3b8a; opacity: 0.8; }

.auth-main {
  position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 8px 16px 18px;
}
.auth-card {
  position: relative; overflow: hidden; width: 100%; max-width: 400px;
  padding: 20px 28px 18px; border-radius: 22px;
  background: rgba(255,255,255,0.88); border: 1.5px solid rgba(255,255,255,0.95);
  box-shadow: 0 22px 45px -16px rgba(13,59,138,0.25), 0 0 0 6px rgba(255,255,255,0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.auth-card::before {
  content: ''; position: absolute; top: -90px; right: -90px; width: 190px; height: 190px;
  border-radius: 50%; background: linear-gradient(135deg, rgba(120,180,240,0.32), rgba(200,228,252,0.12));
}
.auth-card-head { position: relative; text-align: center; margin-bottom: 12px; }
.auth-card-logo { height: 58px; width: auto; filter: drop-shadow(0 3px 5px rgba(13,59,138,0.16)); margin: 0 auto; }
.auth-card-head h1 { margin: 6px 0 0; font-size: 1.48rem; font-weight: 800; color: #0d3b8a; letter-spacing: -0.4px; line-height: 1.2; }
.auth-card-head p { margin: 2px 0 0; color: #334155; font-size: 0.84rem; }
.auth-divider { position: relative; width: 140px; height: 2px; margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, #c6d6ea 30%, #c6d6ea 70%, transparent); }
.auth-divider span { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: #1a73e8; transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(255,255,255,0.9); }

.auth-alert { position: relative; border-radius: 10px; padding: 8px 12px; font-size: 0.78rem; line-height: 1.35; margin-bottom: 10px; }
.auth-alert-danger { background: #fdecec; color: #b42318; border: 1px solid #f6caca; }
.auth-alert-info { background: #eaf3fe; color: #0d3b8a; border: 1px solid #c8def9; }

.auth-field {
  position: relative; display: flex; align-items: center; gap: 10px; height: 42px; margin: 0 0 10px;
  padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,0.92);
  border: 1px solid #dbe5f0; transition: border-color .15s, box-shadow .15s; cursor: text;
}
.auth-field:focus-within { border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26,115,232,0.12); }
.auth-field > i { width: 18px; text-align: center; font-size: 0.95rem; color: #475569; }
.auth-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  font-size: 0.88rem; color: #0f172a; padding-left: 6px; }
.auth-field input::placeholder { color: #8b97a8; }
.auth-eye { border: 0; background: none; padding: 4px; color: #64748b; font-size: 0.92rem; cursor: pointer; }

.auth-row { display: flex; align-items: center; justify-content: space-between; margin: 2px 2px 14px; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #334155; font-size: 0.8rem; cursor: pointer; }
.auth-check input[type="checkbox"] {
  position: static !important; left: auto !important; opacity: 1 !important; margin: 0;
  width: 15px; height: 15px; accent-color: #1a73e8; cursor: pointer;
}
.auth-link { border: 0; background: none; padding: 0; color: #1565c0; font-weight: 600; font-size: 0.8rem; cursor: pointer; }
.auth-link:hover { text-decoration: underline; }

.auth-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px;
  border: 0; border-radius: 12px; color: #fff; font-size: 0.95rem; font-weight: 600;
  background: linear-gradient(90deg, #1d7cf0 0%, #0b4fb5 100%);
  box-shadow: 0 10px 20px -8px rgba(11,79,181,0.55); transition: filter .15s, transform .15s;
}
.auth-submit i { font-size: 1rem; }
.auth-submit:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.auth-submit:disabled { opacity: 0.75; }

.auth-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e3eaf3; text-align: center; color: #334155; font-size: 0.8rem; }

.auth-powered { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #334155; font-size: 0.84rem; }
.auth-powered-logo { display: inline-flex; align-items: center; gap: 5px; color: #0d3b8a; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.4px; }

@media (max-width: 1100px) {
  .auth-school, .auth-books { opacity: 0.35; }
}
@media (max-width: 767px) {
  .auth-school, .auth-books, .auth-cloud-3, .auth-cloud-4 { display: none; }
  .auth-brand { padding: 14px 16px 0; gap: 10px; font-size: 0.86rem; }
  .auth-brand img { height: 42px; }
  .auth-brand-sep { height: 34px; }
  .auth-card { padding: 18px 20px 16px; border-radius: 18px; }
  .auth-card-logo { height: 52px; }
  .auth-card-head h1 { font-size: 1.35rem; }
  .auth-card-head p { font-size: 0.8rem; }
  .auth-waves { height: 90px; }
  .auth-powered { margin-top: 12px; font-size: 0.8rem; }
  .auth-powered-logo { font-size: 1.05rem; }
}

/* ===== Logo header & footer ===== */
.main-header .logo { display: flex !important; align-items: center; gap: 10px; }
.main-header .logo .logo-mini { display: inline-flex; align-items: center; }
.main-header .brand-crest { height: 44px; width: auto; display: block; filter: drop-shadow(0 2px 3px rgba(13,59,138,0.18)); }
.main-header .logo .brand-text { display: inline-flex !important; flex-direction: column; line-height: 1.15 !important; padding-left: 0; min-width: 0; }
.brand-text .brand-name { font-size: 1.15rem; font-weight: 800; color: #0d3b8a; letter-spacing: -0.3px; }
.brand-text .brand-sub { font-size: 0.72rem; font-weight: 500; color: #64748b; white-space: nowrap; }
.dark-skin .brand-text .brand-name { color: #fff; }
.dark-skin .brand-text .brand-sub { color: rgba(255,255,255,0.6); }
.sidebar-mini.sidebar-collapse .main-header .logo { justify-content: center; }
.sidebar-mini.sidebar-collapse .main-header .brand-crest { height: 38px; }
@media (min-width: 768px) {
  .sidebar-mini.sidebar-collapse .main-header .logo > .brand-text { display: none !important; }
}

.app-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.app-powered { display: inline-flex; align-items: center; gap: 8px; color: #64748b; font-size: 0.85rem; }
.app-powered-logo { display: inline-flex; align-items: center; gap: 4px; color: #0d3b8a; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.3px; }
.dark-skin .app-powered-logo { color: #fff; }
@media (max-width: 767px) {
  .app-footer { justify-content: center; text-align: center; }
}

/* Footer konten selalu di dasar layar meski isi halaman pendek */
.wrapper { display: flex; flex-direction: column; min-height: 100vh !important; }
/* template.min.js memasang min-height inline (tinggi layar - footer) tanpa memperhitungkan
   margin-top header, sehingga footer terdorong keluar layar; tinggi diatur lewat flex. */
.wrapper > .content-wrapper { flex: 1 0 auto; min-height: 0 !important; }
.wrapper > .main-footer { flex-shrink: 0; }

/* ===== DataTable admin (components/DataTable.js) ===== */
:root {
  --dt-head-bg: #eef2f8; --dt-head-text: #8a94a6; --dt-text: #1f2937; --dt-border: #edf0f5; --dt-hover: #f7f9fc;
  --dt-page-border: #d9dfe8; --dt-page-text: #9aa3b2; --dt-accent: #2f80ed;
  --tab-idle: #dfe5ef; --tab-idle-2: #d3dbe8; --tab-idle-text: #8a94a6; --tab-active-text: #1f2937;
}
.dark-skin {
  --dt-head-bg: rgba(255,255,255,0.06); --dt-head-text: #9aa6b8; --dt-text: #e5e9f0; --dt-border: rgba(255,255,255,0.07); --dt-hover: rgba(255,255,255,0.04);
  --dt-page-border: rgba(255,255,255,0.15); --dt-page-text: #9aa6b8; --dt-accent: #5b9dff;
  --tab-idle: rgba(255,255,255,0.08); --tab-idle-2: rgba(255,255,255,0.05); --tab-idle-text: #9aa6b8; --tab-active-text: #fff;
}
.app-datatable .rdt_TableHeadRow { overflow: hidden; }
.app-datatable .rdt_TableCell .btn { border-radius: 4px; font-weight: 500; }
.app-datatable .rdt_TableCell .btn-xs, .app-datatable .rdt_TableCell .btn-sm { padding: 3px 10px; font-size: 12px; line-height: 1.4; }

.dt-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 4px 4px; width: 100%; }
.dt-pagination-info { display: flex; align-items: center; gap: 12px; color: var(--dt-page-text); font-size: 13px; }
.dt-page-size { height: 30px; padding: 0 8px; border: 1px solid var(--dt-page-border); border-radius: 4px; background: transparent; color: var(--dt-text); font-size: 13px; }
.dt-pages { display: flex; align-items: center; gap: 8px; }
.dt-page {
  min-width: 26px; height: 26px; padding: 0 6px; border: 1px solid var(--dt-page-border); border-radius: 3px;
  background: transparent; color: var(--dt-page-text); font-size: 13px; line-height: 24px; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.dt-page i { font-size: 10px; }
.dt-page:hover:not(:disabled) { border-color: var(--dt-accent); color: var(--dt-accent); }
.dt-page.active { border-color: var(--dt-accent); color: var(--dt-accent); font-weight: 600; }
.dt-page:disabled { opacity: 0.45; cursor: default; }
.dt-page-gap { color: var(--dt-page-text); font-size: 11px; letter-spacing: 1px; padding: 0 4px; }
@media (max-width: 575px) { .dt-pagination { justify-content: center; } }

/* ===== Tab bergaya folder di atas card (components/CardTabs.js) ===== */
.card-tabs { display: flex; align-items: flex-end; padding-left: 0; margin-bottom: -1px; overflow-x: auto; scrollbar-width: none; }
.card-tabs::-webkit-scrollbar { display: none; }
.card-tab {
  position: relative; flex-shrink: 0; border: 0; background: none; height: 46px; padding: 0 34px 0 22px;
  margin-right: -14px; color: var(--tab-idle-text); font-size: 0.9rem; font-weight: 500; cursor: pointer;
}
.card-tab > span { position: relative; z-index: 1; white-space: nowrap; }
/* sisi kiri tegak membulat, sisi kanan miring */
.card-tab::before, .card-tab::after { content: ''; position: absolute; top: 6px; bottom: 0; background: var(--tab-idle); transition: background .15s, top .15s; }
.card-tab::before { left: 0; right: 30px; border-radius: 12px 0 0 0; }
.card-tab::after { right: 4px; width: 46px; border-radius: 0 12px 0 0; transform: skewX(14deg); transform-origin: bottom; }
.card-tab:nth-child(even)::before, .card-tab:nth-child(even)::after { background: var(--tab-idle-2); }
.card-tab:hover:not(.active) { color: var(--tab-active-text); }
.card-tab.active { color: var(--tab-active-text); font-weight: 600; }
.card-tab.active::before, .card-tab.active::after { top: 0; background: #fff; }
.dark-skin .card-tab.active::before, .dark-skin .card-tab.active::after { background: #0E0E23; }
.box.box-tabbed { border-top-left-radius: 0 !important; }

/* Tabel HTML biasa (thead.table-light) diserasikan dengan DataTable */
.box .table > thead.table-light > tr > th {
  background: var(--dt-head-bg); color: var(--dt-head-text); font-size: 13px; font-weight: 500;
  border-bottom: 0; padding-top: 12px; padding-bottom: 12px;
}
.box .table > thead.table-light > tr > th:first-child { border-radius: 8px 0 0 8px; }
.box .table > thead.table-light > tr > th:last-child { border-radius: 0 8px 8px 0; }
.box .table > tbody > tr > td { border-color: var(--dt-border); }

/* ===== Loading ===== */
@keyframes line-loader-slide {
  0% { left: -35%; width: 35%; }
  50% { width: 45%; }
  100% { left: 100%; width: 35%; }
}
.line-loader { position: relative; height: 3px; overflow: hidden; background: rgba(47,128,237,0.15); border-radius: 3px; }
.line-loader::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -35%; width: 35%; border-radius: 3px;
  background: linear-gradient(90deg, #2f80ed, #56ccf2); animation: line-loader-slide 1.1s ease-in-out infinite;
}

/* Tabel: garis di bawah judul kolom, baris diredupkan */
.app-dt-wrap { position: relative; }
.app-dt-wrap .rdt_TableHeadRow { position: relative; }
.app-dt-wrap.is-loading .rdt_TableHeadRow::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #2f80ed 40%, #56ccf2 60%, transparent) no-repeat;
  background-size: 40% 100%; animation: dt-line 1.1s ease-in-out infinite;
}
@keyframes dt-line { 0% { background-position: -60% 0; } 100% { background-position: 160% 0; } }
.app-dt-wrap.is-loading .rdt_TableBody { opacity: 0.45; pointer-events: none; transition: opacity .15s; }
.app-dt-wrap.is-loading .dt-pagination { opacity: 0.6; pointer-events: none; }
.dt-loading-text { padding: 32px; color: var(--dt-head-text); font-size: 13px; }

/* Overlay konten (halaman tanpa tabel) */
.content-loading {
  position: absolute; inset: 0; z-index: 50; display: flex; justify-content: center; align-items: flex-start;
  background: rgba(238, 242, 248, 0.55); backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px);
  animation: content-loading-in .15s ease-out;
}
.dark-skin .content-loading { background: rgba(14, 14, 35, 0.55); }
.content-loading-line { position: absolute; top: 0; left: 0; right: 0; border-radius: 0; }
.content-loading-card {
  position: sticky; top: 40vh; margin-top: 120px; display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-radius: 12px; background: #fff; color: #334155; font-size: 0.9rem; font-weight: 500;
  box-shadow: 0 10px 30px -10px rgba(13, 59, 138, 0.25);
}
.dark-skin .content-loading-card { background: #1c1c36; color: #e5e9f0; }
.content-loading-spinner {
  width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(47,128,237,0.2); border-top-color: #2f80ed;
  animation: content-spin .7s linear infinite;
}
@keyframes content-spin { to { transform: rotate(360deg); } }
@keyframes content-loading-in { from { opacity: 0; } to { opacity: 1; } }

/* ===== Banner tenant (sesi bantuan, langganan, pengumuman Asalink) ===== */
.tenant-banners { padding: 16px 30px 0; display: flex; flex-direction: column; gap: 8px; }
.tenant-banners:empty { display: none; }
.tenant-banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: 0.88rem; }
.tenant-banner > i { font-size: 1rem; }
.tenant-banner-support { background: #4c1d95; color: #fff; }
.tenant-banner-danger { background: #fdecec; color: #b42318; border: 1px solid #f6caca; }
.tenant-banner-warning { background: #fff7e6; color: #8a5300; border: 1px solid #ffe2a8; }
.tenant-banner-info { background: #eaf3fe; color: #0d3b8a; border: 1px solid #c8def9; }
.dark-skin .tenant-banner-danger { background: rgba(180,35,24,0.18); color: #ffb4ab; border-color: transparent; }
.dark-skin .tenant-banner-warning { background: rgba(255,170,0,0.14); color: #ffd27a; border-color: transparent; }
.dark-skin .tenant-banner-info { background: rgba(77,124,255,0.15); color: #b9cdff; border-color: transparent; }
@media (max-width: 767px) { .tenant-banners { padding: 12px 12px 0; } .tenant-banner { flex-wrap: wrap; } }

/* ===== Konsol platform ===== */
.stat-card { height: calc(100% - 20px); }
.stat-card .stat-label { color: var(--dt-head-text); font-size: 0.8rem; }
.stat-card .stat-value { font-size: 1.5rem; font-weight: 700; margin: 2px 0; }
.stat-card .stat-hint { font-size: 0.78rem; color: var(--dt-head-text); }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 0.85rem; }
.bar-row .bar-label { width: 140px; flex-shrink: 0; }
.bar-row .bar-track { display: block; flex: 1; height: 8px; border-radius: 4px; background: var(--dt-head-bg); overflow: hidden; }
.bar-row .bar-fill { display: block; height: 100%; border-radius: 4px; background: #2f80ed; }
.bar-row .bar-value { width: 48px; text-align: right; font-weight: 600; }
.growth-chart { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 10px; }
.growth-chart .g-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.growth-chart .g-bar { width: 100%; max-width: 28px; border-radius: 4px 4px 0 0; background: #2f80ed; min-height: 2px; }
.growth-chart .g-label { font-size: 0.68rem; color: var(--dt-head-text); }
.status-pill { display: inline-block; white-space: nowrap; padding: 2px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.status-trial { background: #eaf3fe; color: #1565c0; }
.status-aktif { background: #e7f6ec; color: #1e7b3b; }
.status-ditangguhkan { background: #fff3e0; color: #b45309; }
.status-berhenti { background: #f1f1f1; color: #616161; }
.status-belum { background: #f5f5f5; color: #9e9e9e; }

/* ===== Utility classes for Modern Layouts (Tailwind-compatible) ===== */
.min-h-screen { min-height: 100vh; }
.pb-10 { padding-bottom: 2.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-1 { padding: 0.25rem; }
.p-3\.5 { padding: 0.875rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pb-4 { padding-bottom: 1rem; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.flex-1 { flex: 1 1 0%; }

.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 992px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-50\/50 { background-color: rgba(248, 250, 252, 0.5); }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-blue-50\/30 { background-color: rgba(239, 246, 255, 0.3); }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.bg-gradient-to-br { background-image: linear-gradient(135deg, var(--tw-gradient-from, #2563eb) 0%, var(--tw-gradient-to, #1d4ed8) 100%); }
.from-blue-600 { --tw-gradient-from: #2563eb; }
.to-blue-700 { --tw-gradient-to: #1d4ed8; }

.text-white { color: #ffffff; }
.text-blue-600 { color: #2563eb; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.hover\:text-slate-900:hover { color: #0f172a; }

.border { border-width: 1px; border-style: solid; border-color: #e2e8f0; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-dashed { border-style: dashed; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-200\/80 { border-color: rgba(226, 232, 240, 0.8); }
.border-slate-200\/60 { border-color: rgba(226, 232, 240, 0.6); }
.border-blue-200 { border-color: #bfdbfe; }
.border-blue-500 { border-color: #3b82f6; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }

.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.border-collapse { border-collapse: collapse; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }

.focus-within\:ring-2:focus-within {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.focus-within\:ring-blue-500\/20:focus-within {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.transition-colors { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.hover\:bg-slate-50\/50:hover { background-color: rgba(248, 250, 252, 0.5); }

.bg-amber-50\/80 { background-color: rgba(254, 243, 199, 0.8); }
.border-amber-200 { border-color: #fde68a; }
.bg-emerald-50\/80 { background-color: rgba(236, 253, 245, 0.8); }
.border-emerald-200 { border-color: #a7f3d0; }
.bg-sky-50\/80 { background-color: rgba(240, 249, 255, 0.8); }
.border-sky-200 { border-color: #bae6fd; }
.border-danger\/25 { border-color: rgba(220, 53, 69, 0.25); }

/* Additional Slate & Dark Theme Utilities */
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-950 { background-color: #020617; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }

.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.tracking-wide { letter-spacing: 0.025em; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.mt-0\.5 { margin-top: 0.125rem; }

/* ===== Kiosk Terminal Presensi (Layar Penuh) ===== */
.kiosk-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2000 !important;
  display: flex !important;
  flex-direction: column !important;
  background: radial-gradient(circle at 20% 0%, #1e3a8a 0%, #0f172a 55%, #020617 100%) !important;
  color: #f8fafc !important;
  overflow-y: auto !important;
  padding: clamp(16px, 3vw, 40px) !important;
}

.kiosk-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.kiosk-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.kiosk-clock-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kiosk-clock {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 700;
  font-size: clamp(2.5rem, 9vw, 6.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.kiosk-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.kiosk-input-box {
  border: 2px dashed rgba(59, 130, 246, 0.4);
  background: rgba(30, 58, 138, 0.2);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.kiosk-input-wrap {
  display: flex;
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  border: 2px solid #3b82f6;
  border-radius: 14px;
  background: #0b1220;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.kiosk-input {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  color: #ffffff !important;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px;
  box-shadow: none !important;
}

.kiosk-result {
  border-radius: 20px;
  padding: 20px;
  border: 2px solid;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.kiosk-result--in {
  background: rgba(6, 78, 59, 0.55);
  border-color: rgba(16, 185, 129, 0.7);
}

.kiosk-result--late {
  background: rgba(120, 53, 15, 0.55);
  border-color: rgba(245, 158, 11, 0.7);
}

.kiosk-result--out {
  background: rgba(7, 89, 133, 0.55);
  border-color: rgba(56, 189, 248, 0.7);
}

.kiosk-result--err {
  background: rgba(127, 29, 29, 0.55);
  border-color: rgba(244, 63, 94, 0.65);
}

.kiosk-recent-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kiosk-recent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.kiosk-recent-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.kiosk-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.75rem;
  color: #64748b;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

@keyframes kiosk-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.92); }
}

.kiosk-pulse {
  animation: kiosk-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@media (max-width: 575.98px) {
  .kiosk-overlay {
    padding: 12px !important;
  }
  .kiosk-card, .kiosk-clock-card {
    padding: 16px;
    border-radius: 16px;
  }
  .kiosk-clock {
    font-size: 2.25rem;
  }
}

/* ===== Chrome Native Window Scrolling Fix ===== */
html {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
}

body,
body.hold-transition,
body.fixed {
  position: static !important;
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

.wrapper,
.fixed .wrapper,
body.fixed .wrapper {
  position: relative !important;
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
}

.content-wrapper,
.fixed .content-wrapper,
body.fixed .content-wrapper {
  height: auto !important;
  min-height: calc(100vh - 80px) !important;
  overflow: visible !important;
}

.container-full {
  height: auto !important;
  overflow: visible !important;
}

.content {
  height: auto !important;
  overflow: visible !important;
}

.box {
  height: auto !important;
  overflow: visible !important;
}


