@import url('/templates/Moplay/fonts/inter/inter.css');

:root {
  --body-font: "Inter", "Segoe UI", Arial, sans-serif;
  --site-header-height: 64px;
  --site-header-ink: #111827;
  --site-header-muted: #667085;
  --site-header-accent: #087db3;
  --site-header-accent-hover: #066a98;
  --site-header-soft: #eff8fc;
  --site-header-border: rgba(15, 23, 42, .09);
}

body {
  padding-top: var(--site-header-height);
}

body,
button,
input,
select,
textarea {
  font-family: var(--body-font);
}

.site-header,
.site-header * {
  box-sizing: border-box;
}

.site-header {
  position: fixed;
  z-index: 1100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--site-header-height);
  padding: 0 22px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 6px 20px rgba(15, 23, 42, .055);
}

.site-header__shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0;
}

.site-header__brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
  color: var(--site-header-ink);
  text-decoration: none !important;
}

.site-header__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -.35px;
  line-height: 1;
  white-space: nowrap;
  color: #fcab55;
}

.site-header__wordmark strong {
  color: inherit;
  font: inherit;
}

.site-header__controls,
.site-header__nav-list {
  display: flex;
  align-items: center;
}

.site-header__controls {
  position: relative;
  min-width: 0;
  gap: 8px;
}

.site-header__nav-list {
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 11px;
  color: #344054;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.site-header__link:hover,
.site-header__link[aria-current="page"] {
  color: var(--site-header-accent);
  background: var(--site-header-soft);
}

.site-header__language {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 62px;
  height: 40px;
  border: 1px solid #d7dee8;
  border-radius: 11px;
  background: #f8fafc;
  color: #344054;
}

.site-header__theme-toggle {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid #d7dee8;
  border-radius: 11px;
  background: #f8fafc;
  color: #344054;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.site-header__theme-toggle:hover {
  border-color: rgba(8, 125, 179, .3);
  background: var(--site-header-soft);
  color: var(--site-header-accent);
  transform: translateY(-1px);
}

.site-header__theme-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.site-header__theme-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: auto;
}

.site-header__theme-icon[hidden] {
  display: none !important;
}

.site-header__theme-icon svg {
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header__theme-icon[data-theme-icon="moon"] svg path {
  fill: currentColor;
  stroke: none;
}

.site-header__language select {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-align-last: center;
}

.site-header__language [hidden] {
  display: none !important;
}

.site-header__language-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: 750 14px/1.2 var(--body-font);
  cursor: pointer;
}

.site-header__language:hover,
.site-header__language.is-language-open {
  border-color: rgba(8, 125, 179, .25);
  background: #eaf3f8;
}

.site-header__language-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 12px);
  left: 0;
  width: 118px;
  max-height: min(416px, calc(100vh - var(--site-header-height) - 22px));
  max-height: min(416px, calc(100dvh - var(--site-header-height) - 22px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid #e1e8ee;
  border-radius: 19px;
  background: #fff;
  color: #263647;
  box-shadow: 0 12px 28px rgba(16, 35, 48, .17);
  scrollbar-width: thin;
  scrollbar-color: #bccbd5 transparent;
}

.site-header__language-option {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: inherit;
  font: 700 14px/1.4 var(--body-font);
  text-align: left;
  cursor: pointer;
}

.site-header__language-option:hover,
.site-header__language-option:focus-visible {
  outline: 0;
  background: #eaf4fa;
  color: #066a98;
}

html[data-theme="dark"] .site-header__language-menu {
  border-color: rgba(103, 189, 223, .12);
  background: #002331;
  color: #edf6fa;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .36);
  scrollbar-color: #345c6d transparent;
}

html[data-theme="dark"] .site-header__language-option:hover,
html[data-theme="dark"] .site-header__language-option:focus-visible {
  background: #123c4c;
  color: #fff;
}

html[data-theme="dark"] .site-header .site-header__language.is-language-open {
  background: #46565f;
}

.site-header__login,
.site-header__login > .site-header__account {
  flex: 0 0 auto;
}

.site-header__account {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 42px;
  margin: 0;
  padding: 0 15px;
  overflow: visible;
  border: 0;
  border-radius: 12px;
  background: var(--site-header-accent);
  box-shadow: 0 8px 18px rgba(8, 125, 179, .19);
  color: #fff !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1;
  text-decoration: none !important;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.site-header__account > span {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

.site-header__account::before,
.site-header__account::after {
  display: none !important;
  content: none !important;
}

.site-header__account:hover {
  background: var(--site-header-accent-hover);
  box-shadow: 0 10px 22px rgba(6, 106, 152, .23);
  color: #fff !important;
  transform: translateY(-1px);
}

.site-header__menu-toggle {
  position: relative;
  display: none;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--site-header-ink);
  cursor: pointer;
}

.site-header__menu-icon,
.site-header__menu-icon::before,
.site-header__menu-icon::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translateX(-50%);
  transition: transform .18s ease, top .18s ease, opacity .18s ease;
}

.site-header__menu-icon {
  top: 50%;
}

.site-header__menu-icon::before {
  top: -6px;
}

.site-header__menu-icon::after {
  top: 6px;
}

.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-icon {
  background: transparent;
}

.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-icon::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-icon::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

.site-header__brand:focus-visible,
.site-header__link:focus-visible,
.site-header__language:focus-within,
.site-header__theme-toggle:focus-visible,
.site-header__account:focus-visible,
.site-header__menu-toggle:focus-visible {
  outline: 3px solid rgba(8, 125, 179, .34) !important;
  outline-offset: 3px;
}

.site-header__visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

@media (max-width: 1099.98px) and (min-width: 992px) {
  .site-header__link {
    padding: 0 9px;
    font-size: 13px;
  }

}

@media (max-width: 991.98px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .site-header__nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    padding: 9px;
    border: 1px solid var(--site-header-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px) scale(.985);
    transform-origin: top right;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    visibility: hidden;
  }

  .site-header__nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .site-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }

  .site-header__link {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
  }

  .site-header__menu-toggle {
    display: inline-flex;
  }

  .site-header__theme-toggle {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --site-header-height: 60px;
  }

  .site-header {
    padding: 0 8px;
  }

  .site-header__shell {
    height: 100%;
    padding: 0;
  }

  .site-header__wordmark {
    gap: 3px;
    font-size: 21px;
  }

  .site-header__controls {
    gap: 5px;
  }

  .site-header__language {
    min-width: 50px;
    width: 50px;
    height: 40px;
  }

  .site-header__language i {
    display: none;
  }

  .site-header__language select {
    padding: 0 10px;
    font-size: 12px;
  }

  .site-header__account {
    min-width: 70px;
    width: auto;
    min-height: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  .site-header__menu-toggle {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .site-header__nav {
    top: calc(100% + 10px);
  }
}

@media (max-width: 359.98px) {
  .site-header__wordmark {
    font-size: 18px;
  }

  .site-header__account {
    min-width: 64px;
    padding: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
