/* ==========================================================================
   KIIS Master Stylesheet (app.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Kufam:ital,wght@0,400..900;1,400..900&family=Orbitron:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Poppins:wght@300;400;500;600;700&family=Reem+Kufi:wght@400..700&display=swap');

@font-face {
  font-family: 'CustomFont';
  src: url('customfont.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TheoVanDoesburg';
  src: url('customfont.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Respati';
  src: url('RespatiRegular.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AldoTheApache';
  src: url('AldotheApache.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* CustomFont / Theo Van Doesburg / Respati Font for Title */
.font-custom,
.font-respati,
.font-kufi,
.brand-title-light,
.brand-title-kufi,
.auth-banner-title,
.app-sidebar-logo-title,
#kt_app_sidebar_logo .app-sidebar-logo-title,
.app-sidebar-logo .app-sidebar-logo-title,
#kt_app_header .app-sidebar-logo-title,
.app-brand-title {
  font-family: 'CustomFont', 'TheoVanDoesburg', 'Theo Van Doesburg', 'Respati', 'Kufam', 'Reem Kufi', sans-serif !important;
  letter-spacing: 0.04em !important;
}

.brand-title-light {
  font-size: 2.5rem !important;
}

.brand-subtitle-light {
  font-size: 1.2rem !important;
}

/* CustomFont / Theo Van Doesburg / Aldo Techno Square for Subtitle */
.font-custom-subtitle,
.font-aldo,
.font-techno-square,
.brand-subtitle-light,
.brand-subtitle-kufi,
.auth-banner-subtitle,
.app-sidebar-logo-subtitle,
#kt_app_sidebar_logo .app-sidebar-logo-subtitle,
.app-sidebar-logo .app-sidebar-logo-subtitle,
#kt_app_header .app-sidebar-logo-subtitle,
.app-brand-subtitle {
  font-family: 'CustomFont', 'TheoVanDoesburg', 'Theo Van Doesburg', 'AldoTheApache', 'Orbitron', 'Chakra Petch', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 600 !important;
}

:root,
[data-bs-theme="light"] {
  /* PaduKita Theme (Emerald Green & Heritage Gold) */
  --sidebar-theme-bg: #081E16;
  --sidebar-theme-hover: #02613F;
  --sidebar-theme-logo-bg: #051510;
  --sidebar-theme-border: rgba(255, 255, 255, 0.08);
  --sidebar-theme-text: rgba(255, 255, 255, 0.90);
  --sidebar-theme-text-muted: rgba(255, 255, 255, 0.65);
  --sidebar-theme-icon: #34D399;
  --sidebar-theme-hover-bg: rgba(2, 97, 63, 0.20);
  --sidebar-theme-active-bg: #02613F;
  --sidebar-theme-sub-bg: #04120D;
  --sidebar-theme-active-bullet: #D5AC36;

  /* Backward Compatibility Variables */
  --sidebar-green-bg: #081E16;
  --sidebar-green-hover: #02613F;
  --sidebar-green-logo-bg: #051510;
  --sidebar-green-border: rgba(255, 255, 255, 0.08);
  --sidebar-green-text: rgba(255, 255, 255, 0.90);
  --sidebar-green-text-muted: rgba(255, 255, 255, 0.65);
  --sidebar-green-icon: #34D399;
  --sidebar-green-hover-bg: rgba(2, 97, 63, 0.20);
  --sidebar-green-active-bg: #02613F;
  --sidebar-green-sub-bg: #04120D;

  /* Brand Palette Colors (Matches SIDIK Logo & Kepri Kesra Branding) */
  --brand-blue: #02613F;
  --brand-blue-hover: #014A30;
  --brand-blue-active: #013824;
  --brand-blue-soft: rgba(2, 97, 63, 0.15);
  --brand-orange: #02613F;
  --brand-orange-hover: #014A30;
  --brand-orange-active: #013824;
  --brand-orange-soft: rgba(2, 97, 63, 0.15);
  --brand-slate: #0A251B;
  --brand-slate-dark: #081E16;
  --brand-slate-light: #94A3B8;
  --brand-green: #02613F;
  --brand-green-hover: #014A30;
  --brand-green-active: #013824;
  --brand-green-soft: rgba(2, 97, 63, 0.12);
  --brand-gold: #D5AC36;
  --brand-gold-hover: #D97706;
  --brand-gold-text: #D97706;
  --brand-charcoal: #081E16;
  --brand-charcoal-dark: #051510;

  /* Global Bootstrap / Metronic Primary Overrides */
  --bs-primary: #02613F;
  --bs-primary-rgb: 2, 97, 63;
  --bs-primary-active: #013824;
  --bs-primary-hover: #014A30;
  --bs-primary-light: #EDF7F2;
  --bs-primary-inverse: #ffffff;
  --bs-link-color: #02613F;
  --bs-link-hover-color: #014A30;
}

[data-bs-theme="dark"] {
  --bs-primary: #34D399;
  --bs-primary-rgb: 52, 211, 153;
  --bs-primary-active: #059669;
  --bs-primary-hover: #10B981;
  --bs-primary-light: rgba(52, 211, 153, 0.15);
  --bs-link-color: #34D399;
  --bs-link-hover-color: #A7F3D0;
}

/* ==========================================================================
/* ==========================================================================
   Dark Mode: Alert & Notice bg-light-primary (Retain text-gray-900 = #071437)
   ========================================================================== */
[data-bs-theme="dark"] .alert.bg-light-primary,
[data-bs-theme-mode="dark"] .alert.bg-light-primary,
[data-theme="dark"] .alert.bg-light-primary,
.dark-mode .alert.bg-light-primary,
[data-bs-theme="dark"] .alert.alert-dismissible.bg-light-primary,
[data-bs-theme-mode="dark"] .alert.alert-dismissible.bg-light-primary,
[data-theme="dark"] .alert.alert-dismissible.bg-light-primary,
.dark-mode .alert.alert-dismissible.bg-light-primary,
[data-bs-theme="dark"] .notice.bg-light-primary,
[data-bs-theme-mode="dark"] .notice.bg-light-primary,
[data-theme="dark"] .notice.bg-light-primary,
.dark-mode .notice.bg-light-primary {
  background-color: #f0fdf4 !important;
  border-color: #00923F !important;
  color: #071437 !important;
}

/* Headings and titles inside alert - maintain text-gray-900 = #071437 */
[data-bs-theme="dark"] .alert.bg-light-primary h1,
[data-bs-theme="dark"] .alert.bg-light-primary h2,
[data-bs-theme="dark"] .alert.bg-light-primary h3,
[data-bs-theme="dark"] .alert.bg-light-primary h4,
[data-bs-theme="dark"] .alert.bg-light-primary h5,
[data-bs-theme="dark"] .alert.bg-light-primary h6,
[data-bs-theme="dark"] .alert.bg-light-primary .alert-heading,
[data-bs-theme="dark"] .notice.bg-light-primary h1,
[data-bs-theme="dark"] .notice.bg-light-primary h2,
[data-bs-theme="dark"] .notice.bg-light-primary h3,
[data-bs-theme="dark"] .notice.bg-light-primary h4,
[data-bs-theme="dark"] .notice.bg-light-primary h5,
[data-bs-theme="dark"] .notice.bg-light-primary h6,
[data-bs-theme-mode="dark"] .alert.bg-light-primary h1,
[data-bs-theme-mode="dark"] .alert.bg-light-primary h2,
[data-bs-theme-mode="dark"] .alert.bg-light-primary h3,
[data-bs-theme-mode="dark"] .alert.bg-light-primary h4,
[data-bs-theme-mode="dark"] .alert.bg-light-primary h5,
[data-bs-theme-mode="dark"] .alert.bg-light-primary h6,
[data-theme="dark"] .alert.bg-light-primary h5,
.dark-mode .alert.bg-light-primary h5 {
  color: #071437 !important;
}

/* Maintain text-gray-900 = #071437 inside alert */
[data-bs-theme="dark"] .alert.bg-light-primary .text-gray-900,
[data-bs-theme="dark"] .notice.bg-light-primary .text-gray-900,
[data-bs-theme-mode="dark"] .alert.bg-light-primary .text-gray-900,
[data-theme="dark"] .alert.bg-light-primary .text-gray-900,
.dark-mode .alert.bg-light-primary .text-gray-900 {
  color: #071437 !important;
}

/* Gray description text inside alert */
[data-bs-theme="dark"] .alert.bg-light-primary .text-gray-800,
[data-bs-theme="dark"] .notice.bg-light-primary .text-gray-800,
[data-bs-theme-mode="dark"] .alert.bg-light-primary .text-gray-800 {
  color: #252F4A !important;
}

[data-bs-theme="dark"] .alert.bg-light-primary .text-gray-700,
[data-bs-theme="dark"] .notice.bg-light-primary .text-gray-700,
[data-bs-theme-mode="dark"] .alert.bg-light-primary .text-gray-700,
[data-theme="dark"] .alert.bg-light-primary .text-gray-700,
.dark-mode .alert.bg-light-primary .text-gray-700 {
  color: #4B5675 !important;
}

[data-bs-theme="dark"] .alert.bg-light-primary .text-gray-600,
[data-bs-theme="dark"] .notice.bg-light-primary .text-gray-600,
[data-bs-theme="dark"] .alert.bg-light-primary .text-muted,
[data-bs-theme="dark"] .notice.bg-light-primary .text-muted {
  color: #78829D !important;
}

/* Bold/strong elements */
[data-bs-theme="dark"] .alert.bg-light-primary strong,
[data-bs-theme="dark"] .alert.bg-light-primary b,
[data-bs-theme="dark"] .notice.bg-light-primary strong,
[data-bs-theme="dark"] .notice.bg-light-primary b,
[data-bs-theme-mode="dark"] .alert.bg-light-primary strong,
[data-theme="dark"] .alert.bg-light-primary strong,
.dark-mode .alert.bg-light-primary strong {
  color: #071437 !important;
}

/* Primary text & icons inside alert */
[data-bs-theme="dark"] .alert.bg-light-primary .text-primary,
[data-bs-theme="dark"] .notice.bg-light-primary .text-primary,
[data-bs-theme="dark"] .alert.bg-light-primary a.text-primary,
[data-bs-theme-mode="dark"] .alert.bg-light-primary .text-primary,
[data-theme="dark"] .alert.bg-light-primary .text-primary,
.dark-mode .alert.bg-light-primary .text-primary {
  color: #00923F !important;
}

[data-bs-theme="dark"] .alert.bg-light-primary i.text-primary,
[data-bs-theme="dark"] .alert.bg-light-primary span.text-primary,
[data-bs-theme="dark"] .notice.bg-light-primary i.text-primary,
[data-bs-theme-mode="dark"] .alert.bg-light-primary i.text-primary,
[data-theme="dark"] .alert.bg-light-primary i.text-primary,
.dark-mode .alert.bg-light-primary i.text-primary {
  color: #00923F !important;
}

/* Symbol circle icon container */
[data-bs-theme="dark"] .alert.bg-light-primary .symbol.bg-white,
[data-bs-theme="dark"] .alert.bg-light-primary .symbol-circle.bg-white,
[data-bs-theme-mode="dark"] .alert.bg-light-primary .symbol-circle.bg-white,
[data-theme="dark"] .alert.bg-light-primary .symbol-circle.bg-white,
.dark-mode .alert.bg-light-primary .symbol-circle.bg-white {
  background-color: #ffffff !important;
  box-shadow: 0 .1rem 1rem .25rem rgba(0,0,0,.05) !important;
}

[data-bs-theme="dark"] .alert.bg-light-primary .symbol .symbol-label,
[data-bs-theme-mode="dark"] .alert.bg-light-primary .symbol .symbol-label,
[data-theme="dark"] .alert.bg-light-primary .symbol .symbol-label,
.dark-mode .alert.bg-light-primary .symbol .symbol-label {
  background-color: transparent !important;
  color: #00923F !important;
}

/* Close button inside alert */
[data-bs-theme="dark"] .alert.bg-light-primary .btn-close,
[data-bs-theme-mode="dark"] .alert.bg-light-primary .btn-close,
[data-theme="dark"] .alert.bg-light-primary .btn-close,
.dark-mode .alert.bg-light-primary .btn-close {
  filter: none !important;
}


/* ==========================================================================
   Global Typography Enhancements
   ========================================================================== */
body,
.app-default,
#kt_app_body {
  font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.page-heading,
.card-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.015em;
}

#kt_app_sidebar,
.app-sidebar,
#kt_app_sidebar_menu,
#kt_app_sidebar_mobile {
  font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: 0.01em;
}

#kt_app_header_container,
#kt_app_header {
  font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

#kt_app_toolbar_container,
#kt_app_toolbar,
#kt_app_toolbar_menu {
  font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.btn,
.btn-green,
a.btn-green,
button.btn-green,
.btn-primary,
.btn-light-primary {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
}

/* Typography Color Accents (SIDIK Brand Ocean Blue) */
.text-primary,
a.text-primary {
  color: var(--bs-primary, #02613F) !important;
}

.text-hover-primary:hover,
a.text-hover-primary:hover,
.linkajax:hover {
  color: var(--bs-primary-active, #014A30) !important;
}


.bg-light-primary {
  background-color: var(--bs-primary-light)!important;
}

/* ==========================================================================
   1. Brand Green Button Themes (.btn-green, Auth Submit, Add & Save Buttons)
   ========================================================================== */
.btn-green,
a.btn-green,
button.btn-green,
.btn.btn-green,
.card-toolbar .btn-primary.open-form,
.panel-grid .card-toolbar .btn-primary.open-form,
.panel-grid .card-header .btn-primary.open-form,
.toolbar-btn-add,
.panel-form button[type="submit"],
.panel-form .card-footer button[type="submit"],
.panel-form .card-footer .btn-success,
.forminput button[type="submit"],
.forminput .card-footer button[type="submit"],
.forminput .card-footer .btn-success,
.body-form button[type="submit"],
.body-form .card-footer button[type="submit"],
.body-form .card-footer .btn-success,
#auth-form button[type="submit"],
#auth-form .btn-primary,
#2fa-form button[type="submit"],
#2fa-form .btn-primary {
  --bs-btn-color: #ffffff !important;
  --bs-btn-bg: #00923F !important;
  --bs-btn-border-color: #00923F !important;
  --bs-btn-hover-color: #ffffff !important;
  --bs-btn-hover-bg: #007A34 !important;
  --bs-btn-hover-border-color: #007A34 !important;
  --bs-btn-focus-shadow-rgb: 0, 146, 63 !important;
  --bs-btn-active-color: #ffffff !important;
  --bs-btn-active-bg: #00632A !important;
  --bs-btn-active-border-color: #00632A !important;
  --bs-btn-disabled-color: #ffffff !important;
  --bs-btn-disabled-bg: #00923F !important;
  --bs-btn-disabled-border-color: #00923F !important;
  background-color: #00923F !important;
  border-color: #00923F !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  box-shadow: 0 2px 6px rgba(0, 146, 63, 0.28) !important;
  transition: all 0.2s ease-in-out !important;
}

.btn-green:hover,
.btn-green:focus,
.btn-green:active,
.btn-green.active,
.show > .btn-green.dropdown-toggle,
a.btn-green:hover,
button.btn-green:hover,
.btn.btn-green:hover,
.card-toolbar .btn-primary.open-form:hover,
.card-toolbar .btn-primary.open-form:focus,
.card-toolbar .btn-primary.open-form:active,
.panel-grid .card-toolbar .btn-primary.open-form:hover,
.panel-grid .card-toolbar .btn-primary.open-form:focus,
.panel-grid .card-toolbar .btn-primary.open-form:active,
.panel-grid .card-header .btn-primary.open-form:hover,
.panel-grid .card-header .btn-primary.open-form:focus,
.panel-grid .card-header .btn-primary.open-form:active,
.toolbar-btn-add:hover,
.toolbar-btn-add:focus,
.toolbar-btn-add:active,
.panel-form button[type="submit"]:hover,
.panel-form button[type="submit"]:focus,
.panel-form button[type="submit"]:active,
.panel-form .card-footer button[type="submit"]:hover,
.panel-form .card-footer button[type="submit"]:focus,
.panel-form .card-footer button[type="submit"]:active,
.panel-form .card-footer .btn-success:hover,
.panel-form .card-footer .btn-success:focus,
.panel-form .card-footer .btn-success:active,
.forminput button[type="submit"]:hover,
.forminput button[type="submit"]:focus,
.forminput button[type="submit"]:active,
.forminput .card-footer button[type="submit"]:hover,
.forminput .card-footer button[type="submit"]:focus,
.forminput .card-footer button[type="submit"]:active,
.forminput .card-footer .btn-success:hover,
.forminput .card-footer .btn-success:focus,
.forminput .card-footer .btn-success:active,
.body-form button[type="submit"]:hover,
.body-form button[type="submit"]:focus,
.body-form button[type="submit"]:active,
.body-form .card-footer button[type="submit"]:hover,
.body-form .card-footer button[type="submit"]:focus,
.body-form .card-footer button[type="submit"]:active,
.body-form .card-footer .btn-success:hover,
.body-form .card-footer .btn-success:focus,
.body-form .card-footer .btn-success:active,
#auth-form button[type="submit"]:hover,
#auth-form button[type="submit"]:focus,
#auth-form button[type="submit"]:active,
#auth-form .btn-primary:hover,
#auth-form .btn-primary:focus,
#auth-form .btn-primary:active,
#2fa-form button[type="submit"]:hover,
#2fa-form button[type="submit"]:focus,
#2fa-form button[type="submit"]:active,
#2fa-form .btn-primary:hover,
#2fa-form .btn-primary:focus,
#2fa-form .btn-primary:active {
  background-color: #007A34 !important;
  border-color: #007A34 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 146, 63, 0.35) !important;
  transform: translateY(-1px);
}

.btn-green:active,
.btn-green.active,
.card-toolbar .btn-primary.open-form:active,
.panel-grid .card-toolbar .btn-primary.open-form:active,
.panel-grid .card-header .btn-primary.open-form:active,
.toolbar-btn-add:active,
.panel-form button[type="submit"]:active,
.panel-form .card-footer button[type="submit"]:active,
.panel-form .card-footer .btn-success:active,
.forminput button[type="submit"]:active,
.forminput .card-footer button[type="submit"]:active,
.forminput .card-footer .btn-success:active,
.body-form button[type="submit"]:active,
.body-form .card-footer button[type="submit"]:active,
.body-form .card-footer .btn-success:active,
#auth-form button[type="submit"]:active,
#auth-form .btn-primary:active,
#2fa-form button[type="submit"]:active,
#2fa-form .btn-primary:active {
  background-color: #00632A !important;
  border-color: #00632A !important;
  box-shadow: 0 2px 6px rgba(0, 146, 63, 0.45) !important;
  transform: translateY(0);
}

.btn-green i,
.btn-green .ki-duotone,
.btn-green .ki-solid,
.btn-green .ki-outline,
.btn-green .fas,
.card-toolbar .btn-primary.open-form i,
.panel-grid .card-toolbar .btn-primary.open-form i,
.panel-grid .card-header .btn-primary.open-form i,
.toolbar-btn-add i,
.panel-form button[type="submit"] i,
.panel-form .card-footer button[type="submit"] i,
.panel-form .card-footer .btn-success i,
.forminput button[type="submit"] i,
.forminput .card-footer button[type="submit"] i,
.forminput .card-footer .btn-success i,
.body-form button[type="submit"] i,
.body-form .card-footer button[type="submit"] i,
.body-form .card-footer .btn-success i {
  color: #ffffff !important;
}

#auth-form .btn-light-primary,
#auth-form #send-otp {
  background-color: #f0fdf4 !important;
  border-color: rgba(0, 146, 63, 0.25) !important;
  color: #00923F !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
}
#auth-form .btn-light-primary:hover,
#auth-form #send-otp:hover {
  background-color: #dcfce7 !important;
  border-color: #00923F !important;
  color: #007A34 !important;
}

#auth-form .link-primary,
.w-lg-500px .link-primary {
  color: #00923F !important;
  font-weight: 600 !important;
}
#auth-form .link-primary:hover,
.w-lg-500px .link-primary:hover {
  color: #007A34 !important;
  text-decoration: underline !important;
}

/* Responsive Auth Layout: 60% Fixed Banner, 40% Scrollable Form */
@media (min-width: 992px) {
  .w-lg-40 {
    width: 40% !important;
    flex: 0 0 40% !important;
    max-width: 40% !important;
  }
  .w-lg-60 {
    width: 60% !important;
    flex: 0 0 60% !important;
    max-width: 60% !important;
  }
  .auth-page-container {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
  }
  .auth-banner-col {
    width: 60% !important;
    flex: 0 0 60% !important;
    max-width: 60% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    position: sticky !important;
    top: 0 !important;
    overflow: hidden !important;
  }
  .auth-form-col {
    width: 40% !important;
    flex: 0 0 40% !important;
    max-width: 40% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  .auth-form-col::-webkit-scrollbar {
    width: 6px;
  }
  .auth-form-col::-webkit-scrollbar-track {
    background: transparent;
  }
  .auth-form-col::-webkit-scrollbar-thumb {
    background: rgba(2, 97, 63, 0.2);
    border-radius: 4px;
  }
  .auth-form-col::-webkit-scrollbar-thumb:hover {
    background: rgba(2, 97, 63, 0.4);
  }
  [data-bs-theme="dark"] .auth-form-col::-webkit-scrollbar-thumb,
  [data-theme="dark"] .auth-form-col::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
  }
}

/* Auth Form Column - Bahari Kepri Silhouette Background (Follows Form Scroll & Anchored to Bottom) */
.auth-page-container {
  min-height: 100vh;
  min-height: 100dvh;
}

.auth-form-col {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background-color: #ffffff;
  background-image: 
    linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 60%, #ffffff 100%),
    url('../media/banner-siluet-bahari-kepri.jpg');
  background-repeat: no-repeat, no-repeat;
  background-position: bottom center, bottom center;
  background-size: 100% 220px, 100% auto;
  background-attachment: scroll, scroll !important;
  position: relative;
}

[data-bs-theme="dark"] .auth-form-col,
[data-theme="dark"] .auth-form-col {
  background-color: #15171C;
  background-image: 
    linear-gradient(to top, rgba(21, 23, 28, 0.4) 0%, rgba(21, 23, 28, 0.75) 50%, rgba(21, 23, 28, 0.95) 80%, #15171C 100%),
    url('../media/banner-siluet-bahari-kepri.jpg');
  background-repeat: no-repeat, no-repeat;
  background-position: bottom center, bottom center;
  background-size: 100% 220px, 100% auto;
  background-attachment: scroll, scroll !important;
}

@media (max-width: 991.98px) {
  .auth-form-col {
    padding-bottom: 1.5rem !important;
    background-size: 100% 160px, auto 115px !important;
    background-position: bottom center, bottom center !important;
  }
  .auth-form-col .d-flex.flex-center.flex-wrap.px-5.mt-8 {
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  [data-bs-theme="dark"] .auth-form-col,
  [data-theme="dark"] .auth-form-col {
    background-size: 100% 160px, auto 115px !important;
    background-position: bottom center, bottom center !important;
    background-attachment: scroll, scroll !important;
  }
}

@media (min-width: 992px) {
  .auth-form-col {
    background-attachment: local, local !important;
  }
  /*
  [data-bs-theme="dark"] .auth-form-col,
  [data-theme="dark"] .auth-form-col {
    background-attachment: local, local !important;
  }
  */
}

.auth-form-col .d-flex.flex-center.flex-wrap.px-5 a {
  background: rgba(255, 255, 255, 0.75);
  padding: 3px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  color: #02613F !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.auth-form-col .d-flex.flex-center.flex-wrap.px-5 a:hover {
  background: #ffffff;
  color: #014A30 !important;
  box-shadow: 0 2px 8px rgba(2, 97, 63, 0.2);
}

[data-bs-theme="dark"] .auth-form-col .d-flex.flex-center.flex-wrap.px-5 a,
[data-theme="dark"] .auth-form-col .d-flex.flex-center.flex-wrap.px-5 a {
  background: rgba(21, 23, 28, 0.75);
  color: #34D399 !important;
}

/* Sidebar Footer - Bahari Kepri Silhouette Background */
:root:not([data-bs-theme="dark"]) #kt_app_sidebar_footer,
:root:not([data-bs-theme="dark"]) .app-sidebar-footer,
[data-bs-theme="light"] #kt_app_sidebar_footer,
[data-bs-theme="light"] .app-sidebar-footer {
  background-color: #ffffff !important;
  background-image: 
    linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%),
    url('../media/banner-siluet-bahari-kepri.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: bottom center !important;
  background-size: cover !important;
  border-top: 1px solid #f1f3f5 !important;
}

[data-bs-theme="dark"] #kt_app_sidebar_footer,
[data-bs-theme="dark"] .app-sidebar-footer,
[data-bs-theme-mode="dark"] #kt_app_sidebar_footer,
[data-bs-theme-mode="dark"] .app-sidebar-footer,
.dark-mode #kt_app_sidebar_footer,
.dark-mode .app-sidebar-footer {
  background-color: #1C1F26 !important;
  background-image: 
    linear-gradient(to bottom, rgba(28, 31, 38, 0.88) 0%, rgba(28, 31, 38, 0.75) 100%),
    url('../media/banner-siluet-bahari-kepri.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: bottom center !important;
  background-size: cover !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}


[data-bs-theme="dark"] .auth-form-col .d-flex.flex-center.flex-wrap.px-5 a:hover,
[data-theme="dark"] .auth-form-col .d-flex.flex-center.flex-wrap.px-5 a:hover {
  background: #1C1F26;
  color: #A7F3D0 !important;
}


/* ==========================================================================
   2. Typography & Layout Utilities
   ========================================================================== */
.fs-10 {
  font-size: 0.65rem !important;
}

.text-hover-underline:hover {
  text-decoration: underline;
}

.nice-wrap {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.word-break {
  word-break: break-all !important;
}

.img-cover {
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ==========================================================================
   3. DataTables & Freeze Columns
   ========================================================================== */
.dataTables_wrapper {
  padding-bottom: 1.25rem !important;
}

body table.dataTable {
  margin-bottom: 0;
}

.table-striped tbody tr:nth-of-type(odd) td.freeze-start,
.table-striped tbody tr:nth-of-type(odd) td.freeze-end {
  background: rgba(var(--bs-gray-100-rgb), 1);
}

.table-striped tbody tr:nth-of-type(even) td.freeze-start,
.table-striped tbody tr:nth-of-type(even) td.freeze-end {
  background: rgba(var(--bs-body-bg-rgb), 1);
}

th.freeze-start,
th.freeze-end {
  background: var(--bs-body-bg) !important;
}

td.freeze-start,
td.freeze-end {
  background: var(--bs-body-bg) !important;
}

th.freeze-start,
td.freeze-start {
  position: sticky !important;
  top: 0;
  left: var(--freeze-offset, 0px) !important;
  z-index: 1;
}

th.freeze-end,
td.freeze-end {
  position: sticky !important;
  top: 0;
  right: var(--freeze-offset, 0px) !important;
  z-index: 1;
}

.table-scroll-top {
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
  height: 11px;
}

.table-scroll-top div {
  height: 1px;
}

/* ==========================================================================
   4. Form Elements & Parsley Validation
   ========================================================================== */
.btn-sm,
.btn-group-sm>.btn {
  padding: 0.6rem 0.7rem;
}

.form-check .form-check-input {
  cursor: pointer;
}

.custom-select {
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%233b4863' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
  background-color: rgba(0, 0, 0, 0);
}

.input-file-container.drag-over {
  background-color: var(--bs-primary-light);
  border-color: var(--bs-primary) !important;
}

.parsley-error {
  border-color: #ec4561 !important;
}

.parsley-errors-list {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}

.parsley-errors-list li {
  color: #f1416c;
  font-size: .95rem;
  font-weight: 500;
}

input.parsley-error,
textarea.parsley-error,
select.parsley-error {
  border-color: #f1416c !important;
}

.highlight {
  color: #9efeff !important;
}

.tox-tinymce-aux {
  z-index: 1000 !important;
}

/* ==========================================================================
   5. Nestable & Notifications
   ========================================================================== */
.dd-item>button {
  margin: 13px 0;
}

.dd3-handle:before {
  top: 16px;
}

.list-notification .notification-item .media {
  border-bottom: 1px solid #eee;
}

.list-notification .notification-item:last-child .media {
  border-bottom: 0 solid #eee;
}

/* ==========================================================================
   6. Cards & Modals Responsive
   ========================================================================== */
@media (max-width: 767.98px) {
  .panel-grid .card .card-header {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
  }

  .panel-grid .collapse .card-body {
    padding: 1.5rem !important;
  }
}

.card .card-footer {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

@media (max-width: 576px) {
  .modal-dialog {
    margin: 0;
    height: auto;
    max-width: 100%;
    position: unset !important;
  }

  .modal-dialog.modal-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  .modal-content {
    border-radius: 1rem 1rem 0 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    animation: slideUp 0.3s ease-out;
  }

  .modal-dialog.modal-fullscreen .modal-content {
    border-radius: 0 !important;
    position: relative;
    height: 100%;
    bottom: unset;
    animation: none;
  }

  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }
}

.menu-sub-indention .menu-item .menu-item .menu-link.active {
  margin-right: unset !important;
}

/* ==========================================================================
   7. SINERGI Crimson Red & Charcoal Slate Sidebar Theme
   ========================================================================== */

/* Sidebar Container */
#kt_app_sidebar,
.app-sidebar,
[data-kt-drawer-name="app-sidebar"],
[data-kt-drawer-name="app-sidebar-mobile"] {
  background-color: var(--sidebar-theme-bg) !important;
  border-right: 1px solid var(--sidebar-theme-border) !important;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif !important;
}

/* Sidebar Logo Section */
#kt_app_sidebar_logo,
.app-sidebar-logo {
  background-color: var(--sidebar-theme-logo-bg) !important;
  border-bottom: 1px solid var(--sidebar-theme-border) !important;
}

#kt_app_sidebar_logo .text-body,
.app-sidebar-logo .text-body {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* SIDIK Brand Typography Colors & Fonts */
.app-sidebar-logo-title,
#kt_app_sidebar_logo .app-sidebar-logo-title,
.app-sidebar-logo .app-sidebar-logo-title,
.app-brand-title {
  font-family: 'CustomFont', 'TheoVanDoesburg', 'Theo Van Doesburg', 'Respati', 'Kufam', 'Reem Kufi', sans-serif !important;
  color: #FFFFFF !important; /* White on dark sidebar */
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

.app-sidebar-logo-subtitle,
#kt_app_sidebar_logo .app-sidebar-logo-subtitle,
.app-sidebar-logo .app-sidebar-logo-subtitle,
.app-brand-subtitle {
  font-family: 'CustomFont', 'TheoVanDoesburg', 'Theo Van Doesburg', 'AldoTheApache', 'Orbitron', 'Chakra Petch', sans-serif !important;
  text-transform: uppercase !important;
  color: #F59E0B !important; /* Golden Mosque Dome Accent */
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
}


/* Header Logo Title & Subtitle Light & Dark Mode Coloring */
#kt_app_header .app-sidebar-logo-title,
#kt_app_header .app-sidebar-logo-subtitle {
  transition: color 0.35s ease;
}

:root:not([data-bs-theme="dark"]) #kt_app_header .app-sidebar-logo-title,
[data-bs-theme="light"] #kt_app_header .app-sidebar-logo-title,
[data-bs-theme-mode="light"] #kt_app_header .app-sidebar-logo-title {
  color: #0A251B !important;
}

:root:not([data-bs-theme="dark"]) #kt_app_header .app-sidebar-logo-subtitle,
[data-bs-theme="light"] #kt_app_header .app-sidebar-logo-subtitle,
[data-bs-theme-mode="light"] #kt_app_header .app-sidebar-logo-subtitle {
  color: #02613F !important;
}

[data-bs-theme="dark"] #kt_app_header .app-sidebar-logo-title,
[data-bs-theme-mode="dark"] #kt_app_header .app-sidebar-logo-title,
.dark-mode #kt_app_header .app-sidebar-logo-title {
  color: #FFFFFF !important;
}

[data-bs-theme="dark"] #kt_app_header .app-sidebar-logo-subtitle,
[data-bs-theme-mode="dark"] #kt_app_header .app-sidebar-logo-subtitle,
.dark-mode #kt_app_header .app-sidebar-logo-subtitle {
  color: #34D399 !important;
}

/* Brand Typography on Light Surfaces (e.g. Login Form) */
.brand-title-light,
.text-brand-green {
  color: #0A251B !important; /* Deep Forest Green */
}

.brand-subtitle-light,
.text-brand-gold {
  color: #02613F !important; /* Emerald Green */
}

#kt_app_sidebar_logo a,
.app-sidebar-logo a {
  color: var(--sidebar-theme-icon) !important;
  transition: color 0.2s ease;
}

#kt_app_sidebar_logo a:hover,
.app-sidebar-logo a:hover {
  color: #ffffff !important;
}

/* Sidebar Minimize Toggle Button */
#kt_app_sidebar_toggle,
.app-sidebar-toggle {
  background-color: var(--sidebar-theme-logo-bg) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  color: #ffffff !important;
}

#kt_app_sidebar_toggle i,
#kt_app_sidebar_toggle .ki-outline,
.app-sidebar-toggle i,
.app-sidebar-toggle .ki-outline {
  color: #34D399 !important;
}

#kt_app_sidebar_toggle:hover,
.app-sidebar-toggle:hover {
  background-color: #02613F !important;
  border-color: #02613F !important;
  color: #ffffff !important;
}

/* Sidebar Menu Links */
#kt_app_sidebar_menu .menu-link,
#kt_app_sidebar_mobile .menu-link {
  color: var(--sidebar-theme-text) !important;
  border-radius: 0.5rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  transition: all 0.2s ease;
}

#kt_app_sidebar_menu .menu-link .menu-title,
#kt_app_sidebar_mobile .menu-link .menu-title {
  color: var(--sidebar-theme-text) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.915rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

#kt_app_sidebar_menu .menu-link .menu-icon,
#kt_app_sidebar_menu .menu-link .menu-icon i,
#kt_app_sidebar_mobile .menu-link .menu-icon,
#kt_app_sidebar_mobile .menu-link .menu-icon i {
  color: var(--sidebar-theme-icon) !important;
  transition: color 0.2s ease;
}

#kt_app_sidebar_menu .menu-link .menu-bullet .bullet,
#kt_app_sidebar_mobile .menu-link .menu-bullet .bullet {
  background-color: rgba(255, 255, 255, 0.45) !important;
}

#kt_app_sidebar_menu .menu-link .menu-arrow:after,
#kt_app_sidebar_mobile .menu-link .menu-arrow:after {
  background-color: rgba(255, 255, 255, 0.65) !important;
}

/* Hover States */
#kt_app_sidebar_menu .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active),
#kt_app_sidebar_mobile .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) {
  background-color: var(--sidebar-theme-hover-bg) !important;
}

#kt_app_sidebar_menu .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-title,
#kt_app_sidebar_mobile .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-title {
  color: #34D399 !important;
  font-weight: 600 !important;
}

#kt_app_sidebar_menu .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-icon,
#kt_app_sidebar_menu .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-icon i,
#kt_app_sidebar_mobile .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-icon,
#kt_app_sidebar_mobile .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-icon i {
  color: #34D399 !important;
}

#kt_app_sidebar_menu .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-bullet .bullet,
#kt_app_sidebar_mobile .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-bullet .bullet {
  background-color: #ffffff !important;
}

#kt_app_sidebar_menu .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-arrow:after,
#kt_app_sidebar_mobile .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-arrow:after {
  background-color: #ffffff !important;
}

/* Active and Expanded States */
#kt_app_sidebar_menu .menu-item.here > .menu-link,
#kt_app_sidebar_menu .menu-item > .menu-link.active,
#kt_app_sidebar_menu .menu-item.show > .menu-link,
#kt_app_sidebar_mobile .menu-item.here > .menu-link,
#kt_app_sidebar_mobile .menu-item > .menu-link.active,
#kt_app_sidebar_mobile .menu-item.show > .menu-link {
  background-color: var(--sidebar-theme-active-bg) !important;
}

#kt_app_sidebar_menu .menu-item.here > .menu-link .menu-title,
#kt_app_sidebar_menu .menu-item > .menu-link.active .menu-title,
#kt_app_sidebar_menu .menu-item.show > .menu-link .menu-title,
#kt_app_sidebar_mobile .menu-item.here > .menu-link .menu-title,
#kt_app_sidebar_mobile .menu-item > .menu-link.active .menu-title,
#kt_app_sidebar_mobile .menu-item.show > .menu-link .menu-title {
  color: #ffffff !important;
  font-weight: 650 !important;
}

#kt_app_sidebar_menu .menu-item.here > .menu-link .menu-icon,
#kt_app_sidebar_menu .menu-item.here > .menu-link .menu-icon i,
#kt_app_sidebar_menu .menu-item > .menu-link.active .menu-icon,
#kt_app_sidebar_menu .menu-item > .menu-link.active .menu-icon i,
#kt_app_sidebar_menu .menu-item.show > .menu-link .menu-icon,
#kt_app_sidebar_menu .menu-item.show > .menu-link .menu-icon i,
#kt_app_sidebar_mobile .menu-item.here > .menu-link .menu-icon,
#kt_app_sidebar_mobile .menu-item.here > .menu-link .menu-icon i,
#kt_app_sidebar_mobile .menu-item > .menu-link.active .menu-icon,
#kt_app_sidebar_mobile .menu-item > .menu-link.active .menu-icon i,
#kt_app_sidebar_mobile .menu-item.show > .menu-link .menu-icon,
#kt_app_sidebar_mobile .menu-item.show > .menu-link .menu-icon i {
  color: #ffffff !important;
}

#kt_app_sidebar_menu .menu-item.here > .menu-link .menu-bullet .bullet,
#kt_app_sidebar_menu .menu-item > .menu-link.active .menu-bullet .bullet,
#kt_app_sidebar_menu .menu-item.show > .menu-link .menu-bullet .bullet,
#kt_app_sidebar_mobile .menu-item.here > .menu-link .menu-bullet .bullet,
#kt_app_sidebar_mobile .menu-item > .menu-link.active .menu-bullet .bullet,
#kt_app_sidebar_mobile .menu-item.show > .menu-link .menu-bullet .bullet {
  background-color: var(--sidebar-theme-active-bullet, #F59E0B) !important;
}

#kt_app_sidebar_menu .menu-item.here > .menu-link .menu-arrow:after,
#kt_app_sidebar_menu .menu-item.show > .menu-link .menu-arrow:after,
#kt_app_sidebar_mobile .menu-item.here > .menu-link .menu-arrow:after,
#kt_app_sidebar_mobile .menu-item.show > .menu-link .menu-arrow:after {
  background-color: #ffffff !important;
}

/* Accordion Submenus */
#kt_app_sidebar_menu .menu-sub-accordion,
#kt_app_sidebar_mobile .menu-sub-accordion {
  background-color: var(--sidebar-theme-sub-bg) !important;
  border-radius: 0.475rem;
  padding: 0.25rem 0.25rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

#kt_app_sidebar_menu .menu-sub-accordion .menu-link,
#kt_app_sidebar_mobile .menu-sub-accordion .menu-link {
  color: rgba(255, 255, 255, 0.75) !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#kt_app_sidebar_menu .menu-sub-accordion .menu-link .menu-title,
#kt_app_sidebar_mobile .menu-sub-accordion .menu-link .menu-title {
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500;
}

#kt_app_sidebar_menu .menu-sub-accordion .menu-link:hover:not(.disabled):not(.active),
#kt_app_sidebar_mobile .menu-sub-accordion .menu-link:hover:not(.disabled):not(.active) {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

#kt_app_sidebar_menu .menu-sub-accordion .menu-link:hover:not(.disabled):not(.active) .menu-title,
#kt_app_sidebar_mobile .menu-sub-accordion .menu-link:hover:not(.disabled):not(.active) .menu-title {
  color: #ffffff !important;
}

#kt_app_sidebar_menu .menu-sub-accordion .menu-link.active,
#kt_app_sidebar_mobile .menu-sub-accordion .menu-link.active {
  background-color: var(--sidebar-theme-active-bg, rgba(0, 146, 63, 0.28)) !important;
}

#kt_app_sidebar_menu .menu-sub-accordion .menu-link.active .menu-title,
#kt_app_sidebar_mobile .menu-sub-accordion .menu-link.active .menu-title {
  color: #ffffff !important;
  font-weight: 650 !important;
}

#kt_app_sidebar_menu .menu-sub-accordion .menu-link.active .menu-bullet .bullet,
#kt_app_sidebar_mobile .menu-sub-accordion .menu-link.active .menu-bullet .bullet {
  background-color: var(--sidebar-theme-active-bullet, #F59E0B) !important;
}

/* Headings inside sidebar menu */
#kt_app_sidebar_menu .menu-heading,
#kt_app_sidebar_mobile .menu-heading {
  color: rgba(255, 255, 255, 0.5) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

/* Sidebar Scrollbar */
#kt_app_sidebar_menu_scroll::-webkit-scrollbar,
#kt_app_sidebar_menu_scroll .ps__rail-y {
  background-color: transparent !important;
}

#kt_app_sidebar_menu_scroll::-webkit-scrollbar-thumb,
#kt_app_sidebar_menu_scroll .ps__thumb-y {
  background-color: rgba(255, 255, 255, 0.18) !important;
  border-radius: 4px;
}

/* ==========================================================================
   8. Iconpicker Dropdown Styling
   ========================================================================== */

.iconpicker-dropdown {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  visibility: hidden;
  opacity: 0;
  z-index: 1050;
  pointer-events: none;
  flex: 0 0 0% !important;
  max-width: 0 !important;
  overflow: visible !important;
}

.iconpicker-dropdown.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.iconpicker-dropdown ul {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: 320px !important;
  max-width: calc(100vw - 40px) !important;
  max-height: 240px !important;
  height: auto !important;
  background: var(--bs-body-bg, #ffffff) !important;
  border: 1px solid var(--bs-border-color, #e4e6ef) !important;
  border-radius: 0.475rem !important;
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.15) !important;
  padding: 0.75rem !important;
  z-index: 1055 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  justify-content: flex-start !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  list-style: none !important;
  margin: 4px 0 0 0 !important;
}

.iconpicker-dropdown ul li {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--bs-gray-300, #e4e6ef) !important;
  border-radius: 0.35rem !important;
  cursor: pointer !important;
  margin: 0 !important;
  transition: all 0.15s ease !important;
  background-color: var(--bs-body-bg, #ffffff) !important;
  color: var(--bs-gray-700, #4b5675) !important;
}

.iconpicker-dropdown ul li i {
  font-size: 1.15rem !important;
  color: inherit !important;
}

.iconpicker-dropdown ul li:hover {
  background-color: rgba(166, 0, 0, 0.1) !important;
  border-color: var(--brand-red) !important;
  color: var(--brand-red) !important;
}

.iconpicker-dropdown ul li.selected {
  background-color: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   9. Header & Horizontal Menu Theme (SIDIK Kepri Royal Ocean Blue & Navy)
   ========================================================================== */

/* Header Top Bar in Horizontal Layout */
body[data-kt-app-layout="light-header"] #kt_app_header {
  background-color: var(--sidebar-theme-bg, #081E16) !important;
  border-bottom: 1px solid var(--sidebar-theme-border, rgba(255, 255, 255, 0.08)) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Page Title & Breadcrumb in Horizontal Header & Header Container */
#kt_app_header_container .page-heading,
#kt_app_header_container h1,
body[data-kt-app-layout="light-header"] #app_breadcrumb .page-heading,
body[data-kt-app-layout="light-header"] #app_breadcrumb h1 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
}

/* Page Title & Breadcrumb (Light Mode) */
body[data-kt-app-layout="light-header"] #kt_app_header .text-dark,
body[data-kt-app-layout="light-header"] #app_breadcrumb .page-heading,
body[data-kt-app-layout="light-header"] #app_breadcrumb h1 {
  color: #0A251B !important;
}

body[data-kt-app-layout="light-header"] #app_breadcrumb {
  border-left: 1px solid #e9ecef !important;
}

body[data-kt-app-layout="light-header"] #app_breadcrumb .breadcrumb-item,
body[data-kt-app-layout="light-header"] #app_breadcrumb .breadcrumb-item a,
body[data-kt-app-layout="light-header"] #app_breadcrumb .breadcrumb-item span {
  color: #64748b !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
}

body[data-kt-app-layout="light-header"] #app_breadcrumb .breadcrumb-item a:hover {
  color: #02613F !important;
}

body[data-kt-app-layout="light-header"] #app_breadcrumb .bullet {
  background-color: #cbd5e1 !important;
}

/* Page Title & Breadcrumb (Dark Mode) */
[data-bs-theme="dark"] body[data-kt-app-layout="light-header"] #kt_app_header .text-dark,
[data-bs-theme="dark"] body[data-kt-app-layout="light-header"] #app_breadcrumb .page-heading,
[data-bs-theme="dark"] body[data-kt-app-layout="light-header"] #app_breadcrumb h1,
body[data-kt-app-layout="light-header"][data-bs-theme="dark"] #kt_app_header .text-dark,
body[data-kt-app-layout="light-header"][data-bs-theme="dark"] #app_breadcrumb .page-heading,
body[data-kt-app-layout="light-header"][data-bs-theme="dark"] #app_breadcrumb h1,
body[data-kt-app-layout="light-header"][data-bs-theme-mode="dark"] #kt_app_header .text-dark,
body[data-kt-app-layout="light-header"][data-bs-theme-mode="dark"] #app_breadcrumb .page-heading,
body[data-kt-app-layout="light-header"][data-bs-theme-mode="dark"] #app_breadcrumb h1,
body[data-kt-app-layout="light-header"].dark-mode #kt_app_header .text-dark,
body[data-kt-app-layout="light-header"].dark-mode #app_breadcrumb .page-heading,
body[data-kt-app-layout="light-header"].dark-mode #app_breadcrumb h1 {
  color: #CBD5E1 !important;
}

[data-bs-theme="dark"] body[data-kt-app-layout="light-header"] #app_breadcrumb,
body[data-kt-app-layout="light-header"][data-bs-theme="dark"] #app_breadcrumb,
body[data-kt-app-layout="light-header"][data-bs-theme-mode="dark"] #app_breadcrumb,
body[data-kt-app-layout="light-header"].dark-mode #app_breadcrumb {
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] body[data-kt-app-layout="light-header"] #app_breadcrumb .breadcrumb-item,
[data-bs-theme="dark"] body[data-kt-app-layout="light-header"] #app_breadcrumb .breadcrumb-item a,
[data-bs-theme="dark"] body[data-kt-app-layout="light-header"] #app_breadcrumb .breadcrumb-item span,
body[data-kt-app-layout="light-header"][data-bs-theme="dark"] #app_breadcrumb .breadcrumb-item,
body[data-kt-app-layout="light-header"][data-bs-theme="dark"] #app_breadcrumb .breadcrumb-item a,
body[data-kt-app-layout="light-header"][data-bs-theme="dark"] #app_breadcrumb .breadcrumb-item span,
body[data-kt-app-layout="light-header"][data-bs-theme-mode="dark"] #app_breadcrumb .breadcrumb-item,
body[data-kt-app-layout="light-header"][data-bs-theme-mode="dark"] #app_breadcrumb .breadcrumb-item a,
body[data-kt-app-layout="light-header"][data-bs-theme-mode="dark"] #app_breadcrumb .breadcrumb-item span,
body[data-kt-app-layout="light-header"].dark-mode #app_breadcrumb .breadcrumb-item,
body[data-kt-app-layout="light-header"].dark-mode #app_breadcrumb .breadcrumb-item a,
body[data-kt-app-layout="light-header"].dark-mode #app_breadcrumb .breadcrumb-item span {
  color: #78829d !important;
}

[data-bs-theme="dark"] body[data-kt-app-layout="light-header"] #app_breadcrumb .breadcrumb-item a:hover,
body[data-kt-app-layout="light-header"][data-bs-theme="dark"] #app_breadcrumb .breadcrumb-item a:hover,
body[data-kt-app-layout="light-header"][data-bs-theme-mode="dark"] #app_breadcrumb .breadcrumb-item a:hover,
body[data-kt-app-layout="light-header"].dark-mode #app_breadcrumb .breadcrumb-item a:hover {
  color: #34D399 !important;
}

[data-bs-theme="dark"] body[data-kt-app-layout="light-header"] #app_breadcrumb .bullet,
body[data-kt-app-layout="light-header"][data-bs-theme="dark"] #app_breadcrumb .bullet,
body[data-kt-app-layout="light-header"][data-bs-theme-mode="dark"] #app_breadcrumb .bullet,
body[data-kt-app-layout="light-header"].dark-mode #app_breadcrumb .bullet {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Navbar Icons & User Profile in Header */
body[data-kt-app-layout="light-header"] #kt_app_header .app-navbar .btn-icon,
body[data-kt-app-layout="light-header"] #kt_app_header .app-navbar i {
  /*color: var(--bs-primary, #02613F) !important;*/
}

body[data-kt-app-layout="light-header"] #kt_app_header .app-navbar .btn:hover {
  /*background-color: var(--sidebar-theme-hover-bg, rgba(2, 97, 63, 0.15)) !important;*/
}

body[data-kt-app-layout="light-header"] #kt_app_header .nav-name-profile {
  /*color: #ffffff !important;*/
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 650 !important;
  font-size: 0.88rem !important;
}

body[data-kt-app-layout="light-header"] #kt_app_header #kt_header_user_menu_toggle span.text-muted {
  /*color: var(--sidebar-theme-text-muted, rgba(255, 255, 255, 0.65)) !important;*/
}

body[data-kt-app-layout="light-header"] #kt_app_sidebar_mobile_toggle,
body[data-kt-app-layout="light-header"] #kt_app_sidebar_mobile_toggle i {
  color: var(--bs-primary, #02613F) !important;
}

/* Horizontal Menu Toolbar (#kt_app_toolbar) */
body[data-kt-app-layout="light-header"] #kt_app_toolbar {
  background-color: var(--sidebar-theme-logo-bg, #051510) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Menu Links in Horizontal Toolbar */
#kt_app_toolbar_menu > .menu-item > .menu-link {
  color: var(--sidebar-theme-text, rgba(255, 255, 255, 0.90)) !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0.475rem !important;
  transition: all 0.2s ease !important;
}

#kt_app_toolbar_menu > .menu-item > .menu-link .menu-title {
  color: inherit !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
}

#kt_app_toolbar_menu > .menu-item > .menu-link .menu-icon,
#kt_app_toolbar_menu > .menu-item > .menu-link .menu-icon i {
  color: #34D399 !important;
}

#kt_app_toolbar_menu > .menu-item > .menu-link .menu-arrow:after {
  background-color: rgba(255, 255, 255, 0.6) !important;
}

/* Hover State on Horizontal Menu */
#kt_app_toolbar_menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) {
  background-color: var(--sidebar-theme-hover-bg, rgba(2, 97, 63, 0.20)) !important;
  color: #ffffff !important;
}

#kt_app_toolbar_menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-icon,
#kt_app_toolbar_menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active) .menu-icon i {
  color: #ffffff !important;
}

/* Active / Here State on Horizontal Menu */
#kt_app_toolbar_menu > .menu-item.here > .menu-link,
#kt_app_toolbar_menu > .menu-item.show > .menu-link,
#kt_app_toolbar_menu > .menu-item > .menu-link.active {
  background-color: var(--sidebar-theme-active-bg, #02613F) !important;
  color: #ffffff !important;
}

#kt_app_toolbar_menu > .menu-item.here > .menu-link .menu-title,
#kt_app_toolbar_menu > .menu-item.show > .menu-link .menu-title,
#kt_app_toolbar_menu > .menu-item > .menu-link.active .menu-title {
  color: #ffffff !important;
  font-weight: 650 !important;
}

#kt_app_toolbar_menu > .menu-item.here > .menu-link .menu-icon,
#kt_app_toolbar_menu > .menu-item.here > .menu-link .menu-icon i,
#kt_app_toolbar_menu > .menu-item.show > .menu-link .menu-icon,
#kt_app_toolbar_menu > .menu-item.show > .menu-link .menu-icon i,
#kt_app_toolbar_menu > .menu-item > .menu-link.active .menu-icon,
#kt_app_toolbar_menu > .menu-item > .menu-link.active .menu-icon i {
  color: #ffffff !important;
}

/* Mobile Drawer for Horizontal Layout */
[data-kt-drawer-name="app-sidebar-mobile"] {
  background-color: var(--sidebar-theme-bg, #081E16) !important;
  border-right: 1px solid var(--sidebar-theme-border) !important;
}

/* Sidebar & Header Custom Buttons Hover */
#kt_app_sidebar_footer .btn:hover i,
#kt_app_sidebar_footer .btn:focus i,
#kt_app_sidebar_footer .btn:active i,
.btn-custom.btn-light-primary:hover i,
.btn-custom.btn-light-primary:focus i,
.btn-custom.btn-light-primary:active i {
  color: #ffffff !important;
}

/* ==========================================================================
   Display Setting Quick Icon Buttons in Profile Dropdown
   ========================================================================== */
.btn-display-setting,
a.btn-display-setting {
  color: #78829d !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease-in-out !important;
}
.btn-display-setting i,
.btn-display-setting i.ki-outline,
a.btn-display-setting i {
  color: #78829d !important;
  transition: color 0.2s ease-in-out !important;
}

/* Hover & Active States: icon changes from text-gray to color with soft background */
.btn-display-setting.btn-setting-light:hover,
.btn-display-setting.btn-setting-light.active,
a.btn-display-setting.btn-setting-light:hover,
a.btn-display-setting.btn-setting-light.active {
  background-color: rgba(246, 192, 0, 0.15) !important;
  border-color: rgba(246, 192, 0, 0.4) !important;
}
.btn-display-setting.btn-setting-light:hover i,
.btn-display-setting.btn-setting-light.active i,
a.btn-display-setting.btn-setting-light:hover i,
a.btn-display-setting.btn-setting-light.active i {
  color: #f6c000 !important;
}

.btn-display-setting.btn-setting-dark:hover,
.btn-display-setting.btn-setting-dark.active,
a.btn-display-setting.btn-setting-dark:hover,
a.btn-display-setting.btn-setting-dark.active {
  background-color: rgba(248, 40, 90, 0.15) !important;
  border-color: rgba(248, 40, 90, 0.4) !important;
}
.btn-display-setting.btn-setting-dark:hover i,
.btn-display-setting.btn-setting-dark.active i,
a.btn-display-setting.btn-setting-dark:hover i,
a.btn-display-setting.btn-setting-dark.active i {
  color: #f8285a !important;
}

.btn-display-setting.btn-setting-vertical:hover,
.btn-display-setting.btn-setting-vertical.active,
a.btn-display-setting.btn-setting-vertical:hover,
a.btn-display-setting.btn-setting-vertical.active {
  background-color: rgba(23, 198, 83, 0.15) !important;
  border-color: rgba(23, 198, 83, 0.4) !important;
}
.btn-display-setting.btn-setting-vertical:hover i,
.btn-display-setting.btn-setting-vertical.active i,
a.btn-display-setting.btn-setting-vertical:hover i,
a.btn-display-setting.btn-setting-vertical.active i {
  color: #17c653 !important;
}

.btn-display-setting.btn-setting-horizontal:hover,
.btn-display-setting.btn-setting-horizontal.active,
a.btn-display-setting.btn-setting-horizontal:hover,
a.btn-display-setting.btn-setting-horizontal.active {
  background-color: rgba(114, 57, 234, 0.15) !important;
  border-color: rgba(114, 57, 234, 0.4) !important;
}
.btn-display-setting.btn-setting-horizontal:hover i,
.btn-display-setting.btn-setting-horizontal.active i,
a.btn-display-setting.btn-setting-horizontal:hover i,
a.btn-display-setting.btn-setting-horizontal.active i {
  color: #7239ea !important;
}

.btn-display-setting.btn-setting-summary:hover,
.btn-display-setting.btn-setting-summary.active,
a.btn-display-setting.btn-setting-summary:hover,
a.btn-display-setting.btn-setting-summary.active {
  background-color: rgba(27, 132, 255, 0.15) !important;
  border-color: rgba(27, 132, 255, 0.4) !important;
}
.btn-display-setting.btn-setting-summary:hover i,
.btn-display-setting.btn-setting-summary.active i,
a.btn-display-setting.btn-setting-summary:hover i,
a.btn-display-setting.btn-setting-summary.active i {
  color: #1b84ff !important;
}

[data-bs-theme="dark"] [data-kt-element="theme-mode-menu"] {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
