/* Cache-busted site overrides. Keep this file small so it loads quickly. */
.eb-backdrop {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

#page\#0 .uk-animation-scale-up,
#page\#0 .uk-animation-scale-down { animation-name: uk-fade !important; }

.eb-inst .eb-dialog {
  width: min(440px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100vh - 32px) !important;
  padding: 28px 26px 24px !important;
  border: 1px solid #e5e7eb !important;
  border-top: 4px solid #f9cf2f !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .2) !important;
}

.eb-inst .eb-dialog .eb-header {
  margin: 0 28px 14px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2937 !important;
  font-size: clamp(21px, 4vw, 26px) !important;
  font-weight: 700 !important;
}

.eb-inst .eb-dialog .eb-content { margin: 0 !important; }
.eb-inst .eb-dialog .eb-content ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.eb-inst .eb-dialog .eb-content li { margin: 0 !important; border-bottom: 1px solid #e5e7eb; }
.eb-inst .eb-dialog .eb-content li:last-child { border-bottom: 0; }
.eb-inst .eb-dialog .eb-content li a {
  display: block;
  padding: 13px 32px 13px 14px;
  color: #243247 !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.eb-inst .eb-dialog .eb-content li a:hover,
.eb-inst .eb-dialog .eb-content li a:focus { color: #a30d1a !important; }
.eb-inst .eb-dialog .eb-close { top: 13px !important; right: 14px !important; color: #6b7280 !important; }

/* Gunakan rupa senarai yang sama untuk Perkhidmatan Atas Talian dan Warga PKNNS. */
.eb-2 .pknns-services,
.eb-3 .pknns-services {
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: #fff;
  text-align: left !important;
}

.eb-2 .pknns-services > li,
.eb-3 .pknns-services > li {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  list-style: none !important;
}

.eb-2 .pknns-services > li + li,
.eb-3 .pknns-services > li + li { border-top: 1px solid #e8ecf3; }

.eb-2 .pknns-services > li::before,
.eb-3 .pknns-services > li::before {
  display: none !important;
  content: none !important;
}

.eb-2 .pknns-services .pknns-service-link,
.eb-3 .pknns-services .pknns-service-link {
  position: relative;
  display: flex !important;
  align-items: center;
  min-height: 72px;
  padding: 13px 52px 13px 28px !important;
  background: #fff;
  color: #172554 !important;
  text-align: left;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease;
}

.eb-2 .pknns-services .pknns-service-link::after,
.eb-3 .pknns-services .pknns-service-link::after {
  position: absolute;
  top: 50%;
  right: 26px;
  color: #98a2b6;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  content: "\203A";
  transform: translateY(-54%);
}

.eb-2 .pknns-service-content,
.eb-2 .pknns-service-title,
.eb-2 .pknns-service-description,
.eb-3 .pknns-service-content,
.eb-3 .pknns-service-title,
.eb-3 .pknns-service-description { display: block; }

.eb-2 .pknns-service-title,
.eb-3 .pknns-service-title {
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.eb-2 .pknns-service-description,
.eb-3 .pknns-service-description {
  margin-top: 3px;
  color: #78849a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.eb-2 .pknns-services .pknns-service-link:hover,
.eb-2 .pknns-services .pknns-service-link:focus-visible,
.eb-3 .pknns-services .pknns-service-link:hover,
.eb-3 .pknns-services .pknns-service-link:focus-visible {
  background: #f5f7fc;
  color: #304eb3 !important;
  outline: 0;
}

@media (max-width: 575px) {
  .eb-inst .eb-dialog { padding: 22px 18px 18px !important; }
  .eb-inst .eb-dialog .eb-header { margin: 0 25px 12px 0 !important; font-size: 21px !important; }
  .eb-inst .eb-dialog .eb-content li a { padding: 12px 28px 12px 8px; font-size: 14px; }
  .eb-2 .pknns-services .pknns-service-link,
  .eb-3 .pknns-services .pknns-service-link {
    min-height: 68px;
    padding: 12px 44px 12px 18px !important;
  }
  .eb-2 .pknns-services .pknns-service-link::after,
  .eb-3 .pknns-services .pknns-service-link::after { right: 18px; }
}
