body#client header.blue-header.header-reboot.header-reboot--guest,
body#company header.blue-header.header-reboot.header-reboot--guest,
body#admin header.blue-header.header-reboot.header-reboot--guest {
  z-index: 20;
}

body#client header.blue-header.header-reboot.header-reboot--guest > .container,
body#company header.blue-header.header-reboot.header-reboot--guest > .container,
body#admin header.blue-header.header-reboot.header-reboot--guest > .container {
  width: 100% !important;
  max-width: 1170px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

body#client .guest-header-shell,
body#company .guest-header-shell,
body#admin .guest-header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  min-height: 92px;
}

body#company .guest-header-shell--solo {
  justify-content: flex-start;
}

body#client .guest-header-brand,
body#company .guest-header-brand,
body#admin .guest-header-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

body#client .guest-header-brand img.hidden-xs,
body#company .guest-header-brand img.hidden-xs,
body#admin .guest-header-brand img.hidden-xs {
  height: 82px;
  width: auto;
  max-width: 100%;
}

body#client .guest-header-brand img.hidden-lg,
body#client .guest-header-brand img.hidden-md,
body#client .guest-header-brand img.hidden-sm,
body#company .guest-header-brand img.hidden-lg,
body#company .guest-header-brand img.hidden-md,
body#company .guest-header-brand img.hidden-sm,
body#admin .guest-header-brand img.hidden-lg,
body#admin .guest-header-brand img.hidden-md,
body#admin .guest-header-brand img.hidden-sm {
  height: 46px;
  width: auto;
}

body#client .guest-header-actions,
body#company .guest-header-actions,
body#admin .guest-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

body#client .guest-header-account-links,
body#company .guest-header-account-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-width: 0;
}

body#client .guest-header-button,
body#company .guest-header-button,
body#client .guest-header-phone,
body#company .guest-header-phone,
body#client .guest-header-language > a,
body#company .guest-header-language > a,
body#admin .guest-header-language > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 60px;
  margin: 0;
  padding: 0 18px;
  box-sizing: border-box;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 46, 91, 0.56);
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body#client .guest-header-button:hover,
body#company .guest-header-button:hover,
body#client .guest-header-phone:hover,
body#company .guest-header-phone:hover,
body#client .guest-header-language > a:hover,
body#company .guest-header-language > a:hover,
body#admin .guest-header-language > a:hover {
  background: rgba(0, 46, 91, 0.72);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

body#client .guest-header-button--login,
body#company .guest-header-button--login {
  min-width: 138px;
}

body#client .guest-header-button--register,
body#company .guest-header-button--register {
  min-width: 162px;
  background: #ffb600;
  border-color: #ffb600;
  color: #002e5b !important;
  font-weight: 700;
}

body#client .guest-header-button--register:hover,
body#company .guest-header-button--register:hover {
  background: #f2ae00;
  color: #002e5b !important;
}

body#client .guest-header-phone,
body#company .guest-header-phone {
  min-width: 160px;
}

body#client .guest-header-language,
body#company .guest-header-language,
body#admin .guest-header-language {
  position: relative;
  flex: 0 0 auto;
}

body#client .guest-header-language > a,
body#company .guest-header-language > a,
body#admin .guest-header-language > a {
  width: 60px;
  padding: 0;
}

body#client .guest-header-language ul.language_selection,
body#company .guest-header-language ul.language_selection,
body#admin .guest-header-language ul.language_selection {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px;
  min-width: 58px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  box-shadow: 0 18px 32px rgba(6, 26, 54, 0.2);
  z-index: 30;
}

body#client .guest-header-language.is-open ul.language_selection,
body#company .guest-header-language.is-open ul.language_selection,
body#admin .guest-header-language.is-open ul.language_selection {
  display: block;
}

body#client .guest-header-language ul.language_selection li + li,
body#company .guest-header-language ul.language_selection li + li,
body#admin .guest-header-language ul.language_selection li + li {
  margin-top: 6px;
}

body#client .guest-header-language ul.language_selection a,
body#company .guest-header-language ul.language_selection a,
body#admin .guest-header-language ul.language_selection a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

body#client .guest-header-language .flag,
body#company .guest-header-language .flag,
body#admin .guest-header-language .flag {
  width: 22px;
  height: auto;
}

@media screen and (max-width: 1199px) {
  body#client .guest-header-phone,
  body#company .guest-header-phone {
    display: none;
  }

  body#client .guest-header-brand img.hidden-xs,
  body#company .guest-header-brand img.hidden-xs,
  body#admin .guest-header-brand img.hidden-xs {
    height: 72px;
  }
}

@media screen and (max-width: 767px) {
  body#client header.blue-header.header-reboot.header-reboot--guest > .container,
  body#company header.blue-header.header-reboot.header-reboot--guest > .container,
  body#admin header.blue-header.header-reboot.header-reboot--guest > .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body#client .guest-header-shell,
  body#company .guest-header-shell,
  body#admin .guest-header-shell {
    gap: 10px;
    padding: 12px 0;
    min-height: auto;
  }

  body#client .guest-header-brand img.hidden-lg,
  body#client .guest-header-brand img.hidden-md,
  body#client .guest-header-brand img.hidden-sm,
  body#company .guest-header-brand img.hidden-lg,
  body#company .guest-header-brand img.hidden-md,
  body#company .guest-header-brand img.hidden-sm,
  body#admin .guest-header-brand img.hidden-lg,
  body#admin .guest-header-brand img.hidden-md,
  body#admin .guest-header-brand img.hidden-sm {
    height: 44px;
  }

  body#client .guest-header-actions,
  body#company .guest-header-actions,
  body#admin .guest-header-actions,
  body#client .guest-header-account-links,
  body#company .guest-header-account-links {
    gap: 8px;
  }

  body#client .guest-header-button,
  body#company .guest-header-button,
  body#client .guest-header-language > a,
  body#company .guest-header-language > a,
  body#admin .guest-header-language > a {
    height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 13px;
  }

  body#client .guest-header-button--login,
  body#company .guest-header-button--login,
  body#client .guest-header-button--register,
  body#company .guest-header-button--register {
    min-width: 0;
  }

  body#client .guest-header-language > a,
  body#company .guest-header-language > a,
  body#admin .guest-header-language > a {
    width: 46px;
    padding: 0;
  }
}

@media screen and (max-width: 420px) {
  body#client header.blue-header.header-reboot.header-reboot--guest > .container,
  body#company header.blue-header.header-reboot.header-reboot--guest > .container,
  body#admin header.blue-header.header-reboot.header-reboot--guest > .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body#client .guest-header-shell,
  body#company .guest-header-shell,
  body#admin .guest-header-shell {
    gap: 8px;
  }

  body#client .guest-header-actions,
  body#company .guest-header-actions,
  body#admin .guest-header-actions,
  body#client .guest-header-account-links,
  body#company .guest-header-account-links {
    gap: 6px;
  }

  body#client .guest-header-button,
  body#company .guest-header-button,
  body#client .guest-header-language > a,
  body#company .guest-header-language > a,
  body#admin .guest-header-language > a {
    height: 44px;
    border-radius: 13px;
  }

  body#client .guest-header-button,
  body#company .guest-header-button {
    padding: 0 12px;
    font-size: 12px;
  }

  body#client .guest-header-language > a,
  body#company .guest-header-language > a,
  body#admin .guest-header-language > a {
    width: 44px;
    padding: 0;
  }

  body#client .guest-header-brand img.hidden-lg,
  body#client .guest-header-brand img.hidden-md,
  body#client .guest-header-brand img.hidden-sm,
  body#company .guest-header-brand img.hidden-lg,
  body#company .guest-header-brand img.hidden-md,
  body#company .guest-header-brand img.hidden-sm,
  body#admin .guest-header-brand img.hidden-lg,
  body#admin .guest-header-brand img.hidden-md,
  body#admin .guest-header-brand img.hidden-sm {
    height: 42px;
  }
}

@media screen and (max-width: 360px) {
  body#client header.blue-header.header-reboot.header-reboot--guest > .container,
  body#company header.blue-header.header-reboot.header-reboot--guest > .container,
  body#admin header.blue-header.header-reboot.header-reboot--guest > .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body#client .guest-header-shell,
  body#company .guest-header-shell,
  body#admin .guest-header-shell {
    gap: 6px;
  }

  body#client .guest-header-actions,
  body#company .guest-header-actions,
  body#admin .guest-header-actions,
  body#client .guest-header-account-links,
  body#company .guest-header-account-links {
    gap: 4px;
  }

  body#client .guest-header-button,
  body#company .guest-header-button {
    height: 42px;
    padding: 0 10px;
    font-size: 11px;
    border-radius: 12px;
  }

  body#client .guest-header-language > a,
  body#company .guest-header-language > a,
  body#admin .guest-header-language > a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  body#client .guest-header-brand img.hidden-lg,
  body#client .guest-header-brand img.hidden-md,
  body#client .guest-header-brand img.hidden-sm,
  body#company .guest-header-brand img.hidden-lg,
  body#company .guest-header-brand img.hidden-md,
  body#company .guest-header-brand img.hidden-sm,
  body#admin .guest-header-brand img.hidden-lg,
  body#admin .guest-header-brand img.hidden-md,
  body#admin .guest-header-brand img.hidden-sm {
    height: 40px;
  }
}

@media screen and (max-width: 330px) {
  body#client header.blue-header.header-reboot.header-reboot--guest > .container,
  body#company header.blue-header.header-reboot.header-reboot--guest > .container,
  body#admin header.blue-header.header-reboot.header-reboot--guest > .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body#client .guest-header-button,
  body#company .guest-header-button {
    padding: 0 8px;
    font-size: 10.5px;
  }

  body#client .guest-header-language > a,
  body#company .guest-header-language > a,
  body#admin .guest-header-language > a {
    width: 40px;
    height: 40px;
  }
}

body#client .account-gate-modal-dialog,
body#company .account-gate-modal-dialog,
body#admin .account-gate-modal-dialog {
  width: min(760px, calc(100vw - 32px));
  margin: 8vh auto;
}

body#client .account-gate-modal .modal-content,
body#company .account-gate-modal .modal-content,
body#admin .account-gate-modal .modal-content {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: 0 34px 80px rgba(0, 24, 49, 0.28);
}

body#client .account-gate-modal-body,
body#company .account-gate-modal-body,
body#admin .account-gate-modal-body {
  padding: 30px 30px 32px;
  position: relative;
}

body#client .account-gate-modal-title,
body#company .account-gate-modal-title,
body#admin .account-gate-modal-title {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  color: #10263d;
  font-family: "Noto Sans", sans-serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body#client .account-gate-modal-title::after,
body#company .account-gate-modal-title::after,
body#admin .account-gate-modal-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: #ffb600;
}

body#client .account-gate-modal-close,
body#company .account-gate-modal-close,
body#admin .account-gate-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #eef3f8;
  color: #5d7088;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body#client .account-gate-modal-close:hover,
body#company .account-gate-modal-close:hover,
body#admin .account-gate-modal-close:hover {
  background: #e4ebf3;
  color: #10263d;
  transform: translateY(-1px);
}

body#client .account-gate-modal-choices,
body#company .account-gate-modal-choices,
body#admin .account-gate-modal-choices {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

body#client .account-gate-modal-col,
body#company .account-gate-modal-col,
body#admin .account-gate-modal-col {
  min-width: 0;
}

body#client .account-gate-modal-choice,
body#company .account-gate-modal-choice,
body#admin .account-gate-modal-choice {
  position: relative;
  min-height: 248px;
  padding: 30px 24px 28px;
  border-radius: 24px;
  border: 1px solid rgba(12, 35, 58, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: 0 18px 40px rgba(15, 42, 71, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #24364c;
  opacity: 1;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body#client .login-choice-client.account-gate-modal-choice,
body#company .login-choice-client.account-gate-modal-choice,
body#admin .login-choice-client.account-gate-modal-choice {
  background: linear-gradient(180deg, rgba(255, 182, 0, 0.16) 0%, #ffffff 28%, #f8fafc 100%);
}

body#client .login-choice-company.account-gate-modal-choice,
body#company .login-choice-company.account-gate-modal-choice,
body#admin .login-choice-company.account-gate-modal-choice {
  background: linear-gradient(180deg, rgba(0, 46, 91, 0.12) 0%, #ffffff 28%, #f8fafc 100%);
}

body#client .account-gate-modal-choice:hover,
body#company .account-gate-modal-choice:hover,
body#admin .account-gate-modal-choice:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(15, 42, 71, 0.18);
  opacity: 1;
}

body#client .login-choice-client.account-gate-modal-choice:hover,
body#company .login-choice-client.account-gate-modal-choice:hover,
body#admin .login-choice-client.account-gate-modal-choice:hover {
  border-color: rgba(255, 182, 0, 0.46);
}

body#client .login-choice-company.account-gate-modal-choice:hover,
body#company .login-choice-company.account-gate-modal-choice:hover,
body#admin .login-choice-company.account-gate-modal-choice:hover {
  border-color: rgba(0, 46, 91, 0.24);
}

body#client .account-gate-modal-choice img,
body#company .account-gate-modal-choice img,
body#admin .account-gate-modal-choice img {
  width: 124px;
  height: 124px;
  object-fit: contain;
  display: block;
}

body#client .account-gate-modal-choice .caption,
body#company .account-gate-modal-choice .caption,
body#admin .account-gate-modal-choice .caption {
  display: block;
  margin-top: 0;
  color: #55677d;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
}

body#client .account-gate-modal-choice .caption strong,
body#company .account-gate-modal-choice .caption strong,
body#admin .account-gate-modal-choice .caption strong {
  display: block;
  margin-top: 4px;
  color: #10263d;
  font-size: 24px;
  line-height: 1.2;
}

body#client .account-gate-modal-choice .caption br,
body#company .account-gate-modal-choice .caption br,
body#admin .account-gate-modal-choice .caption br {
  display: none;
}

@media screen and (max-width: 767px) {
  body#client .account-gate-modal-dialog,
  body#company .account-gate-modal-dialog,
  body#admin .account-gate-modal-dialog {
    width: calc(100vw - 32px);
    margin: 7vh auto 0;
  }

  body#client .account-gate-modal-body,
  body#company .account-gate-modal-body,
  body#admin .account-gate-modal-body {
    padding: 18px 14px 16px;
  }

  body#client .account-gate-modal-title,
  body#company .account-gate-modal-title,
  body#admin .account-gate-modal-title {
    max-width: 250px;
    font-size: 18px;
    line-height: 1.22;
  }

  body#client .account-gate-modal-title::after,
  body#company .account-gate-modal-title::after,
  body#admin .account-gate-modal-title::after {
    width: 56px;
    margin-top: 14px;
  }

  body#client .account-gate-modal-close,
  body#company .account-gate-modal-close,
  body#admin .account-gate-modal-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 22px;
  }

  body#client .account-gate-modal-choices,
  body#company .account-gate-modal-choices,
  body#admin .account-gate-modal-choices {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body#client .account-gate-modal-choice,
  body#company .account-gate-modal-choice,
  body#admin .account-gate-modal-choice {
    min-height: 0;
    padding: 16px 14px 14px;
    border-radius: 18px;
    gap: 10px;
  }

  body#client .account-gate-modal-choice img,
  body#company .account-gate-modal-choice img,
  body#admin .account-gate-modal-choice img {
    width: 68px;
    height: 68px;
  }

  body#client .account-gate-modal-choice .caption,
  body#company .account-gate-modal-choice .caption,
  body#admin .account-gate-modal-choice .caption {
    font-size: 14px;
    line-height: 1.4;
  }

  body#client .account-gate-modal-choice .caption strong,
  body#company .account-gate-modal-choice .caption strong,
  body#admin .account-gate-modal-choice .caption strong {
    font-size: 17px;
    margin-top: 2px;
  }
}
