.public-page.is-ar {
  direction: rtl;
  font-family: "Cairo", Arial, sans-serif;
}

.public-page:not(.is-ar) {
  font-family: "Libre Franklin", Arial, sans-serif;
}

.public-page .section.section-xl {
  position: relative;
}

.public-page .section.section-xl::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 67, 0.55);
}

.public-page .section.section-xl .container {
  position: relative;
  z-index: 1;
}

.public-page .section.section-xl h2,
.public-page .section.section-xl p {
  color: #fff;
}

.public-page .footer-powered {
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 13px;
  opacity: .85;
}

.public-page .footer-powered strong {
  font-weight: 700;
}

.public-page .public-iframe-wrapper {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 42, 67, 0.12);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 42, 67, 0.12);
}

.public-page .public-iframe-wrapper iframe {
  display: block;
  width: 100%;
  border: 0;
}

.public-page .form-iframe-wrapper iframe {
  min-height: 1200px;
}

.public-page .map-iframe-wrapper iframe {
  min-height: 520px;
}

@media (max-width: 767px) {
  .public-page .form-iframe-wrapper iframe {
    min-height: 1400px;
  }

  .public-page .map-iframe-wrapper iframe {
    min-height: 420px;
  }
}

/* Citizen account entry point in the public header. */
.public-page .rd-navbar-nav .public-login-item > .rd-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 16px;
  border: 1px solid rgba(44, 168, 223, .55);
  border-radius: 999px;
  color: #0f6fae;
  font-weight: 700;
}

.public-page .rd-navbar-nav .public-login-item > .rd-nav-link:hover {
  color: #fff;
  background: #0f6fae;
  border-color: #0f6fae;
}

.public-page .rd-navbar-nav .public-account-item {
  position: relative;
}

.public-page:not(.feedback-page) .rd-navbar-element {
  position: absolute;
  top: 50%;
  inset-inline-start: clamp(72px, 6vw, 92px);
  z-index: 12;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
}

.public-page .public-header-auth-button {
  display: inline-flex;
  min-height: 38px;
  padding: 7px 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
}

.public-page .public-header-auth-button:hover,
.public-page .public-header-auth-button:focus {
  border-color: #2ca8df;
  background: #2ca8df;
  color: #fff;
}

.public-page .public-account-menu {
  position: relative;
}

.public-page .public-account-menu > summary {
  display: inline-flex;
  min-height: 38px;
  max-width: 210px;
  padding: 7px 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(44, 168, 223, .55);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  line-height: 22px;
  list-style: none;
  cursor: pointer;
}

.public-page .public-header-account-menu > summary {
  background: rgba(255, 255, 255, .08);
}

.public-page .public-account-menu > summary::-webkit-details-marker {
  display: none;
}

.public-page .public-account-menu > summary span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-page .account-menu-arrow {
  margin-inline-start: 2px;
  font-size: 10px;
  transition: transform .2s ease;
}

.public-page .account-menu[open] .account-menu-arrow {
  transform: rotate(180deg);
}

.public-page .account-menu-popover {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 10020;
  display: grid;
  min-width: 190px;
  overflow: hidden;
  border: 1px solid rgba(15, 42, 67, .12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(7, 23, 36, .2);
}

.public-page .account-menu-popover a {
  padding: 11px 16px;
  color: #17324a !important;
  text-align: start;
  text-decoration: none;
  white-space: nowrap;
}

.public-page .account-menu-popover a:hover {
  background: #eaf5fb;
  color: #0f6fae !important;
}

.public-page .account-menu-popover .account-signout-link {
  border-top: 1px solid rgba(15, 42, 67, .1);
  color: #b42318 !important;
}

@media (max-width: 1199px) {
  .public-page .rd-navbar-nav .public-login-item > .rd-nav-link {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 10px 18px;
    border: 0;
    border-radius: 0;
  }

  .public-page .public-account-menu,
  .public-page .public-account-menu > summary {
    width: 100%;
    max-width: none;
  }

  .public-page .public-account-menu > summary {
    padding: 10px 18px;
    border: 0;
    border-radius: 0;
    color: inherit;
  }

  .public-page .account-menu-popover {
    position: static;
    margin: 0 18px 10px;
    border-radius: 10px;
    box-shadow: none;
  }

  .public-page .public-header-account-menu,
  .public-page .public-header-account-menu > summary {
    width: auto;
    max-width: min(220px, 45vw);
  }

  .public-page .public-header-account-menu > summary {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    color: #fff;
  }

  .public-page .public-header-account-menu .account-menu-popover {
    position: absolute;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(7, 23, 36, .2);
  }
}

@media (max-width: 520px) {
  .public-page:not(.feedback-page) .rd-navbar-element {
    inset-inline-start: 58px;
  }

  .public-page .public-header-auth-button {
    min-height: 34px;
    padding: 5px 11px;
    font-size: 12px;
  }

  .public-page .public-header-account-menu > summary {
    max-width: 145px;
    min-height: 34px;
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* Shared public-site shell (Azure work items 1839-1846, 1866). */
.public-page:not(.feedback-page) {
  padding-top: 76px !important;
}

.public-page:not(.feedback-page) .page-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10000;
  min-height: 76px;
  background: rgba(15, 42, 67, 0.97);
  box-shadow: 0 5px 20px rgba(7, 23, 36, 0.2);
}

.public-page:not(.feedback-page) .rd-navbar-wrap,
.public-page:not(.feedback-page) .rd-navbar,
.public-page:not(.feedback-page) .rd-navbar-panel {
  min-height: 76px;
  background: transparent !important;
}

.public-page:not(.feedback-page) .rd-navbar-panel {
  padding-top: 5px;
  padding-bottom: 5px;
  align-items: center;
}

.public-page:not(.feedback-page) .rd-navbar-brand img,
.public-page:not(.feedback-page) .rd-navbar--is-stuck .rd-navbar-brand img {
  width: 64px !important;
  max-width: 64px !important;
  height: 64px !important;
  max-height: 64px !important;
  object-fit: contain;
}

.public-page:not(.feedback-page) .rd-navbar-toggle,
.public-page:not(.feedback-page) .rd-navbar-toggle:focus,
.public-page:not(.feedback-page) .rd-navbar-toggle:hover {
  color: #fff !important;
}

.public-page:not(.feedback-page) .rd-navbar-toggle span,
.public-page:not(.feedback-page) .rd-navbar-toggle span::before,
.public-page:not(.feedback-page) .rd-navbar-toggle span::after {
  background-color: #fff !important;
}

.public-page:not(.feedback-page) .rd-navbar--is-clone {
  display: none !important;
}

.public-page:not(.feedback-page) .rd-navbar--is-stuck {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.comingsoon-social-footer {
  position: static !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: auto !important;
  display: flex !important;
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 16px 28px;
  gap: 10px !important;
  align-items: center;
  justify-content: center !important;
  flex-direction: row;
  flex-wrap: wrap !important;
  overflow: visible;
  background: #0f2a43;
  transform: none !important;
}

.comingsoon-social-footer a {
  display: inline-flex;
  width: 42px;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: #0f2a43;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(7, 23, 36, 0.22);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.comingsoon-social-footer a:hover,
.comingsoon-social-footer a:focus {
  transform: translateY(-2px);
  background: #1a6b3a;
  color: #fff;
  box-shadow: 0 11px 24px rgba(7, 23, 36, 0.28);
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.comingsoon-social-footer .social-link-pending {
  opacity: .72;
  cursor: not-allowed;
}

.public-page:not(.feedback-page) ~ .ui-to-top {
  right: 24px !important;
  bottom: 24px !important;
  left: auto !important;
  z-index: 1501;
}

.public-page:not(.feedback-page) .site-footer {
  padding: 42px 0 34px;
  background: #0f2a43;
  color: rgba(255, 255, 255, 0.88);
}

.public-page:not(.feedback-page) .site-footer-nav {
  display: flex;
  max-width: 1050px;
  margin: 0 auto 24px;
  gap: 10px 22px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.public-page:not(.feedback-page) .site-footer-nav a,
.public-page:not(.feedback-page) .site-footer .footer-powered a,
.public-page:not(.feedback-page) .site-footer .footer-email a {
  color: #fff;
  text-decoration: none;
}

.public-page:not(.feedback-page) .site-footer-nav a:hover,
.public-page:not(.feedback-page) .site-footer-nav a:focus,
.public-page:not(.feedback-page) .site-footer .footer-powered a:hover,
.public-page:not(.feedback-page) .site-footer .footer-powered a:focus,
.public-page:not(.feedback-page) .site-footer .footer-email a:hover,
.public-page:not(.feedback-page) .site-footer .footer-email a:focus {
  color: #8ee5c6;
  text-decoration: underline;
}

.public-page:not(.feedback-page) .site-footer .rights,
.public-page:not(.feedback-page) .site-footer .footer-email,
.public-page:not(.feedback-page) .site-footer .footer-powered {
  margin-bottom: 0;
}

.public-page:not(.feedback-page) .site-footer .footer-email,
.public-page:not(.feedback-page) .site-footer .footer-powered {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .public-page:not(.feedback-page) {
    padding-top: 64px !important;
  }

  .public-page:not(.feedback-page) .page-header,
  .public-page:not(.feedback-page) .rd-navbar-wrap,
  .public-page:not(.feedback-page) .rd-navbar,
  .public-page:not(.feedback-page) .rd-navbar-panel {
    min-height: 64px;
  }

  .public-page:not(.feedback-page) .rd-navbar-brand img,
  .public-page:not(.feedback-page) .rd-navbar--is-stuck .rd-navbar-brand img {
    width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    max-height: 52px !important;
  }

  .comingsoon-social-footer {
    padding: 0 16px 28px;
  }

  .comingsoon-social-footer::-webkit-scrollbar {
    display: none;
  }

  .comingsoon-social-footer a {
    width: 38px;
    min-width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .comingsoon-social-footer a:hover,
  .comingsoon-social-footer a:focus {
    transform: translateY(-2px);
  }

  .public-page:not(.feedback-page) ~ .ui-to-top {
    right: 12px !important;
    bottom: 12px !important;
  }

  .public-page:not(.feedback-page) .site-footer {
    padding: 34px 0 20px;
  }

  .public-page:not(.feedback-page) .site-footer-nav {
    gap: 9px 16px;
    font-size: 14px;
  }
}

.public-page:not(.feedback-page) .footer-email {
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 14px;
}

.public-page:not(.feedback-page) .footer-email a {
  color: inherit;
  text-decoration: underline;
}

.public-page.home-page .newsletter-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.public-page.home-page .newsletter-popup {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 42, 67, 0.2);
  position: relative;
  text-align: center;
}

.public-page.home-page .newsletter-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #0f2a43;
}

.public-page.home-page.is-ar .newsletter-popup-close {
  right: auto;
  left: 10px;
}

.public-page.home-page .newsletter-popup-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 575px) {
  .public-page.home-page .newsletter-popup {
    padding: 16px;
  }
}

/* Work item 1891: do not render empty or unavailable navigation controls. */
.public-page:not(.feedback-page) .rd-navbar-element:empty {
  display: none !important;
}

.comingsoon-social-footer .social-link-pending,
.comingsoon-social-footer a[aria-disabled="true"] {
  display: none !important;
}

