@font-face {
  font-family: "IBMPlexSansArabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://hmm.gov.sa/assets2/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Regular.woff2") format("woff2"),
       url("https://hmm.gov.sa/assets2/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Regular.woff") format("woff");
}

@font-face {
  font-family: "IBMPlexSansArabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://hmm.gov.sa/assets2/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Medium.woff2") format("woff2"),
       url("https://hmm.gov.sa/assets2/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Medium.woff") format("woff");
}

@font-face {
  font-family: "IBMPlexSansArabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://hmm.gov.sa/assets2/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-SemiBold.woff2") format("woff2"),
       url("https://hmm.gov.sa/assets2/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-SemiBold.woff") format("woff");
}

@font-face {
  font-family: "IBMPlexSansArabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://hmm.gov.sa/assets2/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Bold.woff2") format("woff2"),
       url("https://hmm.gov.sa/assets2/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Bold.woff") format("woff");
}

.hgi-stroke::before,
.hgi-bulk::before { content: none !important; }

.hgi-stroke,
.hgi-bulk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
}

.hgi-stroke > svg,
.hgi-bulk > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hmm-hdr {
  font-family: "IBMPlexSansArabic", "IBM Plex Sans Arabic", sans-serif;
  color: #111927;
  direction: rtl;
}

.hmm-hdr *,
.hmm-hdr *::before,
.hmm-hdr *::after {
  box-sizing: border-box;
}

.hmm-hdr :where(button, input, select, textarea) {
  font-family: inherit;
  font-size: 100%;
  color: #111927;
}

.hmm-hdr img,
.hmm-hdr picture {
  max-width: 100%;
  vertical-align: middle;
}

.hmm-hdr .hmm-ds-wrapper img {
  height: auto;
}

.hmm-hdr .hmm-ds-wrapper img[width="20"] {
  aspect-ratio: 1 / 1;
}

.hmm-hdr .hmm-ds-more .hmm-ds-item-icon img {
  aspect-ratio: 20 / 30;
}

body.hmm-greyscale .hmm-hdr {
  filter: grayscale(100%) !important;
  transition: filter 0.3s ease;
}

body.hmm-scale-n2 { zoom: 0.8; }
body.hmm-scale-n1 { zoom: 0.9; }
body.hmm-scale1   { zoom: 1.1; }
body.hmm-scale2   { zoom: 1.2; }
body.hmm-scale3   { zoom: 1.3; }

.hmm-ds-bg {
  background: #f5f5f5;
}

.hmm-ds-wrapper {
  padding: 6px 32px 32px 32px;
  background: #f3f4f6;
}

.hmm-ds-wrapper--close {
  padding-block-end: 6px;
}

.hmm-ds-head {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.hmm-ds-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 23px;
  height: 16px;
  overflow: hidden;
}

.hmm-ds-flag img {
  display: block;
  width: 23px;
  height: auto;
  aspect-ratio: 23 / 16;
}

.hmm-ds-head p {
  padding: 0;
  margin: 0;
  color: #161616;
  font-family: "IBMPlexSansArabic", serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.hmm-ds-toggle {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #1b8354;
  font-family: "IBMPlexSansArabic", serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  text-decoration: none;
  outline: none !important;
  transition: all 0.2s ease;
}

.hmm-ds-toggle:hover {
  color: #54c08a !important;
  text-decoration: underline !important;
}

.hmm-ds-toggle:active {
  color: #88d8ad !important;
  text-decoration: underline !important;
}

.hmm-ds-toggle:focus {
  outline: 2px solid #161616 !important;
  outline-offset: 2px !important;
  border-radius: 2px !important;
}

.hmm-ds-toggle-icon {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.hmm-ds-toggle-icon img {
  display: inline-block;
  transition: transform 0.3s ease;
}

.hmm-ds-wrapper--open .hmm-ds-toggle-icon img {
  transform: rotate(180deg);
}

.hmm-ds-collapsible {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.hmm-ds-wrapper--open .hmm-ds-collapsible {
  grid-template-rows: 1fr;
}

.hmm-ds-collapsible > div {
  overflow: hidden;
  min-height: 0;
}

.hmm-ds-content {
  margin-top: 40px;
}

.hmm-ds-items {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.hmm-ds-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: calc(50% - 18px + 9px);
  max-width: calc(50% - 18px + 9px);
}

.hmm-ds-item > .hmm-ds-item-icon {
  display: flex;
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid #067647;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  flex-shrink: 0;
  overflow: hidden;
}

.hmm-ds-more-icon .hmm-ds-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 30px;
  overflow: hidden;
  flex-shrink: 0;
}

.hmm-ds-item-icon img {
  display: inline-block;
}

.hmm-ds-item-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hmm-ds-item-content h2 {
  color: #161616;
  font-family: "IBMPlexSansArabic", serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  margin: 0;
}

.hmm-ds-item-content h2 span {
  color: #1b8354;
}

.hmm-ds-item-content p {
  margin: 0;
  color: #384250;
  font-family: "IBMPlexSansArabic";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.hmm-ds-more-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hmm-ds-more {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 8px 24px;
  border-radius: 8px;
  background: #fff;
  width: 100%;
}

.hmm-ds-more-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.hmm-ds-more-content p {
  margin: 0;
  color: #161616;
  text-align: start;
  font-family: "IBMPlexSansArabic", serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.hmm-ds-more-content a {
  color: #1b8354;
  font-family: "IBMPlexSansArabic", serif;
  font-size: 14px;
  line-height: 20px;
  font-style: normal;
  font-weight: 400;
  align-self: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hmm-ds-more-content a:hover,
.hmm-ds-more-content a:hover span {
  color: #54c08a !important;
  text-decoration: underline !important;
}

.hmm-ds-more-content a:active,
.hmm-ds-more-content a:active span {
  color: #88d8ad !important;
  text-decoration: underline !important;
}

.hmm-ds-ext {
  font-size: 14px;
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .hmm-ds-more-row {
    flex-direction: row;
    justify-content: space-between;
    gap: 18px;
  }
}

@media screen and (max-width: 768px) {
  .hmm-ds-wrapper {
    padding: 6px 16px 24px 16px;
  }
  .hmm-ds-wrapper--close {
    padding-block-end: 6px;
  }
  .hmm-ds-head {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 12px;
  }
  .hmm-ds-head p {
    font-size: 10px;
    line-height: 18px;
  }
  .hmm-ds-toggle {
    font-size: 10px;
    line-height: 18px;
    align-self: flex-end;
  }
  .hmm-ds-toggle-icon {
    width: 18px;
    height: 18px;
  }
  .hmm-ds-content {
    margin-top: 24px;
  }
  .hmm-ds-items {
    gap: 16px;
  }
  .hmm-ds-item {
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }
  .hmm-ds-item > .hmm-ds-item-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .hmm-ds-item-content {
    gap: 8px;
    flex: 1;
  }
  .hmm-ds-item-content h2 {
    font-size: 16px;
    line-height: 24px;
  }
  .hmm-ds-item-content p {
    font-size: 14px;
    line-height: 20px;
  }
  .hmm-ds-more {
    margin-top: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }
  .hmm-ds-more .hmm-ds-more-icon {
    align-self: center;
  }
  .hmm-ds-more-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }
  .hmm-ds-more-content p {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    width: 100%;
  }
}

.hmm-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  padding: 8px 32px;
}

.hmm-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hmm-header-info__item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #384250;
}

.hmm-info-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hmm-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hmm-header-actions__btn {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  outline: none;
  border-radius: 4px;
  background-color: transparent;
  color: #161616;
  cursor: pointer;
  overflow: hidden;
}

.hmm-header-actions__btn .hgi-bulk {
  font-size: 16px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hmm-header-actions__btn:hover {
  background: transparent;
  color: #166a45;
}

.hmm-header-actions__btn:active {
  color: #14573a;
  outline: none;
}

.hmm-header-actions__btn--active {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

@media (max-width: 900px) {
  .hmm-top-header {
    justify-content: flex-end;
    padding: 6px 16px;
  }
  .hmm-header-info {
    display: none;
  }
  .hmm-header-actions {
    width: 100%;
    justify-content: center;
  }
}

.hmm-nav-sticky-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.hmm-header {
  position: relative;
  z-index: 9999;
  width: 100%;
  height: 72px;
  min-height: 72px;
  display: flex;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hmm-header--divider::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: #d2d6db;
}

.hmm-header-nav--full {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 32px;
}

.hmm-header-nav__main {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  flex: 1;
}

.hmm-header-nav__branding {
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-inline-end: 16px;
}

.hmm-header__logo {
  display: flex;
  align-items: center;
}

.hmm-header__logo img {
  height: 36px;
  width: 192px !important;
  object-fit: contain;
}

@media only screen and (max-width: 960px) {
  .hmm-header-nav__branding {
    flex: 1;
    justify-content: center;
  }
}

.hmm-header-nav__menu,
.hmm-header-nav__actions {
  list-style: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  user-select: none;
  gap: 0px;
}

.hmm-header-nav__menu li::marker,
.hmm-header-nav__actions li::marker {
  content: none !important;
}

.hmm-header-nav__actions {
  flex-shrink: 0;
}

@media only screen and (max-width: 960px) {
  .hmm-header-nav__menu,
  .hmm-header-nav__actions {
    display: none;
  }
}

.hmm-header-menu__btn {
  display: none;
}

.hmm-header-menu__btn button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  padding: 8px;
}

.hmm-header-menu__btn button .hgi-stroke {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

@media only screen and (max-width: 960px) {
  .hmm-header-menu__btn {
    display: inline-flex;
  }
}

.hmm-header-search__btn {
  display: none;
  margin-inline-start: auto;
}

.hmm-header-search__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 8px;
  color: #384250;
  text-decoration: none;
  transition: background 0.15s ease;
}

.hmm-header-search__link .hgi-stroke {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.hmm-header-search__link:hover { background: rgba(0, 0, 0, 0.05); }

.hmm-header-search__link:focus-visible {
  outline: 2px solid #1b8354;
  outline-offset: 2px;
}

@media only screen and (max-width: 960px) {
  .hmm-header-search__btn {
    display: inline-flex;
  }
}

.hmm-header-menu__item {
  display: inline-flex;
  height: 72px;
  padding: 8px 24px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px !important;
  text-decoration: none;
  user-select: none;
  color: inherit;
  font-family: inherit;
}

.hmm-header-menu__item-label,
.hmm-header-menu__item-icon,
.hmm-header-menu__item-arrow {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.hmm-header-menu__item-label,
.hmm-header-menu__item-icon {
  color: #161616;
  white-space: nowrap;
}

.hmm-header-menu__item-icon,
.hmm-header-menu__item-arrow {
  display: flex;
  align-items: center;
}

.hmm-header-menu__item-icon .hgi-stroke,
.hmm-header-menu__item-arrow .hgi-stroke {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.hmm-header-menu__item-arrow .hgi-stroke {
  transition: transform 0.3s;
}

.hmm-header-menu__item[aria-expanded="true"] .hmm-header-menu__item-arrow .hgi-stroke {
  transform: rotate(180deg);
}

.hmm-header-menu__item:hover {
  position: relative;
  background: #f3f4f6;
}

.hmm-header-menu__item:hover::after {
  content: "";
  display: block;
  width: calc(100% - 8px * 2);
  height: 8px;
  border-radius: 9999px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #9da4ae;
}

.hmm-header-menu__item:hover .hmm-header-menu__item-label,
.hmm-header-menu__item:hover .hmm-header-menu__item-icon,
.hmm-header-menu__item:hover .hmm-header-menu__item-arrow {
  color: #161616;
}

.hmm-header-menu__item:active {
  position: relative;
  background-color: #e5e7eb;
}

.hmm-header-menu__item:active::after {
  content: "";
  display: block;
  width: calc(100% - 8px * 2);
  height: 8px;
  border-radius: 9999px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1f2a37;
}

.hmm-header-menu__item:focus {
  outline: 2px solid #000;
  outline-offset: -3px !important;
  border-radius: 4px !important;
}

.hmm-header-menu__item:focus-visible::after {
  display: none;
}

.hmm-header-menu__item--active {
  position: relative;
  background: #1b8354;
}

.hmm-header-menu__item--active .hmm-header-menu__item-label,
.hmm-header-menu__item--active .hmm-header-menu__item-icon,
.hmm-header-menu__item--active .hmm-header-menu__item-arrow,
.hmm-header-menu__item--active:hover .hmm-header-menu__item-label,
.hmm-header-menu__item--active:hover .hmm-header-menu__item-icon,
.hmm-header-menu__item--active:hover .hmm-header-menu__item-arrow,
.hmm-header-menu__item--active:active .hmm-header-menu__item-label,
.hmm-header-menu__item--active:active .hmm-header-menu__item-icon,
.hmm-header-menu__item--active:active .hmm-header-menu__item-arrow {
  color: #fff;
  font-weight: 600;
}

.hmm-header-menu__item--active::after {
  content: "";
  display: block;
  width: calc(100% - 8px * 2);
  height: 8px;
  border-radius: 9999px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #54c08a;
}

.hmm-header-menu__item--active:hover {
  position: relative;
  background: #166a45;
}

.hmm-header-menu__item--active:hover::after {
  content: "";
  display: block;
  width: calc(100% - 8px * 2);
  height: 8px;
  border-radius: 9999px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #54c08a;
}

.hmm-header-menu__item--active:active {
  background: #104631;
}

.hmm-action-btn-reversed .hmm-header-menu__item {
  flex-direction: row-reverse;
}

.hmm-header-nav__menu-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  max-width: calc(100vw - 700px);
  overflow: clip;
  padding-block: 4px;
}

@media only screen and (max-width: 960px) {
  .hmm-header-nav__menu-wrapper,
  .hmm-header-nav__actions {
    display: none !important;
  }
}

.hmm-header-nav__menu {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding-block: 4px;
  margin-block: -4px;
}

.hmm-header-nav__menu::-webkit-scrollbar {
  display: none;
}

.hmm-header-nav__menu > li {
  position: relative;
}

.hmm-scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  height: 80%;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  padding: 0 8px;
  display: none;
}

.hmm-scroll-button--left  { right: 8px; }
.hmm-scroll-button--right { left: 8px; }

.hmm-header-nav__menu-wrapper.has-scroll-left  .hmm-scroll-button--left  { display: block; }
.hmm-header-nav__menu-wrapper.has-scroll-right .hmm-scroll-button--right { display: block; }

.hmm-header-nav__menu-wrapper::before,
.hmm-header-nav__menu-wrapper::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 0;
  width: 36px;
  height: 71px;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.hmm-header-nav__menu-wrapper::before {
  right: 0;
  background: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.hmm-header-nav__menu-wrapper::after {
  left: 0;
  background: #fff;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.1);
}

.hmm-header-nav__menu-wrapper.has-scroll-left::before { opacity: 1; }
.hmm-header-nav__menu-wrapper.has-scroll-right::after { opacity: 1; }

@media only screen and (max-width: 960px) {
  .hmm-scroll-button,
  .hmm-header-nav__menu-wrapper::before,
  .hmm-header-nav__menu-wrapper::after {
    display: none;
  }
}

.hmm-sub-navs {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  width: 100%;
  padding: 0;
  box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.hmm-sub-navs--visible {
  opacity: 1;
  transform: translateY(0);
}

.hmm-submenu__content {
  display: grid;
  gap: 24px;
  padding: 32px 80px;
}

.hmm-submenu__content--cols-1 { grid-template-columns: repeat(1, 1fr); }
.hmm-submenu__content--cols-2 { grid-template-columns: repeat(2, 1fr); }
.hmm-submenu__content--cols-3 { grid-template-columns: repeat(3, 1fr); }
.hmm-submenu__content--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hmm-submenu__content--cols-4 .hmm-sub-menu__link { min-width: 0; }
.hmm-submenu__content--cols-4 .hmm-sub-nav-title { max-width: none; }

.hmm-submenu__column-list {
  display: grid;
  gap: 4px;
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.hmm-submenu__column-list li::marker {
  content: none !important;
}

.hmm-submenu__link-content {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hmm-submenu__link-content .hgi-stroke {
  font-size: 24px;
  width: 24px;
  height: 24px;
  color: #000000;
  flex: 0 0 auto;
}

.hmm-sub-navs a {
  font-family: "IBMPlexSansArabic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #1f2a37 !important;
  text-decoration: none;
}

.hmm-sub-navs a:hover,
.hmm-sub-navs a:active {
  cursor: pointer;
  color: #1f2a37 !important;
  text-decoration: underline;
}

.hmm-sub-navs a:visited {
  color: #1f2a37 !important;
  text-decoration: none;
}

.hmm-sub-nav-title {
  display: grid;
  gap: 12px;
  max-width: 300px;
  align-self: start;
  font-family: "IBMPlexSansArabic", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #1b8354;
}

.hmm-sub-menu__link {
  padding: 8px 12px;
  border-radius: 10px;
  min-width: 320px;
  display: flex;
  gap: 16px;
  align-items: center;
  background-color: transparent;
  user-select: none;
  text-decoration: none !important;
}

.hmm-sub-menu__link:hover {
  background-color: #f3f4f6;
}

.hmm-sub-menu__link:hover span,
.hmm-sub-menu__link:focus span,
.hmm-sub-menu__link:active span {
  text-decoration: underline;
}

.hmm-sub-menu__link:active {
  background-color: #e5e7eb;
}

@media only screen and (max-width: 900px) {
  .hmm-sub-navs {
    display: none !important;
  }
}

@media only screen and (max-width: 1024px) {
  .hmm-submenu__content {
    padding: 32px 30px;
  }
}

@media only screen and (max-width: 580px) {
  .hmm-submenu__content {
    padding: 32px 16px;
  }
}

.hmm-mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100dvh - 72px);
  z-index: 9998;
  background: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.28s ease;
}

.hmm-mobile-nav--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 961px) {
  .hmm-mobile-nav {
    display: none !important;
  }
}

.hmm-mobile-nav__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.hmm-mobile-nav__body::-webkit-scrollbar { display: none; }

.hmm-mobile-nav__list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.hmm-mobile-nav__list li::marker { content: none; }

.hmm-mobile-nav__item + .hmm-mobile-nav__item {
  border-block-start: 1px solid #f9fafb;
}

.hmm-mobile-nav__link,
.hmm-mobile-nav__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  text-align: right;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.hmm-mobile-nav__link {
  justify-content: flex-start;
}

.hmm-mobile-nav__trigger {
  justify-content: space-between;
}

.hmm-mobile-nav__link:hover,
.hmm-mobile-nav__trigger:hover {
  background: #f9fafb;
  color: #1b8354;
}

.hmm-mobile-nav__link:focus-visible,
.hmm-mobile-nav__trigger:focus-visible {
  outline: 2px solid #1b8354;
  outline-offset: -2px;
  border-radius: 4px;
}

.hmm-mobile-nav__link--active { color: #1b8354; }
.hmm-mobile-nav__trigger--open { color: #1b8354; }

.hmm-mobile-nav__chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: #6b7280;
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.hmm-mobile-nav__trigger--open .hmm-mobile-nav__chevron {
  transform: rotate(180deg);
}

.hmm-mobile-nav__submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.hmm-mobile-nav__submenu--open {
  grid-template-rows: 1fr;
}

.hmm-mobile-nav__submenu-inner {
  overflow: hidden;
}

.hmm-mobile-nav__sublist {
  list-style: none;
  padding: 4px 0 12px;
  margin: 0;
  background: #fafafa;
}

.hmm-mobile-nav__sublist li::marker { content: none; }

.hmm-mobile-nav__group {
  padding: 14px 40px 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: #1b8354;
}

.hmm-mobile-nav__group:first-child {
  padding-top: 8px;
}

.hmm-mobile-nav__subitem {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  padding: 13px 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  text-align: right;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.hmm-mobile-nav__subitem--ext {
  font-size: 15px;
}

.hmm-mobile-nav__subitem:hover {
  color: #1b8354;
  background: #f3f4f6;
}

.hmm-mobile-nav__subitem:focus-visible {
  outline: 2px solid #1b8354;
  outline-offset: -2px;
  border-radius: 4px;
}

.hmm-mobile-nav__subitem--active {
  color: #1b8354;
  font-weight: 600;
}

.hmm-mobile-ext {
  font-size: 12px;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.hmm-mobile-nav__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-block-start: 1px solid #f3f4f6;
  flex-shrink: 0;
}

.hmm-mobile-nav__footer-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
}

.hmm-mobile-nav__footer-item:last-child {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.hmm-mobile-nav__footer-native-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 12px;
  color: #384250;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.hmm-mobile-nav__footer-native-btn .hgi-stroke {
  font-size: 24px;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.hmm-mobile-nav__footer-native-btn:hover {
  background: #f5f5f5;
  color: #1b8354;
}

.hmm-mobile-nav__footer-native-btn:focus-visible {
  outline: 2px solid #1b8354;
  outline-offset: 2px;
}

.hmm-mobile-nav__footer-native-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}

.hmm-mobile-nav__footer-dga-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  padding: 1px 16px;
  border: 0;
  outline: none;
  border-radius: 4px;
  background-color: transparent;
  color: #111927;
  font: 500 16px/24px "IBMPlexSansArabic", "IBM Plex Sans Arabic", sans-serif;
  mix-blend-mode: multiply;
  cursor: pointer;
  overflow: hidden;
  max-width: 100%;
}

.hmm-mobile-nav__footer-dga-btn .hgi-stroke {
  display: flex;
  width: 24px;
  height: 24px;
  font-size: 24px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hmm-mobile-nav__footer-dga-btn:hover {
  background: #f3f4f6;
}

.hmm-mobile-nav__footer-dga-btn:active {
  background: #e5e7eb;
  outline: none;
}

.hmm-mobile-nav__footer-dga-btn:visited {
  background: #e5e7eb;
}

/* ---------- الرسائل والنوافذ فوق الهيدر ---------- */
.top-alert      { z-index: 10050 !important; }
.swal-overlay   { z-index: 10060 !important; }
.modal-backdrop { z-index: 10040 !important; }
.modal          { z-index: 10045 !important; }

/* القوائم المنسدلة داخل الخدمات تطلع فوق المحتوى وتحت الهيدر */
.custom-dropdown .dropdown-menu { z-index: 1050; }

/* ---------- توافق الخدمات (منقول من الهيدرات السابقة) ---------- */
.hh  { display: none !important; }
.rtl { direction: rtl !important; }
.ltr { direction: ltr !important; }
.chkbx { appearance: auto; }

.text-successx { color: #074d31 !important; }
.text-warningx { color: #9c7a38 !important; }

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.random-code {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 15px 30px;
    margin: 20px 100px;
    background-color: #005914;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    letter-spacing: 2px;
}
@media (max-width: 580px) {
    .random-code { margin: 20px auto; }
}

.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
    0%   { opacity: 1; }
    50%  { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ---------- صندوق الإقرار ---------- */
.agreement-checkbox {
    margin: 20px 0;
    padding: 15px;
    border: 2px solid #dc3545;
    border-radius: 8px;
    background-color: #fff5f5;
}
.agreement-text {
    color: #dc3545;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.checkbox-wrapper { display: flex; align-items: flex-start; gap: 12px; }
.checkbox-wrapper input[type="checkbox"] { width: 20px; height: 20px; margin: 0; cursor: pointer; }
.checkbox-wrapper label { color: #dc3545; font-weight: bold; cursor: pointer; margin: 0; }

#div_btn { transition: opacity 0.3s ease; }
#agreement-checkbox:not(:checked) ~ #div_btn { opacity: 0.5; pointer-events: none; }
#agreement-checkbox:not(:checked) ~ #div_btn .btn {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed !important;
}
#agreement-checkbox:checked ~ #div_btn { opacity: 1; pointer-events: auto; }
#agreement-checkbox:checked ~ #div_btn .btn {
    background-color: #198754 !important;
    border-color: #198754 !important;
    cursor: pointer !important;
}

/* ---------- خدمة الاستبيانات (body class="hmm-svc-survey") ---------- */
body.hmm-svc-survey .random-code {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    padding: 0;
    margin: 40px auto;
    background-color: #1b8254;
    border-radius: 25px;
    font-size: 50px;
}
@keyframes hmm-pulse-scale {
    0%   { transform: scale(1);    opacity: 1;   }
    50%  { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1);    opacity: 1;   }
}
body.hmm-svc-survey .pulse { animation-name: hmm-pulse-scale; }
body.hmm-svc-survey .inputmask-placeholder { display: none !important; }