﻿*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #3d4a40;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ax-body .ax-topbar-nav > li > a {
  white-space: nowrap;
}
.ax-body .ax-topbar-home-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.8;
}
@media (max-width: 520px) {
  .ax-body .ax-topbar {
    height: auto;
    min-height: 64px;
    padding: 0 8px;
    gap: 0;
  }
  .ax-body .ax-topbar-spacer {
    display: none;
  }
  .ax-body .ax-topbar-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }
  .ax-body .ax-topbar-nav > li > a {
    padding: 9px 4px;
    font-size: 11px;
  }
}

.md-login-shell {
  min-height: calc(100vh - 94px - var(--md-login-warning-height, 0px));
  min-height: calc(100dvh - 94px - var(--md-login-warning-height, 0px));
  display: grid;
  grid-template-columns: minmax(420px, 42vw) minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
}

.md-login-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 52px 50px 38px;
  color: #fff;
  background: radial-gradient(circle at 88% 88%, rgba(126, 184, 94, 0.3), transparent 26%), linear-gradient(155deg, #143d1d 0%, #245420 56%, #356d27 100%);
}

.md-login-logo {
  position: relative;
  z-index: 2;
  margin-bottom: 44px;
}
.md-login-logo img {
  height: 42px;
  width: auto;
  opacity: 0.96;
  filter: brightness(0) invert(1);
}

.md-login-visual-content {
  position: relative;
  z-index: 2;
  max-width: 430px;
}

.md-login-visual-title {
  font-size: 44px;
  line-height: 1.12;
  font-weight: 900;
  color: #fff;
  margin: 0 0 34px;
}
.md-login-visual-title span {
  color: #b7ee93;
}

.md-login-visual-desc {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 40px;
}

.md-login-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 10px;
  align-items: flex-start;
  max-width: 420px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.md-login-proof-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  backdrop-filter: blur(4px);
}
.md-login-proof-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: currentColor;
  clip-path: polygon(14% 55%, 30% 39%, 45% 54%, 75% 21%, 90% 35%, 45% 82%);
  opacity: 0.92;
}

.md-login-watermark {
  position: absolute;
  right: -10px;
  bottom: 10px;
  width: min(280px, 44vw);
  opacity: 0.22;
  filter: saturate(1.1);
  pointer-events: none;
}

.md-login-brand-watermark {
  right: 42px;
  bottom: 24px;
  width: min(210px, 28vw);
  opacity: 0.34;
  filter: saturate(1.12);
}

.md-login-copyright {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin: auto 0 0;
  padding-top: 24px;
  color: rgba(183, 238, 147, 0.86);
  font-size: 13px;
}

.md-login-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 78px 56px 56px;
  background: #fff;
}

.md-login-language {
  position: absolute;
  top: 32px;
  right: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 84px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #355f20;
  border-radius: 6px;
  color: #355f20;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  transition: background color border-color 0.18s ease;
}
.md-login-language:hover, .md-login-language:focus {
  color: #fff;
  background: #355f20;
  text-decoration: none;
  outline: none;
}

.md-login-form-wrap {
  width: 100%;
  max-width: 552px;
  margin: auto 0;
}

.md-login-panel-signin .md-login-form-wrap {
  max-width: 540px;
  transform: translateY(-28px);
}

.md-login-title {
  font-size: 28px;
  font-weight: 900;
  color: #07111f;
  line-height: 1.2;
  margin: 0 0 8px;
}

.md-login-subtitle {
  font-size: 15px;
  color: #526174;
  margin: 0 0 24px;
}

.md-login-field {
  margin-bottom: 18px;
}
.md-login-field label {
  font-size: 14px;
  font-weight: 800;
  color: #07111f;
  display: block;
  margin: 0;
}
.md-login-field input {
  width: 100%;
}

.md-login-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.md-login-label-row a {
  color: #355f20;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.md-login-label-row a:hover {
  color: #48772c;
  text-decoration: underline;
}

.md-login-shell input[type=email],
.md-login-shell input[type=password],
.md-login-shell input[type=text] {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 16px !important;
  border: 1px solid #d8e0dc !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #1f2937 !important;
  font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  transition: border-color box-shadow background 0.18s ease;
}
.md-login-shell input[type=email]::placeholder,
.md-login-shell input[type=password]::placeholder,
.md-login-shell input[type=text]::placeholder {
  color: #8a94a6;
  opacity: 1;
}
.md-login-shell input[type=email]:focus,
.md-login-shell input[type=password]:focus,
.md-login-shell input[type=text]:focus {
  border-color: #355f20 !important;
  box-shadow: 0 0 0 4px rgba(53, 95, 32, 0.16) !important;
}

.md-login-shell input.md-login-readonly {
  background: #f8fafc !important;
  color: #526174 !important;
}

.md-pw-wrapper {
  position: relative;
}
.md-pw-wrapper input {
  padding-right: 50px !important;
}

.md-pw-toggle {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #697386;
  box-shadow: none !important;
  cursor: pointer;
  transition: background color 0.18s ease;
}
.md-pw-toggle:hover, .md-pw-toggle:focus {
  color: #355f20 !important;
  background: rgba(72, 119, 44, 0.12) !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
  outline: none;
}

.md-login-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -2px 0 18px;
}
.md-login-remember label {
  margin: 0;
  color: #344054;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.md-login-remember input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin: 0;
  border: 1.5px solid #aeb9b2;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.md-login-remember input[type=checkbox]::before {
  content: "";
  width: 10px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.12s ease;
}
.md-login-remember input[type=checkbox]:checked {
  border-color: #48772c;
  background: #48772c;
}
.md-login-remember input[type=checkbox]:checked::before {
  transform: rotate(-45deg) scale(1);
}
.md-login-remember input[type=checkbox]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(72, 119, 44, 0.16);
}

.md-login-submit {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin: 0 0 20px !important;
  padding: 12px 22px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #355f20 !important;
  color: #fff !important;
  font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background transform box-shadow 0.18s ease;
}
.md-login-submit:hover, .md-login-submit:focus {
  background: #294b1a !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(47, 87, 43, 0.18) !important;
  transform: translateY(-1px);
  outline: none;
  text-decoration: none !important;
}

.md-login-register {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #526174;
  font-size: 13.5px;
  margin-top: 4px;
}
.md-login-register a {
  color: #355f20;
  font-weight: 900;
  text-decoration: none;
}
.md-login-register a:hover {
  color: #48772c;
  text-decoration: underline;
}

.md-privacy-note {
  margin: 14px 0 0;
  color: #526174;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.md-privacy-note a {
  color: #355f20;
  text-decoration: none;
}
.md-privacy-note a:hover {
  color: #48772c;
  text-decoration: underline;
}

.md-login-shell .alert-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 6px !important;
  padding: 13px 16px !important;
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 16px;
  position: relative;
}
.md-login-shell .alert-box.alert {
  background: rgba(217, 48, 37, 0.1) !important;
  border: 1px solid rgba(217, 48, 37, 0.25) !important;
  color: rgb(138.5724409449, 30.6519685039, 23.6275590551) !important;
}
.md-login-shell .alert-box.success {
  background: rgba(72, 119, 44, 0.12) !important;
  border: 1px solid rgba(72, 119, 44, 0.35) !important;
  color: #294b1a !important;
}
.md-login-shell .alert-box.info {
  background: rgba(26, 115, 232, 0.1) !important;
  border: 1px solid rgba(26, 115, 232, 0.25) !important;
  color: rgb(14.2380952381, 69.3333333333, 141.7619047619) !important;
}

.md-login-shell .validation-summary-errors ul {
  margin-bottom: 0;
}

.ax-verify-mfa-shell {
  margin: 0 !important;
  padding: 0 !important;
}
.ax-verify-mfa-shell .ax-body {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.ax-verify-mfa-shell #sidebar,
.ax-verify-mfa-shell #header-wrap,
.ax-verify-mfa-shell .ax-footer {
  display: none !important;
}
.ax-verify-mfa-shell #content-wrap,
.ax-verify-mfa-shell #content {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.md-mfa-shell {
  min-height: 100vh;
  min-height: 100dvh;
}

.md-mfa-panel {
  justify-content: center;
}

.md-mfa-form-wrap {
  max-width: 520px;
}

.md-mfa-kicker {
  margin: 0 0 8px;
  color: #355f20;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.md-mfa-card,
.md-mfa-empty-card {
  border: 1px solid #e0e7df;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.md-mfa-card {
  padding: 22px;
}

.md-mfa-card-compact {
  padding: 20px;
}

.md-mfa-page-subtitle {
  margin-bottom: 18px;
}

.md-mfa-section-label {
  margin-bottom: 8px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.md-mfa-empty-card {
  padding: 28px;
}

.md-mfa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(72, 119, 44, 0.12);
  color: #355f20;
}

.md-mfa-methods {
  display: grid;
  gap: 10px;
  padding: 0 0 14px;
}
.md-mfa-methods .otp-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #dce6d8;
  border-radius: 10px;
  background: #fbfdfb;
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.md-mfa-methods input[type=radio] {
  margin: 0;
  accent-color: #355f20;
}

.md-mfa-other-options {
  display: grid;
  gap: 10px;
}

.md-mfa-hidden {
  display: none !important;
}

.md-mfa-other-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #355f20;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.md-mfa-other-link:hover, .md-mfa-other-link:focus {
  color: #48772c;
  text-decoration: underline;
}

.md-mfa-secondary-action {
  width: fit-content;
  min-height: 40px;
  margin: 0 !important;
  padding: 9px 16px !important;
  border-radius: 8px !important;
}

.md-mfa-verification {
  padding-top: 4px;
}

.md-mfa-code-field {
  margin-bottom: 14px;
}

.md-mfa-recovery-card .md-mfa-code-field {
  margin-bottom: 18px;
}

.md-mfa-remember {
  display: grid;
  grid-template-columns: auto auto minmax(130px, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.md-mfa-remember input[type=checkbox] {
  margin: 0;
  accent-color: #355f20;
}
.md-mfa-remember label {
  margin: 0;
  color: #344054;
  font-size: 13.5px;
  font-weight: 700;
}
.md-mfa-remember select {
  min-height: 42px;
  margin: 0;
  border: 1px solid #d8e0dc;
  border-radius: 8px;
  color: #1f2937;
}

.md-mfa-actions {
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr;
  gap: 12px;
  align-items: stretch;
}

.md-mfa-cancel {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0 !important;
  border: 1px solid #d8e0dc !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #07111f !important;
  font-weight: 900 !important;
}

.md-mfa-submit {
  margin: 0 !important;
}

.md-mfa-help-link,
.md-mfa-support a {
  color: #355f20;
  font-weight: 900;
  text-decoration: none;
}
.md-mfa-help-link:hover, .md-mfa-help-link:focus,
.md-mfa-support a:hover,
.md-mfa-support a:focus {
  color: #48772c;
  text-decoration: underline;
}

.md-mfa-help-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
}

.md-mfa-support {
  margin: 14px 0 0;
  color: #667085;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1100px) {
  .md-login-shell {
    grid-template-columns: minmax(360px, 42vw) minmax(0, 1fr);
  }
  .md-login-visual {
    padding: 42px 36px 32px;
  }
  .md-login-visual-title {
    font-size: 38px;
  }
  .md-login-panel {
    padding: 78px 36px 42px;
  }
  .md-login-language {
    right: 36px;
  }
}
@media (max-width: 820px) {
  .md-login-shell {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 94px);
    min-height: calc(100dvh - 94px);
    overflow: visible;
  }
  .md-login-visual,
  .md-login-panel {
    height: auto;
    max-height: none;
    min-height: auto;
    overflow: visible;
  }
  .md-login-panel {
    position: relative;
    top: auto;
    align-self: stretch;
  }
  .md-login-panel-signin .md-login-form-wrap {
    transform: none;
  }
  .md-login-visual {
    padding: 30px 24px;
  }
  .md-login-logo {
    margin-bottom: 26px;
  }
  .md-login-visual-title {
    font-size: 34px;
    margin-bottom: 18px;
  }
  .md-login-visual-desc {
    margin-bottom: 22px;
  }
  .md-login-watermark,
  .md-login-copyright {
    display: none;
  }
  .md-login-panel {
    padding: 82px 24px 36px;
  }
  .md-login-language {
    top: 22px;
    right: 24px;
  }
}
@media (max-width: 520px) {
  .md-login-visual {
    padding: 24px 18px;
  }
  .md-login-logo img {
    height: 34px;
  }
  .md-login-visual-title {
    font-size: 30px;
  }
  .md-login-proof-list {
    flex-direction: column;
    gap: 10px;
  }
  .md-login-panel {
    padding: 76px 18px 28px;
  }
  .md-login-title {
    font-size: 25px;
  }
  .md-login-label-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .md-login-label-row a {
    max-width: 100%;
    white-space: normal;
    text-align: right;
  }
  .md-mfa-card,
  .md-mfa-empty-card {
    padding: 18px;
  }
  .md-mfa-actions,
  .md-mfa-remember {
    grid-template-columns: 1fr;
  }
}
