/**
 * eDSL UI overlay
 * Visual polish + responsive behaviour for public portal and private shell.
 * Loaded last so it can override theme defaults without rewriting vendor CSS.
 */

:root {
  --edsl-navy: #16324a;
  --edsl-navy-2: #1f425d;
  --edsl-blue: #009efb;
  --edsl-blue-2: #1e88e5;
  --edsl-cyan: #3bbaf9;
  --edsl-red: #e21f2f;
  --edsl-surface: #f4f7fb;
  --edsl-card: #ffffff;
  --edsl-text: #1e293b;
  --edsl-muted: #64748b;
  --edsl-line: rgba(15, 23, 42, 0.08);
  --edsl-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  --edsl-radius: 12px;
  --edsl-tap: 44px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.edsl-ui {
  background: var(--edsl-surface);
  color: var(--edsl-text);
}

body.edsl-public {
  font-family: "Rubik", sans-serif;
}

body.edsl-public h1,
body.edsl-public h2,
body.edsl-public h3,
body.edsl-public h4,
body.edsl-public h5,
body.edsl-public h6,
body.edsl-public p,
body.edsl-public li,
body.edsl-public label,
body.edsl-public button,
body.edsl-public input,
body.edsl-public textarea,
body.edsl-public select,
body.edsl-public small,
body.edsl-public strong,
body.edsl-public b,
body.edsl-public td,
body.edsl-public th,
body.edsl-public .card,
body.edsl-public .btn,
body.edsl-public .form-control,
body.edsl-public .main-navigation > li > a,
body.edsl-public .message-widget h5,
body.edsl-public .edsl-brand-copy,
body.edsl-public .edsl-brand-copy strong,
body.edsl-public .edsl-brand-copy span,
body.edsl-public .edsl-footer,
body.edsl-public .edsl-footer h3,
body.edsl-public .edsl-footer p,
body.edsl-public .edsl-footer li,
body.edsl-public .edsl-footer a,
body.edsl-public .edsl-footer span:not([class*="fa"]) {
  font-family: "Rubik", sans-serif !important;
}

body.edsl-public .edsl-home-article,
body.edsl-public .edsl-home-article *:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands),
body.edsl-public .edsl-notice-slide,
body.edsl-public .edsl-notice-slide *:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands) {
  font-family: "Rubik", sans-serif !important;
}

body.edsl-public .fab,
body.edsl-public .fa-brands {
  font-family: "Font Awesome 5 Brands" !important;
}

body.edsl-public .fa,
body.edsl-public .fas,
body.edsl-public .far,
body.edsl-public .fal,
body.edsl-public .fa-solid,
body.edsl-public .fa-regular {
  font-family: "Font Awesome 5 Free" !important;
}

img,
svg,
video,
iframe,
embed {
  max-width: 100%;
}

iframe {
  border: 0;
}

/* ------------------------------------------------------------------ */
/* Shared polish                                                       */
/* ------------------------------------------------------------------ */
.edsl-ui .card {
  border: 1px solid var(--edsl-line);
  border-radius: var(--edsl-radius);
  box-shadow: var(--edsl-shadow);
  overflow: hidden;
}

.edsl-ui .card-header,
.edsl-ui .card-header.bluebg {
  background: linear-gradient(135deg, var(--edsl-navy) 0%, var(--edsl-blue-2) 100%) !important;
  border: 0;
  padding: 14px 18px;
}

.edsl-ui .card-header h4,
.edsl-ui .card-header .m-b-0 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.edsl-ui.edsl-public .card-header .btn-link,
.edsl-ui.edsl-public .card-header .btn-link strong,
.edsl-ui.edsl-public .card-header [data-toggle="collapse"] {
  color: #fff !important;
  text-decoration: none !important;
  text-align: left;
  white-space: normal;
}

.edsl-ui.edsl-public .card-header .btn-link:hover,
.edsl-ui.edsl-public .card-header .btn-link:focus,
.edsl-ui.edsl-public .card-header [data-toggle="collapse"]:hover {
  color: #fff !important;
  transform: none;
  box-shadow: none;
  opacity: 0.92;
}

.edsl-ui .card-body {
  padding: 18px 20px;
}

.edsl-ui .form-control,
.edsl-ui .form-control-md,
.edsl-ui select.form-control,
.edsl-ui .bootstrap-select > .dropdown-toggle,
.edsl-ui .select2-container .select2-selection--single {
  min-height: 42px;
  border-radius: 8px;
}

.edsl-ui .btn {
  border-radius: 8px;
  font-weight: 600;
  min-height: 40px;
  padding: 8px 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.edsl-ui .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.edsl-ui .btn:focus,
.edsl-ui .form-control:focus,
.edsl-ui a:focus-visible,
.edsl-ui button:focus-visible {
  outline: 3px solid rgba(0, 158, 251, 0.35);
  outline-offset: 2px;
}

.edsl-ui .modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}

.edsl-ui .modal-header {
  background: var(--edsl-navy);
  color: #fff;
}

.edsl-ui .modal-header .modal-title {
  color: #fff;
}

.edsl-ui .modal-header .close,
.edsl-ui .modal-header .close span {
  color: #fff;
  opacity: 0.9;
}

.edsl-ui .table {
  background: #fff;
}

.edsl-ui .table thead th {
  background: #eef4fb;
  color: var(--edsl-navy);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 1px solid var(--edsl-line);
}

.edsl-ui .alert {
  border-radius: 10px;
  border: 0;
}

/* Keep wide tables usable without breaking the page */
.edsl-ui .dataTables_wrapper,
.edsl-ui .table-responsive,
.edsl-ui .card-body > .table,
.edsl-ui .card-body > table {
  max-width: 100%;
}

/*
 * DataTables can calculate a table width larger than the WebView viewport.
 * Keep that width inside a scrollable region instead of allowing the table
 * to expand/clamp the card (the latter is especially visible in Capacitor
 * Android WebViews).
 */
.edsl-ui .table-responsive,
.edsl-ui .dataTables_wrapper {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.edsl-ui .dataTables_wrapper table.dataTable {
  margin: 0 !important;
}

.edsl-ui .dataTables_wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.edsl-ui .select2-container {
  width: 100% !important;
  max-width: 100%;
}

/* ------------------------------------------------------------------ */
/* Public portal                                                       */
/* ------------------------------------------------------------------ */
.edsl-ui.edsl-public #main-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.edsl-ui.edsl-public #main-wrapper > .container-fluid {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

.edsl-ui.edsl-public #main-wrapper > .container-fluid > div {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Bootstrap columns set flex-basis: 100%, which becomes height in a column. */
.edsl-ui.edsl-public #main-wrapper > .container-fluid > div > * {
  flex: 0 0 auto;
}

.edsl-ui.edsl-public #main-wrapper > .container-fluid > div > .edsl-footer {
  margin-top: auto;
}

.edsl-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.edsl-lang-switch a {
  min-width: 48px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  text-decoration: none !important;
  color: #334155 !important;
  background: transparent;
}

.edsl-lang-switch a.is-active,
.edsl-lang-switch a.btn-warning {
  background: #fff;
  color: var(--edsl-navy) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.edsl-lang-switch a.notactive {
  opacity: 0.72;
}

.edsl-ui .header__logo img {
  width: auto;
  max-height: 64px;
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 0;
}

.edsl-ui .navbar-toggle {
  min-width: var(--edsl-tap);
  min-height: var(--edsl-tap);
  margin: 8px 0;
  border-radius: 999px !important;
  background: rgba(11, 18, 32, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
}

.edsl-ui .navbar-toggle:hover,
.edsl-ui .navbar-toggle:focus {
  background: #0b1220 !important;
}

.edsl-ui .jumbotron,
.edsl-ui .jumbotron--with-captions {
  margin-bottom: 20px;
  overflow: hidden;
}

.edsl-hero {
  max-width: 1200px;
  margin: 16px auto 8px !important;
  padding: 0 16px !important;
  background: transparent !important;
  overflow: visible !important;
}

.edsl-hero .carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.edsl-hero .carousel-inner,
.edsl-hero .carousel-item {
  position: relative;
}

.edsl-hero .carousel-item {
  display: none;
}

.edsl-hero .carousel-item.active {
  display: block;
}

.edsl-hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: #fff;
}

.edsl-ui .edsl-hero .carousel-item img,
.edsl-ui .edsl-hero .jumbotron img,
.edsl-hero-media img {
  width: 100%;
  height: min(48vh, 440px);
  max-height: none;
  object-fit: contain;
  display: block;
  background: #fff;
}

.edsl-hero-caption {
  padding: 20px 24px 28px;
  color: #fff;
}

.edsl-hero-caption h1,
.edsl-hero-caption h2,
.edsl-hero-caption h2 * {
  margin: 0 0 8px;
  color: #fff !important;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem) !important;
  line-height: 1.3;
}

.edsl-hero-caption p,
.edsl-hero-caption div {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.edsl-hero-ui {
  pointer-events: none;
}

.edsl-hero-nav,
.edsl-hero-dot {
  pointer-events: auto;
}

.edsl-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0b1220;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
}

.edsl-hero-nav--prev {
  left: 12px;
}

.edsl-hero-nav--next {
  right: 12px;
}

.edsl-hero-nav:hover,
.edsl-hero-nav:focus {
  background: #fff;
  color: var(--edsl-blue-2);
  outline: 0;
  transform: translateY(-50%);
}

.edsl-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.4);
  pointer-events: auto;
}

.edsl-hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.edsl-hero-dot.active {
  width: 22px;
  background: #fff;
}

.edsl-ui .carousel-item img,
.edsl-ui .jumbotron img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.edsl-ui .jumbotron-content__title h1 {
  font-size: clamp(1.15rem, 2.4vw, 2rem) !important;
  line-height: 1.25;
}

.edsl-login-card .edsl-field-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--edsl-navy);
}

.edsl-login-card .form-group {
  margin-bottom: 16px;
}

.edsl-login-actions {
  display: block;
}

.edsl-home {
  max-width: 1200px;
  margin: 24px auto 0;
}

.edsl-home .card {
  border: 0;
}

.edsl-home-main,
.edsl-login-card,
.edsl-notice-card,
.edsl-link-card {
  margin-bottom: 20px;
}

.edsl-home-main .card-body {
  overflow-x: auto;
}

.edsl-home-article {
  color: var(--edsl-text);
  font-size: 15.5px;
  line-height: 1.7;
}

.edsl-home-article font,
.edsl-home-article [color],
.edsl-home-article [style*="color"] {
  color: inherit !important;
}

.edsl-home-article a {
  color: var(--edsl-blue-2) !important;
  font-weight: 600;
  word-break: break-word;
}

.edsl-home-article b,
.edsl-home-article strong {
  color: var(--edsl-navy);
  font-weight: 700;
}

.edsl-callout {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 5px solid #f97316;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
  color: #7c2d12;
}

.edsl-callout font,
.edsl-callout [color],
.edsl-callout [style*="color"],
.edsl-callout b,
.edsl-callout strong {
  color: #9a3412 !important;
}

.edsl-callout p {
  margin: 0 0 0.7em;
}

.edsl-callout p:last-child {
  margin-bottom: 0;
}

.edsl-home-article table {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--edsl-line);
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0 8px;
  background: #fff;
}

.edsl-home-article table th {
  background: #f8fafc;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--edsl-muted);
  font-weight: 700;
}

.edsl-home-article table th,
.edsl-home-article table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--edsl-line) !important;
  border-right: 1px solid var(--edsl-line) !important;
  vertical-align: top;
}

.edsl-home-article table tr:last-child th,
.edsl-home-article table tr:last-child td {
  border-bottom: 0 !important;
}

.edsl-login-submit {
  min-height: 44px;
  font-weight: 700;
  background: var(--edsl-blue) !important;
  border-color: var(--edsl-blue) !important;
}

.edsl-login-links {
  margin-top: 4px;
}

.edsl-login-links p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--edsl-muted);
}

.edsl-login-links a {
  color: var(--edsl-blue-2);
  font-weight: 700;
}

.edsl-link-card-body {
  max-height: 300px;
  overflow-y: auto;
}

.edsl-ui.edsl-public .header__navigation-widgets .edsl-lang-switch a {
  color: #e2e8f0 !important;
}

.edsl-ui.edsl-public .header__navigation-widgets .edsl-lang-switch a.is-active,
.edsl-ui.edsl-public .header__navigation-widgets .edsl-lang-switch a.btn-warning {
  color: var(--edsl-navy) !important;
  background: #fff;
}

.edsl-ui.edsl-public .main-navigation {
  list-style: none !important;
  padding-left: 0 !important;
}

.edsl-ui.edsl-public .main-navigation > li {
  list-style: none !important;
}

.edsl-ui.edsl-public .main-navigation > li > a {
  position: relative;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.edsl-ui.edsl-public .main-navigation > li > a::before,
.edsl-ui.edsl-public .main-navigation > li > a::after,
.edsl-ui.edsl-public .main-navigation > li:hover > a::after,
.edsl-ui.edsl-public .main-navigation > li:focus > a::after,
.edsl-ui.edsl-public .main-navigation > li[aria-expanded="true"] > a::after,
.edsl-ui.edsl-public .main-navigation > .current-menu-item > a::after {
  display: none !important;
  content: none !important;
}

.edsl-notice-list {
  height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
}

.edsl-notice-item {
  padding: 12px 4px 14px;
  border-bottom: 1px solid var(--edsl-line);
}

.edsl-notice-item:last-child {
  border-bottom: 0;
}

.edsl-notice-item h5 {
  margin: 0 0 6px;
  color: var(--edsl-navy);
  font-weight: 700;
}

.edsl-footer {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 48px 16px 24px !important;
  background: linear-gradient(100deg, #16324A 0%, #1f425d 100%) !important;
}

.edsl-footer .edsl-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.edsl-footer img {
  max-width: 180px;
  height: auto;
}

.edsl-footer .sub-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.edsl-footer .bt-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
}

/* ------------------------------------------------------------------ */
/* Private shell                                                       */
/* ------------------------------------------------------------------ */
.edsl-ui .navbar-brand span {
  display: inline-block !important;
}

.edsl-ui .navbar-brand img {
  max-height: 38px;
  width: auto;
  max-width: 160px;
}

.edsl-sidebar-backdrop {
  display: none;
}

.edsl-ui.edsl-private .left-sidebar {
  background: #0f2436 !important;
  width: 260px;
  box-shadow: 8px 0 24px rgba(11, 18, 32, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.edsl-ui.edsl-private .scroll-sidebar,
.edsl-ui.edsl-private .sidebar-nav {
  background: transparent !important;
}

.edsl-ui.edsl-private .sidebar-nav {
  padding: 12px 10px 24px;
}

.edsl-ui.edsl-private .sidebar-nav > ul > li {
  margin-bottom: 4px;
}

.edsl-ui.edsl-private .sidebar-nav ul li a {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  padding: 10px 36px 10px 12px !important;
  border-radius: 10px !important;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.edsl-ui.edsl-private .sidebar-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.edsl-ui.edsl-private .sidebar-nav ul li a:hover,
.edsl-ui.edsl-private .sidebar-nav ul li a:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.edsl-ui.edsl-private .sidebar-nav > ul > li > a i,
.edsl-ui.edsl-private .sidebar-nav > ul > li > a svg {
  width: 22px;
  height: 22px;
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.55) !important;
  text-align: center;
}

.edsl-ui.edsl-private .sidebar-nav ul li a:hover i,
.edsl-ui.edsl-private .sidebar-nav ul li a:hover svg,
.edsl-ui.edsl-private .sidebar-nav ul li a:focus i,
.edsl-ui.edsl-private .sidebar-nav ul li a:focus svg,
.edsl-ui.edsl-private .sidebar-nav > ul > li.active > a i,
.edsl-ui.edsl-private .sidebar-nav > ul > li.active > a svg,
.edsl-ui.edsl-private .sidebar-nav ul li a.edsl-nav-current i,
.edsl-ui.edsl-private .sidebar-nav ul li a.edsl-nav-current svg {
  color: #fff !important;
}

.edsl-ui.edsl-private .sidebar-nav > ul > li.active > a,
.edsl-ui.edsl-private .sidebar-nav > ul > li.active:hover > a {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.edsl-ui.edsl-private .sidebar-nav ul li a.active,
.edsl-ui.edsl-private .sidebar-nav ul li a.edsl-nav-current {
  background: #fff !important;
  color: #0f2436 !important;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.18);
}

.edsl-ui.edsl-private .sidebar-nav ul li a.active i,
.edsl-ui.edsl-private .sidebar-nav ul li a.active svg,
.edsl-ui.edsl-private .sidebar-nav ul li a.edsl-nav-current i,
.edsl-ui.edsl-private .sidebar-nav ul li a.edsl-nav-current svg {
  color: #0f2436 !important;
}

.edsl-ui.edsl-private .sidebar-nav .has-arrow::after {
  border-color: rgba(255, 255, 255, 0.62) !important;
  right: 14px;
  width: 0.45em;
  height: 0.45em;
}

.edsl-ui.edsl-private .sidebar-nav > ul > li.active > a.has-arrow::after,
.edsl-ui.edsl-private .sidebar-nav .has-arrow[aria-expanded="true"]::after {
  border-color: rgba(255, 255, 255, 0.75) !important;
}

.edsl-ui.edsl-private .sidebar-nav ul li ul {
  margin: 4px 0 8px;
  padding: 4px !important;
  background: rgba(0, 0, 0, 0.22) !important;
  border-radius: 10px;
}

.edsl-ui.edsl-private .sidebar-nav ul li ul li a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 9px 12px 9px 34px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  white-space: normal;
  /*
   * Submenu rows are flex rows, exactly like the top level. MenuService emits
   * "<i class=fa> LABEL" for a leaf and "<i class=fa> <span.hide-menu>LABEL</span>"
   * for a branch; edsl-shell.js rewraps the leaf text node into
   * span.edsl-nav-label. Both of those labels are block-level boxes, so with the
   * anchor left as display:block (private-style.css) each label started on the
   * line *under* its icon and every submenu entry rendered two rows tall.
   */
  display: flex;
  align-items: center;
  gap: 8px;
}

.edsl-ui.edsl-private .sidebar-nav ul li ul li a i,
.edsl-ui.edsl-private .sidebar-nav ul li ul li a svg {
  /* Same fixed icon column as the top level (and the collapsed flyout), so
     every submenu label starts on the same x instead of chasing the glyph. */
  flex: 0 0 auto;
  width: 16px;
  text-align: center;
}

.edsl-ui.edsl-private .sidebar-nav ul li ul li a:hover,
.edsl-ui.edsl-private .sidebar-nav ul li ul li a:focus {
  color: #fff !important;
}

.edsl-ui.edsl-private .sidebar-nav ul li ul li a.edsl-nav-current,
.edsl-ui.edsl-private .sidebar-nav ul li ul li a.active {
  color: #0f2436 !important;
}

.edsl-ui.edsl-private .badgeTaskCount {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  margin-left: 8px;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  background: #3b82f6 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .navbar-header {
    width: auto !important;
    min-width: 148px;
    flex: 0 0 auto !important;
    overflow: visible !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .navbar-brand img {
    max-height: 36px;
    max-width: 148px;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .topbar .sidebartoggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 8px 0 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .left-sidebar,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .scroll-sidebar,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav {
    overflow: visible !important;
  }

  /* private-style.css makes .scroll-sidebar position:absolute in mini mode, and
     an absolutely positioned block shrinks-to-fit its content (56px), so the
     row column sat at the left edge of the 72px rail with a 16px dead gap on
     the right. Pin the column to the rail so the 56px icon buttons center. */
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .scroll-sidebar,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav {
    width: 72px !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .left-sidebar {
    width: 72px !important;
    background: #0f2436 !important;
    /* The rail must sit UNDER the topbar: start below the 70px header and
     * stack beneath it (topbar z 50). The base padding-top:70 previously left
     * the menu column where it is, but the background block covered the
     * topbar's left segment because top was 0 with z-index 200. */
    top: 70px !important;
    height: calc(100% - 70px) !important;
    padding-top: 0 !important;
    z-index: 40 !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) iframe#myframe {
    z-index: 1 !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav {
    padding: 12px 0 24px !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a {
    width: 56px !important;
    height: 44px;
    padding: 0 !important;
    margin: 0 auto;
    justify-content: center;
    gap: 0;
    font-size: 0 !important;
    line-height: 0;
    color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a .hide-menu,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a .badgeTaskCount {
    display: none !important;
  }

  /* Leaf labels are wrapped in .edsl-nav-label by edsl-shell.js, whose base rule
   * gives it flex:1 1 auto. font-size:0 keeps the text invisible, but the item
   * still grows to fill the row — branch links (whose .hide-menu is display:none
   * here) centered their icon while leaf links dragged theirs to the left edge,
   * leaving the collapsed icons staggered. Take it out of the flex row; it is
   * restored for the hover flyout below. */
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a .edsl-nav-label {
    display: none !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a.has-arrow::after {
    display: none !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a i,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a svg {
    width: 18px !important;
    height: 18px !important;
    font-size: 16px !important;
    line-height: 18px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    flex-shrink: 0;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav > ul > li.active > a,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a.edsl-nav-current,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a.active {
    background: rgba(255, 255, 255, 0.14) !important;
    color: transparent !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav > ul > li.active > a i,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav > ul > li.active > a svg,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a.edsl-nav-current i,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a.edsl-nav-current svg,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a.active i,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > a.active svg {
    color: #fff !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li > ul {
    display: none !important;
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    width: 280px !important;
    margin: 0 0 0 -2px !important;
    padding: 8px !important;
    background: #16324a !important;
    border-radius: 12px;
    box-shadow: 8px 12px 32px rgba(11, 18, 32, 0.35);
    z-index: 220;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 88px);
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li {
    position: relative;
    /* The leaf-hover pill drags the anchor out of flow (position:absolute).
     * Without a height of its own the li collapses to 0, every row below
     * jumps up ~48px, and the pointer ends up over the NEXT menu — hover
     * then scares between the leaf pill and that row's flyout. Hold the
     * row open so the menu never moves while a leaf is hovered. */
    min-height: 44px;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover {
    z-index: 220;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 12px;
    height: 44px;
    z-index: 215;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > a {
    overflow: visible !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover:not(:has(> ul)) > a {
    position: absolute;
    left: 100%;
    top: 0;
    width: max-content !important;
    max-width: 280px;
    height: auto;
    min-height: 44px;
    margin-left: -2px;
    padding: 10px 16px !important;
    justify-content: flex-start;
    gap: 8px;
    font-size: 12.5px !important;
    line-height: 1.35;
    color: #fff !important;
    background: #16324a !important;
    border-radius: 12px !important;
    white-space: nowrap;
    overflow: visible;
    box-shadow: 8px 12px 32px rgba(11, 18, 32, 0.35);
    z-index: 221;
  }

  /* The hover flyout reuses the top-level leaf anchor with its font restored,
     so bring the label back (hidden while the rail is idle, see above). */
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover:not(:has(> ul)) > a .edsl-nav-label {
    display: block !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover:has(> ul) > a {
    position: relative !important;
    width: 56px !important;
    height: 44px;
    padding: 0 !important;
    justify-content: center;
    font-size: 0 !important;
    color: transparent !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover:has(> ul) > a .hide-menu {
    display: none !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul::before {
    content: attr(data-edsl-title);
    display: block;
    padding: 8px 12px 10px;
    margin: 0 0 4px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover .hide-menu {
    display: inline !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    color: inherit !important;
    width: auto !important;
    position: static !important;
    height: auto !important;
    background: transparent !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul.collapse {
    display: block !important;
    width: 280px !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul ul {
    display: none !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 4px 0 0 !important;
    padding: 4px !important;
    background: rgba(0, 0, 0, 0.22) !important;
    box-shadow: none !important;
    overflow: visible;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul li:hover > ul {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100% !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    font-weight: 600;
    color: #fff !important;
    padding: 9px 36px 9px 12px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul a.edsl-nav-current,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul a.active {
    background: #fff !important;
    color: #0f2436 !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul a.edsl-nav-current .hide-menu,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul a.active .hide-menu {
    color: #0f2436 !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul a i,
  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul a svg {
    width: 16px !important;
    height: 16px !important;
    font-size: 14px !important;
    color: currentColor !important;
    flex-shrink: 0;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .sidebar-nav #sidebarnav > li:hover > ul .has-arrow::after {
    display: block !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .page-wrapper {
    margin-left: 72px !important;
  }
}

@media (min-width: 1024px) {
  .edsl-ui.edsl-private .page-wrapper {
    margin-left: 260px;
  }

  .edsl-ui.edsl-private.mini-sidebar:not(.show-sidebar) .page-wrapper {
    margin-left: 72px !important;
  }
}

.edsl-stat-banner {
  background: linear-gradient(135deg, #e8eef5 0%, #d9e7f6 100%);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  font-weight: 700;
  color: var(--edsl-navy);
  margin-bottom: 12px;
}

.edsl-stat-card .round {
  flex-shrink: 0;
}

.edsl-chart-frame {
  width: 100%;
  min-height: 280px;
  height: min(420px, 52vh);
  border: 0;
  background: #f8fafc;
}

/* Shown when a dashboard chart has no url configured, instead of an empty box. */
.edsl-chart-empty {
  margin: 0;
  padding: 28px 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--edsl-muted, #64748b);
  font-size: 13px;
  text-align: center;
}

.edsl-fab-back {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 99;
}

/* ------------------------------------------------------------------ */
/* Public header — desktop nav bar                                     */
/* CargoPress used a 230px logo offset + white side wings sized for a  */
/* 1140px canvas. That left empty black gaps beside the menu.          */
/* ------------------------------------------------------------------ */
@media (min-width: 992px) {
  .edsl-ui.edsl-public .header__container {
    background: #0b1220 !important;
    overflow: visible;
  }

  .edsl-ui.edsl-public .header__container::before,
  .edsl-ui.edsl-public .header__container::after {
    content: none !important;
    display: none !important;
  }

  .edsl-ui.edsl-public .header__container > .container-fluid {
    padding: 0 24px !important;
  }

  .edsl-ui.edsl-public .header {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch !important;
    min-height: 72px;
    max-height: 72px;
    overflow: visible;
  }

  .edsl-ui.edsl-public .header__logo {
    flex: 0 0 auto;
    order: 1;
    align-self: stretch !important;
    width: auto !important;
    height: auto !important;
    min-height: 72px;
    max-height: 72px;
    margin: 0 !important;
    padding: 0 52px 0 4px !important;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: left;
    overflow: visible;
  }

  .edsl-ui.edsl-public .header__logo::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;
    right: 0;
    background: #fff;
    z-index: -1;
    clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 100%, 0 100%);
    filter: drop-shadow(14px 0 18px rgba(11, 18, 32, 0.35));
  }

  .edsl-ui.edsl-public .header__logo::after {
    content: none !important;
    display: none !important;
  }

  .edsl-ui.edsl-public .header__logo img {
    margin: 0;
    max-height: 52px;
  }

  .edsl-ui.edsl-public .header__widgets {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
  }

  .edsl-ui.edsl-public .header__navigation {
    flex: 1 1 auto;
    order: 3;
    width: auto !important;
    max-width: none;
    margin: 0 !important;
    padding-left: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 72px;
  }

  .edsl-ui.edsl-public .header__navigation-widgets {
    flex: 0 0 auto;
    order: 4;
    width: auto !important;
    margin: 0 !important;
    padding: 0 0 0 12px !important;
    display: flex !important;
    align-items: center;
    background: transparent;
    position: relative;
    z-index: 1;
    min-height: 72px;
  }

  .edsl-ui.edsl-public .header__navigation .navbar-collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0;
    width: 100%;
  }

  .edsl-ui.edsl-public .main-navigation {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0 !important;
  }

  .edsl-ui.edsl-public .main-navigation > li > a {
    padding: 8px 14px !important;
    border-radius: 999px !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 13.5px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .edsl-ui.edsl-public .main-navigation > li:hover > a,
  .edsl-ui.edsl-public .main-navigation > li:focus > a,
  .edsl-ui.edsl-public .main-navigation > li:focus-within > a {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
  }

  .edsl-ui.edsl-public .main-navigation > .current-menu-item > a,
  .edsl-ui.edsl-public .main-navigation > .current-menu-item:hover > a {
    background: #fff !important;
    color: #0b1220 !important;
    box-shadow: 0 1px 2px rgba(11, 18, 32, 0.18);
  }
}

/* ------------------------------------------------------------------ */
/* Tablet                                                              */
/* ------------------------------------------------------------------ */
@media (max-width: 1199px) {
  .edsl-ui .header__navigation {
    margin-left: 0;
  }

  .edsl-ui .main-navigation > li > a {
    padding: 14px 12px;
    font-size: 14px;
  }
}

@media (max-width: 1023px) {
  .edsl-ui .page-wrapper {
    margin-left: 0;
  }

  .edsl-ui.mini-sidebar .page-wrapper {
    margin-left: 0;
  }
}

/* ------------------------------------------------------------------ */
/* Tablet / small laptop                                               */
/* ------------------------------------------------------------------ */
.edsl-ui .header__logo-actions {
  display: none;
}

@media (max-width: 991px) {
  .edsl-ui .header {
    position: relative;
  }

  .edsl-ui .header__logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-bottom: 0;
    padding: 6px 0;
  }

  .edsl-ui .header__logo-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .edsl-ui .header__logo img {
    max-height: 48px;
    width: auto;
    margin: 0;
  }

  .edsl-ui .header__navigation-widgets {
    display: none !important;
  }

  .edsl-ui .header__widgets {
    display: none;
  }

  .edsl-ui .main-navigation {
    margin: 0;
    padding: 8px 0 12px;
  }

  .edsl-ui .main-navigation > li > a {
    padding: 12px 8px;
    min-height: var(--edsl-tap);
    font-size: 16px;
  }

  .edsl-ui .carousel-item img,
  .edsl-ui .jumbotron img {
    max-height: 240px;
  }

  .edsl-ui .jumbotron-content {
    position: static !important;
    width: 100% !important;
    padding: 12px !important;
  }

  .edsl-ui .card-body[style*="min-height"] {
    min-height: 0 !important;
  }

  .edsl-ui .modal-dialog {
    margin: 12px;
    max-width: calc(100% - 24px);
  }

  .edsl-ui .form-group.row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .edsl-ui .control-label,
  .edsl-ui label.col-sm-3,
  .edsl-ui label.col-md-3,
  .edsl-ui label.col-lg-3 {
    text-align: left !important;
    padding-left: 15px !important;
    margin-bottom: 6px;
  }
}

/* ------------------------------------------------------------------ */
/* Phone                                                               */
/* ------------------------------------------------------------------ */
@media (max-width: 767px) {
  .edsl-ui {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .edsl-ui.edsl-public #main-wrapper > .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .edsl-ui .card-header h4,
  .edsl-ui .card-header .m-b-0 {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .edsl-ui .card-body {
    padding: 14px;
  }

  .edsl-login-actions,
  .edsl-ui .form-group .float-right,
  .edsl-ui .form-group .float-left {
    float: none !important;
    width: 100%;
  }

  .edsl-login-actions .btn,
  .edsl-ui .form-group .btn.float-right,
  .edsl-ui .form-group .btn.float-left {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .edsl-ui .dataTables_wrapper .dataTables_length,
  .edsl-ui .dataTables_wrapper .dataTables_filter,
  .edsl-ui .dataTables_wrapper .dataTables_info,
  .edsl-ui .dataTables_wrapper .dataTables_paginate {
    float: none !important;
    display: block;
    width: 100%;
    text-align: left !important;
    margin: 8px 0;
  }

  .edsl-ui .dataTables_filter input {
    width: calc(100% - 12px) !important;
    margin-left: 0 !important;
  }

  .edsl-ui .dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: var(--edsl-tap);
    min-height: var(--edsl-tap);
    padding: 8px;
  }

  .edsl-ui table.table:not(.dataTable) {
    min-width: 0;
    width: 100%;
  }

  .edsl-ui table.table:not(.dataTable) td,
  .edsl-ui table.table:not(.dataTable) th {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .edsl-ui .dataTables_wrapper {
    position: relative;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 12px;
    padding-bottom: 6px;
  }

  .edsl-ui .dataTables_wrapper::after {
    content: "Leret ke sisi untuk lihat semua lajur";
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--edsl-muted);
    text-transform: none;
    font-weight: 500;
  }

  .edsl-ui table.dataTable,
  .edsl-ui .dataTables_wrapper table.table {
    /* Keep columns readable, but avoid the old fixed 920px table which was
       wider than most phones and appeared clipped rather than scrollable. */
    min-width: 680px !important;
    width: auto !important;
    table-layout: auto;
  }

  .edsl-ui table.dataTable td,
  .edsl-ui table.dataTable th,
  .edsl-ui .dataTables_wrapper table.table td,
  .edsl-ui .dataTables_wrapper table.table th {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    vertical-align: middle;
  }

  .edsl-ui .dataTables_filter {
    text-align: left !important;
  }

  .edsl-ui .dataTables_filter label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .edsl-ui .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 8px;
  }

  .edsl-ui .nav-tabs .nav-item {
    flex: 0 0 auto;
  }

  .edsl-ui .nav-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 13px;
    min-height: var(--edsl-tap);
  }

  .edsl-ui .nav-tabs .hidden-xs-down,
  .edsl-ui .nav-tabs .hidden-sm-up {
    display: inline !important;
  }

  .edsl-ui .tab-content.p-20 {
    padding: 8px 0 !important;
  }

  .edsl-ui .tab-content .col-md-12,
  .edsl-ui .tab-content .col-12 {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .edsl-ui .tab-content table.table-bordered tbody tr:has(> td:nth-child(2):last-child) {
    display: block;
    background: #fff;
    border-bottom: 8px solid #f1f5f9;
  }

  .edsl-ui .tab-content table.table-bordered tbody tr:has(> td:nth-child(2):last-child) > td,
  .edsl-ui .tab-content table.table-bordered tbody tr:has(> td:nth-child(2):last-child) > th {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    border-left: 0;
    border-right: 0;
  }

  .edsl-ui .tab-content table.table-bordered tbody tr:has(> td:nth-child(2):last-child) > td:first-child {
    font-weight: 700;
    color: var(--edsl-navy);
    background: #f8fafc;
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .edsl-ui .tab-content table.table-bordered thead th[colspan] {
    display: block;
    width: 100%;
  }

  .edsl-ui {
    padding-bottom: 88px;
  }

  .edsl-fab-back,
  .edsl-ui .btn[style*="position: fixed"][style*="bottom"] {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    border-radius: 10px;
    z-index: 99;
  }

  .edsl-ui.mini-sidebar:not(.show-sidebar) .left-sidebar {
    left: -280px !important;
  }

  .edsl-ui.mini-sidebar.show-sidebar .left-sidebar,
  .edsl-ui.show-sidebar .left-sidebar {
    left: 0 !important;
    width: 280px !important;
    max-width: 85vw;
    position: fixed !important;
    top: 58px;
    bottom: 0;
    height: auto !important;
    z-index: 80;
    background: #0f2436 !important;
    box-shadow: 16px 0 40px rgba(15, 23, 42, 0.28);
    overflow-y: auto;
  }

  .edsl-ui.mini-sidebar.show-sidebar .hide-menu,
  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li > a {
    display: block !important;
    width: 100% !important;
    white-space: normal;
  }

  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li > a {
    padding: 12px 16px !important;
    white-space: nowrap;
  }

  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li > a.has-arrow:after {
    display: inline-block !important;
  }

  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li > ul {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.22) !important;
    padding-left: 4px !important;
  }

  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li:hover > ul,
  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li:hover > ul.collapse {
    display: none;
  }

  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li > ul.in,
  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li:hover > ul.in,
  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li > ul.collapsing,
  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li:hover > ul.collapsing {
    display: block !important;
    height: auto !important;
  }

  .edsl-ui.mini-sidebar.show-sidebar .sidebar-nav #sidebarnav > li > ul a {
    padding: 10px 14px;
    white-space: normal;
    line-height: 1.35;
  }

  .edsl-ui iframe#myframe {
    left: 0 !important;
    width: 100% !important;
  }

  .edsl-ui .btn {
    min-height: var(--edsl-tap);
  }

  .edsl-ui .topbar .top-navbar {
    min-height: 58px;
    padding: 0 8px 0 0;
    flex-wrap: nowrap;
  }

  .edsl-ui .navbar-header {
    width: auto !important;
    flex: 1 1 auto;
    text-align: left;
    line-height: 58px;
    overflow: hidden;
  }

  .edsl-ui .navbar-brand {
    padding-left: 8px;
  }

  .edsl-ui .navbar-brand img {
    max-width: 110px;
    max-height: 32px;
  }

  .edsl-ui .topbar .btn span {
    display: none;
  }

  .edsl-ui .topbar .btn {
    min-width: 40px;
    padding: 6px 10px;
  }

  .edsl-ui .topbar .navbar-nav {
    align-items: center;
    flex-wrap: nowrap;
  }

  .edsl-ui.mini-sidebar .left-sidebar,
  .edsl-ui .left-sidebar {
    z-index: 80;
  }

  .edsl-ui .topbar {
    z-index: 90;
  }

  .edsl-ui.show-sidebar .edsl-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.46);
    z-index: 70;
  }

  .edsl-ui .page-wrapper {
    padding-top: 58px;
    margin-left: 0 !important;
  }

  .edsl-ui.mini-sidebar .page-wrapper {
    margin-left: 0 !important;
    padding-top: 58px;
  }

  .edsl-stat-card .d-flex {
    align-items: flex-start;
  }

  .edsl-stat-card h3,
  .edsl-stat-card h6 {
    word-break: break-word;
  }

  .edsl-chart-frame {
    height: 280px;
  }

  .edsl-ui iframe#myframe {
    left: 0 !important;
    width: 100% !important;
  }

  .edsl-footer {
    padding: 32px 16px 88px !important;
  }

  .edsl-footer .col-lg-4,
  .edsl-footer .col-md-6 {
    margin-bottom: 24px;
  }

  .edsl-footer .text-right {
    text-align: left !important;
  }

  .edsl-ui .swal2-popup {
    width: calc(100vw - 24px) !important;
  }
}

@media (max-width: 575px) {
  .edsl-ui .navbar-toggle__text {
    display: none;
  }

  .edsl-lang-switch a {
    min-width: 40px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .edsl-ui .carousel-item img,
  .edsl-ui .jumbotron img {
    max-height: 160px;
  }

  .edsl-ui .jumbotron__control {
    top: auto;
    bottom: 12px;
    width: 36px;
    height: 36px;
    line-height: 36px;
  }

  .edsl-ui h3.card-title,
  .edsl-ui .font-light {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .edsl-ui .round.round-lg {
    width: 48px;
    height: 48px;
  }
}

/* Large screens: keep content readable */
@media (min-width: 1400px) {
  .edsl-ui.edsl-public #main-wrapper > .container-fluid {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.edsl-ui #modal-warnlogout .modal-footer,
.edsl-ui .modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.edsl-ui .message-widget a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.edsl-ui .message-widget .mail-contnet {
  width: auto;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.edsl-lang-switch .social-icons__link {
  width: auto;
  height: auto;
  margin: 0;
}

.edsl-ui .fix-width {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.edsl-ui .wizard > .steps > ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.edsl-ui .wizard > .steps > ul > li {
  flex: 1 0 auto;
}

.edsl-ui .nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.edsl-ui .nav-tabs .nav-link,
.edsl-ui .nav-tabs .nav-item {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .edsl-ui .wizard > .steps .title {
    font-size: 11px;
  }

  .edsl-ui .wizard > .actions > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 8px;
  }

  .edsl-ui .wizard > .actions a,
  .edsl-ui .wizard > .actions a:hover,
  .edsl-ui .wizard > .actions a:active {
    display: block;
    text-align: center;
  }

  .edsl-ui .page-titles h3 {
    font-size: 1.1rem;
  }

  .edsl-ui .modal-dialog.w-75,
  .edsl-ui .modal-dialog.mw-100 {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    margin: 8px auto;
  }
}

.edsl-ui .topbar .nav-toggler,
.edsl-ui .topbar .sidebartoggler {
  color: #ffffff !important;
}

@media (max-width: 991px) {
  .edsl-ui.edsl-public .header__navigation .navbar-collapse {
    background: #0b1220;
    margin: 8px -12px 0;
    padding: 8px 12px 14px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 32px rgba(11, 18, 32, 0.28);
  }

  .edsl-ui.edsl-public .main-navigation {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0 !important;
    border-bottom: 0 !important;
  }

  .edsl-ui.edsl-public .main-navigation > li > a {
    padding: 12px 14px !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 15px;
    min-height: var(--edsl-tap);
  }

  .edsl-ui.edsl-public .main-navigation > li:hover > a,
  .edsl-ui.edsl-public .main-navigation > li:focus > a {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }

  .edsl-ui.edsl-public .main-navigation > .current-menu-item > a,
  .edsl-ui.edsl-public .main-navigation > .current-menu-item:hover > a {
    background: #fff !important;
    color: #0b1220 !important;
  }
}

@media print {
  .edsl-sidebar-backdrop,
  .edsl-footer .bt-top,
  .topbar,
  .left-sidebar {
    display: none !important;
  }
}

/* ------------------------------------------------------------------ */
/* Front-page design (CR #105). The public portal is design 3.        */
/* ------------------------------------------------------------------ */
.edsl-service-copy,
.edsl-maritime-lead,
.edsl-steps {
  display: none;
}

.edsl-official-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
}

.edsl-official-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  min-height: 40px;
}

.edsl-official-bar p {
  margin: 0;
  /* display: flex; */
  align-items: center;
  gap: 8px;
}

.edsl-official-bar p::before {
  content: "";
  width: 18px;
  height: 12px;
  border-radius: 2px;
  /* background: linear-gradient(#cc0001 0 50%, #fff 50% 100%); */
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.15);
  flex: 0 0 auto;
}

.edsl-official-bar a {
  color: #1d4ed8;
  font-weight: 700;
  white-space: nowrap;
}

.edsl-brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  margin-left: 10px;
  min-width: 0;
}

.edsl-brand-copy strong {
  font-size: 18px;
  font-weight: 800;
}

.edsl-brand-copy span,
.edsl-brand-copy small {
  font-size: 12px;
  font-weight: 600;
}

.edsl-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.edsl-service-copy h1,
.edsl-maritime-lead h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
}

.edsl-lede {
  margin: 0;
  max-width: 38em;
  font-size: 17px;
  line-height: 1.5;
}

/* Design 2 — official service (MYDS) */
body.edsl-design-2 {
  --edsl-blue: #1d4ed8;
  --edsl-blue-2: #1d4ed8;
}

body.edsl-design-2 .edsl-hero {
  display: none !important;
}

body.edsl-design-2 .edsl-service-copy {
  display: block;
}

body.edsl-design-2 .edsl-brand-copy,
body.edsl-design-2 .edsl-service-copy h1 {
  color: #0f172a;
}

body.edsl-design-2 .edsl-brand-copy span,
body.edsl-design-2 .edsl-lede {
  color: #475569;
}

body.edsl-design-2 .edsl-kicker {
  color: #1d4ed8;
}

body.edsl-design-2.edsl-ui.edsl-public .header__container {
  background: #fff !important;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;
}

body.edsl-design-2.edsl-ui.edsl-public .header__logo::before,
body.edsl-design-2.edsl-ui.edsl-public .header__logo::after {
  content: none !important;
  display: none !important;
}

body.edsl-design-2 .edsl-lang-switch {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

body.edsl-design-2.edsl-ui.edsl-public .header__navigation-widgets .edsl-lang-switch a,
body.edsl-design-2 .header__logo-actions .edsl-lang-switch a {
  color: #334155 !important;
}

body.edsl-design-2.edsl-ui.edsl-public .edsl-lang-switch a.is-active,
body.edsl-design-2.edsl-ui.edsl-public .edsl-lang-switch a.btn-warning {
  background: #1d4ed8;
  color: #fff !important;
}

body.edsl-design-2 .edsl-home > .row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 20px 28px;
  margin: 0;
  padding: 28px 8px 8px;
  background: linear-gradient(180deg, #eef4ff 0, #f8fbff 220px, transparent 220px);
  border-radius: 18px;
}

body.edsl-design-2 .edsl-home > .row::before,
body.edsl-design-2 .edsl-home > .row::after {
  content: none;
  display: none;
}

body.edsl-design-2 .edsl-home > .row > .col-lg-8,
body.edsl-design-2 .edsl-home > .row > .col-lg-4 {
  display: contents;
}

body.edsl-design-2 .edsl-service-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

body.edsl-design-2 .edsl-login-card {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

body.edsl-design-2 .edsl-steps {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.edsl-design-2 .edsl-home-main {
  grid-column: 1 / -1;
  grid-row: 3;
}

body.edsl-design-2 .edsl-notice-card {
  grid-column: 1 / -1;
  grid-row: 4;
  border-left: 5px solid #f97316;
}

body.edsl-design-2 .edsl-home-main .card-header {
  display: none;
}

body.edsl-design-2 .edsl-login-card .card-header,
body.edsl-design-2 .edsl-link-card .card-header {
  background: #fff !important;
  border-bottom: 1px solid #e2e8f0;
}

body.edsl-design-2 .edsl-login-card .card-header h4,
body.edsl-design-2 .edsl-login-card .card-header .m-b-0,
body.edsl-design-2 .edsl-login-card .card-header i,
body.edsl-design-2 .edsl-link-card .card-header h4,
body.edsl-design-2 .edsl-link-card .card-header .m-b-0,
body.edsl-design-2 .edsl-link-card .card-header i {
  color: #0f172a !important;
}

body.edsl-design-2 .edsl-notice-card .card-header {
  background: #fff7ed !important;
}

body.edsl-design-2 .edsl-notice-card .card-header h4,
body.edsl-design-2 .edsl-notice-card .card-header .m-b-0,
body.edsl-design-2 .edsl-notice-card .card-header i {
  color: #9a3412 !important;
}

body.edsl-design-2 .edsl-login-submit {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

body.edsl-design-2 .edsl-steps a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #0f172a;
  text-decoration: none !important;
}

body.edsl-design-2 .edsl-steps a:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.08);
}

body.edsl-design-2 .edsl-steps strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  flex: 0 0 auto;
}

body.edsl-design-2 .edsl-steps a span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.edsl-design-2 .edsl-steps small {
  color: #64748b;
  font-weight: 500;
}

body.edsl-design-2 .edsl-notice-list,
body.edsl-design-2 .edsl-link-card-body {
  height: auto;
  max-height: none;
}

/* Design 3 — JLM maritime identity */
body.edsl-design-3 {
  --edsl-navy: #0b2540;
  --edsl-gold: #c4a35a;
}

body.edsl-design-3:has(.edsl-home) {
  background-color: #0b2540;
  background-image:
    linear-gradient(180deg, rgba(11, 37, 64, 0.28), rgba(11, 37, 64, 0.42)),
    url("../images/jlm-klang.jpg");
  background-position: center 18%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.edsl-design-3 .edsl-brand-copy,
body.edsl-design-3 .edsl-brand-copy span {
  color: #fff;
}

body.edsl-design-3 .edsl-brand-copy strong {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  max-width: 36ch;
}

body.edsl-design-3 .header__logo {
  background: transparent !important;
}

body.edsl-design-3 .header__logo img {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

body.edsl-design-3.edsl-ui.edsl-public .header__container,
body.edsl-design-3.edsl-ui.edsl-public .header {
  /* background: linear-gradient(100deg, #16324A 0%, #1f425d 100%) !important; */
  background: linear-gradient(135deg, var(--edsl-navy) 0%, var(--edsl-blue-2) 100%) !important;
}

body.edsl-design-3.edsl-ui.edsl-public .header__logo::before,
body.edsl-design-3.edsl-ui.edsl-public .header__logo::after {
  content: none !important;
  display: none !important;
}

body.edsl-design-3 .edsl-lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

body.edsl-design-3 .edsl-lang-switch a {
  color: #e2e8f0 !important;
}

body.edsl-design-3.edsl-ui.edsl-public .edsl-lang-switch a.is-active,
body.edsl-design-3.edsl-ui.edsl-public .edsl-lang-switch a.btn-warning {
  background: var(--edsl-gold);
  color: #0b2540 !important;
}

body.edsl-design-3 .edsl-hero {
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

body.edsl-design-3 .edsl-hero .carousel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.edsl-design-3 .edsl-hero-media {
  min-height: 0;
  background: #0b2540;
}

body.edsl-design-3.edsl-ui .edsl-hero .carousel-item img,
body.edsl-design-3 .edsl-hero-media img {
  width: 100%;
  height: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
}

body.edsl-design-3 .edsl-home {
  position: relative;
}

body.edsl-design-3 .edsl-home > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  column-gap: 28px;
  row-gap: 20px;
  margin: 8px 0 0;
  position: relative;
}

body.edsl-design-3 .edsl-home > .row::before,
body.edsl-design-3 .edsl-home > .row::after {
  content: none;
  display: none;
}

body.edsl-design-3 .edsl-home > .row > .col-lg-8,
body.edsl-design-3 .edsl-home > .row > .col-lg-4 {
  display: contents;
}

body.edsl-design-3 .edsl-maritime-lead {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  padding: 8px 0 4px;
}

body.edsl-design-3 .edsl-maritime-lead h1,
body.edsl-design-3 .edsl-kicker,
body.edsl-design-3 .edsl-lede {
  color: #0b2540;
}

body.edsl-design-3 .edsl-kicker {
  color: #8a6d2f;
}

body.edsl-design-3 .edsl-home-carousel {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  align-self: start;
  min-width: 0;
}

body.edsl-design-3 .edsl-home-carousel .carousel {
  position: relative;
  height: auto;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

body.edsl-design-3 .edsl-home-carousel .carousel-inner,
body.edsl-design-3 .edsl-home-carousel .carousel-item,
body.edsl-design-3 .edsl-home-carousel .edsl-home-slide {
  height: auto;
}

body.edsl-design-3 .edsl-home-carousel .carousel-item {
  display: none;
}

body.edsl-design-3 .edsl-home-carousel .carousel-item.active {
  display: block;
}

body.edsl-design-3 .edsl-home-carousel img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

body.edsl-design-3 .edsl-login-card {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  z-index: 3;
  margin: 0;
  border: 0;
  border-top: 4px solid var(--edsl-gold);
  box-shadow: 0 18px 40px rgba(11, 37, 64, 0.22);
}

body.edsl-design-3 .edsl-login-card .card-body {
  padding: 14px 16px;
}

body.edsl-design-3 .edsl-login-card .form-group {
  margin-bottom: 10px;
}

body.edsl-design-3 .edsl-notice-card {
  grid-column: 1 / -1;
  grid-row: 2;
}

body.edsl-design-3 .edsl-home-main {
  grid-column: 1 / -1;
  grid-row: 3;
}

body.edsl-design-3 .edsl-home-main .card-header {
  display: none;
}

body.edsl-design-3 .edsl-notice-card .card-header,
body.edsl-design-3 .edsl-link-card .card-header,
body.edsl-design-3 .edsl-login-card .card-header,
body.edsl-design-3.edsl-ui.edsl-public .card-outline-info > .card-header {
  background: #0b2540 !important;
}

body.edsl-design-3 .edsl-notice-list {
  height: auto;
  max-height: none;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding-right: 0;
}

body.edsl-design-3 .edsl-notice-item {
  border: 1px solid rgba(196, 163, 90, 0.45);
  border-left: 4px solid var(--edsl-gold);
  border-radius: 10px;
  padding: 12px;
  background: #fffdf8;
}

body.edsl-design-3 .edsl-link-card-body {
  max-height: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.edsl-design-3 .edsl-link-card .message-widget {
  display: inline-flex;
}

body.edsl-design-3 .edsl-link-card .message-widget a {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  margin: 0 !important;
}

body.edsl-design-3 .edsl-link-card .user-img,
body.edsl-design-3 .edsl-link-card .time,
body.edsl-design-3 .edsl-link-card .mail-contnet span {
  display: none;
}

body.edsl-design-3 .edsl-link-card .mail-contnet h5 {
  margin: 0;
  font-size: 14px;
}

body.edsl-design-3 .edsl-footer {
  border-top: 4px solid var(--edsl-gold);
  background: linear-gradient(100deg, #16324A 0%, #1f425d 100%) !important;
}

@media (min-width: 992px) {
  body.edsl-design-2.edsl-ui.edsl-public .header,
  body.edsl-design-3.edsl-ui.edsl-public .header {
    flex-wrap: wrap;
    max-height: none;
    align-items: center !important;
  }

  body.edsl-design-2.edsl-ui.edsl-public .header__logo,
  body.edsl-design-3.edsl-ui.edsl-public .header__logo {
    flex: 1 1 auto;
    order: 1;
    max-height: none;
    min-height: 76px;
    padding: 8px 12px 8px 0 !important;
    gap: 4px;
  }

  body.edsl-design-2.edsl-ui.edsl-public .header__navigation-widgets,
  body.edsl-design-3.edsl-ui.edsl-public .header__navigation-widgets {
    order: 2;
    min-height: 76px;
  }

  body.edsl-design-2.edsl-ui.edsl-public .header__navigation,
  body.edsl-design-3.edsl-ui.edsl-public .header__navigation {
    flex: 1 0 100%;
    order: 5;
    width: calc(100% + 48px) !important;
    max-width: none;
    min-height: 48px;
    margin: 0 -24px !important;
    padding: 0 16px !important;
    background: #fff;
  }

  body.edsl-design-2.edsl-ui.edsl-public .header__navigation {
    border-top: 1px solid #e2e8f0;
  }

  body.edsl-design-3.edsl-ui.edsl-public .header__navigation {
    border-top: 4px solid var(--edsl-gold);
  }

  body.edsl-design-2.edsl-ui.edsl-public .main-navigation > li > a,
  body.edsl-design-3.edsl-ui.edsl-public .main-navigation > li > a {
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.edsl-design-2.edsl-ui.edsl-public .main-navigation > li > a {
    color: #0f172a !important;
    border-bottom: 3px solid transparent;
  }

  body.edsl-design-2.edsl-ui.edsl-public .main-navigation > li:hover > a,
  body.edsl-design-2.edsl-ui.edsl-public .main-navigation > li:focus > a,
  body.edsl-design-2.edsl-ui.edsl-public .main-navigation > .current-menu-item > a,
  body.edsl-design-2.edsl-ui.edsl-public .main-navigation > .current-menu-item:hover > a {
    background: transparent !important;
    color: #1d4ed8 !important;
    border-bottom-color: #1d4ed8;
    box-shadow: none !important;
  }

  body.edsl-design-3.edsl-ui.edsl-public .main-navigation > li > a {
    color: #0b2540 !important;
    border-bottom: 3px solid transparent;
  }

  body.edsl-design-3.edsl-ui.edsl-public .main-navigation > li:hover > a,
  body.edsl-design-3.edsl-ui.edsl-public .main-navigation > li:focus > a,
  body.edsl-design-3.edsl-ui.edsl-public .main-navigation > .current-menu-item > a,
  body.edsl-design-3.edsl-ui.edsl-public .main-navigation > .current-menu-item:hover > a {
    background: transparent !important;
    color: #0b2540 !important;
    border-bottom-color: var(--edsl-gold);
    box-shadow: none !important;
  }
}

@media (max-width: 991px) {
  body.edsl-design-2 .header__logo,
  body.edsl-design-3 .header__logo {
    justify-content: flex-start;
  }

  body.edsl-design-2 .header__logo-actions,
  body.edsl-design-3 .header__logo-actions {
    margin-left: auto;
  }

  body.edsl-design-2 .edsl-brand-copy,
  body.edsl-design-3 .edsl-brand-copy {
    display: none;
  }

  body.edsl-design-2 .bt-top,
  body.edsl-design-3 .bt-top {
    right: auto;
    left: 12px;
    visibility: hidden;
  }

  body.edsl-design-2.edsl-ui.edsl-public .header__container,
  body.edsl-design-2.edsl-ui.edsl-public .header {
    background: #fff !important;
  }

  body.edsl-design-3.edsl-ui.edsl-public .header__container,
  body.edsl-design-3.edsl-ui.edsl-public .header {
    background: linear-gradient(100deg, #16324A 0%, #1f425d 100%) !important;
  }

  body.edsl-design-2.edsl-ui.edsl-public .header__navigation .navbar-collapse {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: none;
  }

  body.edsl-design-2.edsl-ui.edsl-public .main-navigation > li > a {
    color: #0f172a !important;
  }

  body.edsl-design-2.edsl-ui.edsl-public .main-navigation > .current-menu-item > a,
  body.edsl-design-2.edsl-ui.edsl-public .main-navigation > .current-menu-item:hover > a {
    background: #eef4ff !important;
    color: #1d4ed8 !important;
  }

  body.edsl-design-3.edsl-ui.edsl-public .header__navigation .navbar-collapse {
    background: #fff;
    box-shadow: none;
  }

  body.edsl-design-3.edsl-ui.edsl-public .main-navigation > li > a {
    color: #0b2540 !important;
  }

  body.edsl-design-3.edsl-ui.edsl-public .main-navigation > .current-menu-item > a,
  body.edsl-design-3.edsl-ui.edsl-public .main-navigation > .current-menu-item:hover > a {
    background: #fffdf8 !important;
    color: #0b2540 !important;
    box-shadow: inset 3px 0 0 #c4a35a;
  }

  body.edsl-design-2 .edsl-home > .row,
  body.edsl-design-3 .edsl-home > .row {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-top: 12px;
  }

  body.edsl-design-2 .edsl-service-copy,
  body.edsl-design-2 .edsl-login-card,
  body.edsl-design-2 .edsl-steps,
  body.edsl-design-2 .edsl-home-main,
  body.edsl-design-2 .edsl-notice-card,
  body.edsl-design-3 .edsl-home-carousel,
  body.edsl-design-3 .edsl-maritime-lead,
  body.edsl-design-3 .edsl-login-card,
  body.edsl-design-3 .edsl-notice-card,
  body.edsl-design-3 .edsl-home-main {
    grid-column: 1;
    grid-row: auto;
    width: auto;
    position: static;
  }

  body.edsl-design-2 .edsl-service-copy { order: 1; }
  body.edsl-design-2 .edsl-login-card { order: 2; }
  body.edsl-design-2 .edsl-steps { order: 3; }
  body.edsl-design-2 .edsl-home-main { order: 4; }
  body.edsl-design-2 .edsl-notice-card { order: 5; }

  body.edsl-design-3 .edsl-home-carousel { order: 1; }
  body.edsl-design-3 .edsl-maritime-lead { order: 1; }
  body.edsl-design-3 .edsl-login-card { order: 2; }

  body.edsl-design-3 .edsl-home-carousel .carousel,
  body.edsl-design-3 .edsl-home-carousel .carousel-inner,
  body.edsl-design-3 .edsl-home-carousel .carousel-item,
  body.edsl-design-3 .edsl-home-carousel .edsl-home-slide,
  body.edsl-design-3 .edsl-home-carousel img {
    height: auto;
    min-height: 0;
  }
  body.edsl-design-3 .edsl-notice-card { order: 3; }
  body.edsl-design-3 .edsl-home-main { order: 4; }

  body.edsl-design-2 .edsl-steps,
  body.edsl-design-3 .edsl-notice-list {
    grid-template-columns: 1fr;
  }

  body.edsl-design-3 .edsl-maritime-lead {
    min-height: 0;
    display: block;
  }

  body.edsl-design-3.edsl-ui .edsl-hero .carousel-item img,
  body.edsl-design-3 .edsl-hero-media img {
    height: 180px !important;
    max-height: 180px !important;
  }
}

body.edsl-design-3 .edsl-notice-slider {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 15px;
}

body.edsl-design-3 .edsl-notice-slider .carousel {
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

body.edsl-design-3 .edsl-notice-slide {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 5px solid #c2410c;
  border-radius: 12px;
  padding: 18px 20px;
  color: #7c2d12;
}

body.edsl-design-3 .edsl-notice-slide h2 {
  margin: 0 0 8px;
  color: #9a3412;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.3;
  font-weight: 800;
}

body.edsl-design-3 .edsl-notice-slide-body p,
body.edsl-design-3 .edsl-notice-slide p {
  margin: 0 0 0.6em;
}

body.edsl-design-3 .edsl-notice-slide-body p:last-child,
body.edsl-design-3 .edsl-notice-slide p:last-child {
  margin-bottom: 0;
}

body.edsl-design-3 .edsl-notice-slide a {
  color: #9a3412;
  font-weight: 700;
  word-break: break-word;
}

body.edsl-design-3 .edsl-notice-slide-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
}

body.edsl-design-3 .edsl-notice-slider .edsl-hero-nav {
  color: #7c2d12;
}

body.edsl-design-3 .edsl-notice-slider .edsl-hero-dots {
  background: rgba(154, 52, 18, 0.35);
}

.edsl-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.edsl-resource-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 168px;
  padding: 18px 14px;
  border: 1px solid var(--edsl-line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  color: var(--edsl-navy);
  text-decoration: none !important;
}

.edsl-resource-thumb:hover,
.edsl-resource-thumb:focus {
  border-color: #16324A;
  box-shadow: var(--edsl-shadow);
  color: #16324A;
}

.edsl-resource-thumb-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #eef3f8;
  color: #16324A;
  font-size: 28px;
}

.edsl-resource-thumb .fileName {
  font-weight: 600;
  line-height: 1.35;
}

/* How to offer a Malaysian vessel — horizontal steps */
.offer-flow-wrap {
  padding: 18px 12px 14px;
}

.offer-flow {
  display: flex;
  align-items: stretch;
  gap: 28px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
}

.offer-flow li {
  display: flex;
  align-items: stretch;
  position: relative;
  flex: 1 1 0;
  min-width: 132px;
  margin: 0;
  padding: 0;
}

.offer-flow li span {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 10px 12px;
  background: #73b243;
  color: #111111;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  border-radius: 18px;
}

.offer-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + 3px);
  top: 50%;
  width: 22px;
  height: 14px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 16'%3E%3Cpath fill='%234472c4' d='M0 6h16V1l16 7-16 7v-5H0z'/%3E%3C/svg%3E") center / 22px 12px no-repeat;
}

/* ===========================================================================
   DataTables sort indicators
   ---------------------------------------------------------------------------
   The bundled DataTables 1.10.18 bootstrap4 stylesheet reserves room for the
   sort arrows with:

       table.dataTable thead > tr > td.sorting, ... { padding-right: 30px }

   That selector targets <td>, but this portal renders its header cells as
   <th>, so the padding never lands while the arrows are still positioned
   absolutely at right: 0.85em / 0.5em — inside the 20px right padding that
   bootstrap's .table-sm gives a th. On any header long enough to reach that
   edge the arrows land on top of the label, which is why the licence list
   reads "TARIKH TAMAT^" and "STATUS LESEN^".

   The arrows were also stretched rather than stacked: the base rule sets
   bottom: 0.9em and the .table-sm rule adds top: 5px, leaving a 15.6px box
   for two glyphs with a 24px line-height, so both were clipped as well.

   The rules below give the header cells the padding the bundled rule always
   intended, and stack the two arrows in a single column, vertically centred.
   Everything is explicit and !important because the page-level
   datatables.min.css is appended after this file.
   ======================================================================== */
table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc,
table.dataTable thead > tr > th.sorting_asc_disabled,
table.dataTable thead > tr > th.sorting_desc_disabled {
  position: relative;
  /* Room for the arrow column: 10px offset + a 10px glyph + breathing space.
     The bundled rule asks for 30px but only ever reaches <td>. */
  padding-right: 26px !important;
}

table.dataTable thead > tr > th.sorting::before,
table.dataTable thead > tr > th.sorting_asc::before,
table.dataTable thead > tr > th.sorting_desc::before,
table.dataTable thead > tr > th.sorting_asc_disabled::before,
table.dataTable thead > tr > th.sorting_desc_disabled::before,
table.dataTable thead > tr > th.sorting::after,
table.dataTable thead > tr > th.sorting_asc::after,
table.dataTable thead > tr > th.sorting_desc::after,
table.dataTable thead > tr > th.sorting_asc_disabled::after,
table.dataTable thead > tr > th.sorting_desc_disabled::after {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  bottom: auto !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  font-family: inherit !important;
  font-size: 10px !important;
  line-height: 10px !important;
  /* Overrides the legacy FontAwesome `::after` in private-style.css, which
     drew a third glyph from a different font family. */
  text-transform: none !important;
}

/* Ascending arrow sits just above the middle, descending just below it. */
table.dataTable thead > tr > th.sorting::before,
table.dataTable thead > tr > th.sorting_asc::before,
table.dataTable thead > tr > th.sorting_desc::before,
table.dataTable thead > tr > th.sorting_asc_disabled::before,
table.dataTable thead > tr > th.sorting_desc_disabled::before {
  content: "\2191" !important;
  transform: translateY(-105%);
  opacity: 0.35 !important;
}

table.dataTable thead > tr > th.sorting::after,
table.dataTable thead > tr > th.sorting_asc::after,
table.dataTable thead > tr > th.sorting_desc::after,
table.dataTable thead > tr > th.sorting_asc_disabled::after,
table.dataTable thead > tr > th.sorting_desc_disabled::after {
  content: "\2193" !important;
  transform: translateY(5%);
  opacity: 0.35 !important;
}

/* Emphasise the direction the table is actually sorted by. */
table.dataTable thead > tr > th.sorting_asc::before,
table.dataTable thead > tr > th.sorting_desc::after {
  opacity: 1 !important;
}

table.dataTable thead > tr > th.sorting_asc_disabled::before,
table.dataTable thead > tr > th.sorting_desc_disabled::after {
  opacity: 0 !important;
}
