.auth-v2-overlay,
.auth-v2-overlay *,
.auth-v2-overlay *::before,
.auth-v2-overlay *::after {
  box-sizing: border-box;
}

.auth-v2-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 42px 16px;
  overflow-y: auto;
  background: rgba(20, 24, 28, .38);
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.auth-v2-overlay[hidden] {
  display: none;
}

.auth-v2-overlay [hidden] {
  display: none !important;
}

.auth-v2-dialog {
  position: relative;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

.auth-v2-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 6px;
  background: #fff;
}

.auth-v2-close {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  background: #fff;
  color: #555;
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
}

.auth-v2-close:hover,
.auth-v2-close:focus {
  border-color: #a94442;
  color: #a94442;
  outline: 0;
}

.auth-v2-header {
  padding: 24px 28px 31px;
  text-align: left;
}

.auth-v2-logo {
  display: block;
  width: 118px;
  height: auto;
  margin: 0 0 18px;
}

.auth-v2-header h2 {
  margin: 0;
  color: #333;
  font-family: "Roboto Condensed", Arial, "Trebuchet MS", sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}

.auth-v2-header p {
  margin: 7px 0 0;
  color: #727b82;
  font-size: 13px;
  line-height: 1.35;
}

.auth-v2-form {
  display: block;
  padding: 0 28px 24px;
}

.auth-v2-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-v2-error,
.auth-v2-info,
.auth-v2-captcha-error {
  width: 100%;
  margin: 0 0 12px;
  padding: 9px 11px;
  border: 1px solid #ebccd1;
  border-radius: 4px;
  background: #f2dede;
  color: #a94442;
  font-size: 13px;
  line-height: 1.35;
}

.auth-v2-info {
  border-color: #d6e9c6;
  background: #dff0d8;
  color: #3c763d;
  font-size: 16px;
}

.auth-v2-field {
  display: block;
  width: 100%;
  margin: 0 0 13px;
  color: #333;
  font-size: 13px;
  font-weight: 400;
}

.auth-v2-field > span:first-child {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: 800;
}

.auth-v2-field input {
  display: block;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #106548;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.42857143;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.auth-v2-field input::placeholder {
  color: #9aa5ad;
  font-size: 14px;
  font-weight: 400;
}

.auth-v2-field input:focus {
  border-color: #a94442;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 3px rgba(169, 68, 66, .12);
  outline: 0;
}

.auth-v2-password {
  position: relative;
  display: block;
  width: 100%;
}

.auth-v2-password input {
  padding-right: 64px;
}

.auth-v2-password button {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 52px;
  height: 30px;
  padding: 0;
  border: 0;
  border-left: 1px solid #e5e5e5;
  background: #fff;
  color: #727b82;
  font-size: 12px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
}

.auth-v2-password button:hover,
.auth-v2-password button:focus {
  color: #a94442;
  outline: 0;
}

.auth-v2-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 2px 0 14px;
  font-size: 13px;
}

.auth-v2-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin: 0;
  color: #555;
  font-weight: 400;
  line-height: 1.2;
}

.auth-v2-check input {
  margin: 0;
}

.auth-v2-link {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #337ab7;
  font-size: 13px;
  line-height: 1.2;
  text-align: right;
  cursor: pointer;
}

.auth-v2-link:hover,
.auth-v2-link:focus {
  color: #23527c;
  text-decoration: underline;
  outline: 0;
}

.auth-v2-captcha-wrap {
  width: 100%;
  min-height: 78px;
  margin: 0 0 14px;
  text-align: center;
}

.auth-v2-recaptcha {
  display: inline-block;
  width: 304px;
  min-height: 78px;
  max-width: 100%;
}

body.auth-v2-open iframe[src*="recaptcha"],
body.auth-v2-open iframe[src*="google.com/recaptcha"],
body.auth-v2-open > div[style*="z-index: 2000000000"],
body.auth-v2-open > div[style*="z-index:2000000000"],
body.auth-v2-open .grecaptcha-badge {
  z-index: 2147483647 !important;
}

.auth-v2-submit {
  display: block;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #106548;
  border-radius: 4px;
  background: #106548;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42857143;
  text-align: center;
  cursor: pointer;
}

.auth-v2-submit:hover,
.auth-v2-submit:focus {
  background: #0c563d;
  border-color: #0c563d;
  outline: 0;
}

.auth-v2-submit:disabled {
  cursor: default;
  opacity: .65;
}

.auth-v2-secondary {
  display: block;
  width: 100%;
  height: 40px;
  margin: 10px 0 0;
  padding: 8px 12px;
  border: 1px solid #337ab7;
  border-radius: 4px;
  background: #fff;
  color: #337ab7;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42857143;
  text-align: center;
  cursor: pointer;
}

.auth-v2-secondary:hover,
.auth-v2-secondary:focus {
  border-color: #23527c;
  color: #23527c;
  outline: 0;
}

.auth-v2-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 15px 28px 22px;
  border-top: 1px solid #eee;
  background: #fafafa;
  color: #727b82;
  font-size: 13px;
  line-height: 1.35;
}

.auth-v2-footer a {
  color: #337ab7;
  font-weight: 700;
  text-decoration: none;
}

.auth-v2-footer a:hover,
.auth-v2-footer a:focus {
  color: #23527c;
  text-decoration: underline;
}

@media (max-width: 520px) {
  .auth-v2-overlay {
    padding: 16px 10px;
  }

  .auth-v2-header,
  .auth-v2-form {
    padding-left: 18px;
    padding-right: 18px;
  }

  .auth-v2-footer {
    flex-direction: column;
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
  }

  .auth-v2-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .auth-v2-link {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .auth-v2-recaptcha {
    height: 69px;
    transform: scale(.88);
    transform-origin: top center;
  }
}
