:root {
  --auth-green: #194b35;
  --auth-gold: #d4ae58;
  --auth-ink: #243d30;
  --auth-muted: #62705b;
  --auth-line: #e0e5dc;
}
.vc-auth-page {
  margin: 0;
  background: #f6f5f0 !important;
  color: var(--auth-ink);
  font:
    15px/1.6 "Segoe UI",
    Arial,
    sans-serif;
}
.vc-auth-page * {
  box-sizing: border-box;
}
.vc-auth-page a {
  color: var(--auth-green);
  text-decoration: none;
}
.vc-auth-page a:hover {
  text-decoration: underline;
}
.vc-auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px max(24px, calc((100% - 1200px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--auth-line);
}
.vc-auth-header > a:last-child {
  font-size: 13px;
  font-weight: 600;
}
.vc-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 70px;
  max-width: 1150px;
  padding: 48px 24px 70px;
  margin: auto;
  align-items: start;
}
.vc-eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.8px;
  color: #62705b;
  margin: 0 0 14px;
}
.vc-auth-story {
  padding: 30px 0;
}
.vc-auth-story h1 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.6px;
  font-weight: 750;
  margin: 0 0 24px;
}
.vc-auth-story > p:not(.vc-eyebrow) {
  max-width: 420px;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.8;
}
.vc-auth-benefit {
  display: flex;
  gap: 18px;
  margin: 24px 0;
}
.vc-auth-benefit > span {
  display: grid;
  place-items: center;
  align-self: start;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid #dfd6b9;
  border-radius: 50%;
  font-size: 12px;
  color: #756035;
  background: #f5efdf;
}
.vc-auth-benefit strong {
  font-size: 15px;
}
.vc-auth-benefit p {
  margin: 3px 0;
  color: var(--auth-muted);
  font-size: 13px;
}
.vc-auth-story > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  font-weight: 650;
}
.vc-auth-card {
  background: #fff;
  border: 1px solid var(--auth-line);
  border-radius: 18px;
  box-shadow: 0 12px 40px #153b2606;
  padding: 32px;
  min-width: 0;
}
.vc-auth-card h2 {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.7px;
}
.vc-auth-muted {
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.65;
}
.vc-auth-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  margin: 18px 0 0;
}
.vc-auth-card input,
.vc-password input {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cbd5ca;
  border-radius: 8px;
  font: inherit;
  color: var(--auth-ink);
  background: #fff;
}
.vc-password {
  display: flex;
  position: relative;
  width: 100%;
}
.vc-password input {
  padding-right: 64px !important;
}
.vc-password button {
  position: absolute;
  right: 3px;
  top: 3px;
  bottom: 3px;
  border: 0;
  background: transparent;
  color: var(--auth-green);
  font:
    600 12px "Segoe UI",
    sans-serif;
  min-width: 52px;
  padding: 6px;
  cursor: pointer;
}
.vc-auth-card .vc-check,
.vc-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  margin: 18px 0 0;
}
.vc-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--auth-green);
  flex: none;
  margin: 0;
}
.vc-auth-submit {
  display: block;
  text-align: center;
  border: 0;
  border-radius: 8px;
  width: 100%;
  padding: 13px 16px;
  background: var(--auth-green);
  color: #fff !important;
  font:
    650 15px/1.5 "Segoe UI",
    sans-serif;
  cursor: pointer;
  margin: 20px 0 0;
}
.vc-auth-submit:hover {
  background: #276346;
  text-decoration: none !important;
}
.vc-auth-secondary {
  display: block;
  min-height: 44px;
  text-align: center;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  width: 100%;
  padding: 11px;
  background: #f9faf7;
  color: var(--auth-green);
  font:
    600 13px/1.5 "Segoe UI",
    sans-serif;
  cursor: pointer;
  margin: 12px 0;
}
.vc-auth-foot {
  margin: 22px 0 0;
  font-size: 13px;
  text-align: center;
}
.vc-auth-foot a {
  font-weight: 700;
}
.vc-auth-privacy {
  font-size: 12px;
  color: #62705b;
  border-top: 1px solid var(--auth-line);
  padding-top: 18px;
  margin: 24px 0 0;
  text-align: center;
}
.vc-social-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 8px;
}
.vc-social-buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #ced6cc;
  border-radius: 7px;
  background: #fff;
  color: #2e3c31;
  padding: 10px 6px;
  min-height: 44px;
  font:
    600 12px "Segoe UI",
    sans-serif;
  cursor: pointer;
}
.vc-social-buttons svg {
  width: 19px;
  height: 19px;
  flex: none;
}
.vc-social-buttons button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: #f6f7f4;
}
.vc-social-status {
  font-size: 12px;
  line-height: 1.6;
  color: #62705b;
  margin: 8px 0;
}
.vc-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--auth-muted);
  margin: 20px 0;
}
.vc-auth-divider:before,
.vc-auth-divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--auth-line);
}
#auth-status {
  background: #fff3e2;
  border: 1px solid #ebd7ba;
  color: #7c4921;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
}
#auth-status.success {
  background: #eff7ef;
  color: #295b36;
  border-color: #cfe1cd;
}
#account-connections {
  margin-top: 24px;
  border-top: 1px solid var(--auth-line);
  padding-top: 10px;
}
.vc-auth-page [hidden],
.vc-registration-page [hidden] {
  display: none !important;
}
.vc-auth-page :focus-visible,
.vc-registration-page :focus-visible {
  outline: 3px solid #927021;
  outline-offset: 3px;
}
.vc-auth-page button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.vc-registration-page {
  background: #f6f5f0 !important;
}
.vc-registration-page main {
  max-width: 960px;
}
.vc-registration-page header {
  background: #fff;
  padding: 20px max(24px, calc((100% - 1150px) / 2));
}
.vc-registration-page section {
  background: #fff;
  border-color: var(--auth-line);
  border-radius: 14px;
}
.vc-registration-page .step {
  font-size: 15px;
  border: 1px solid #dfd6b9;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #756035;
  background: #f5efdf;
}
.vc-registration-page .registration-offer {
  background: #eef4ea;
  border: 1px solid #8ba57a;
  padding: 14px 18px;
  font-size: 13px;
  border-radius: 8px;
}
.vc-registration-page .vc-social-buttons {
  max-width: 430px;
}
.vc-registration-page .vc-password button {
  background: transparent;
  padding: 6px;
}
.vc-registration-page .vc-check {
  margin-top: 24px;
}
.vc-registration-page .vc-check input {
  width: 18px;
}
.vc-registration-page #registration-social {
  margin: 20px 0;
}
.vc-registration-page input {
  min-width: 0;
}
.vc-registration-page .grid > label {
  min-width: 0;
}
@media (max-width: 800px) {
  .vc-auth-layout {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 520px;
    padding: 24px 16px 48px;
  }
  .vc-auth-story {
    display: none;
  }
  .vc-auth-card {
    padding: 26px;
  }
  .vc-auth-header {
    padding: 18px 20px;
  }
  .vc-auth-header .vc-brand-logo {
    width: 210px;
  }
  .vc-auth-header > a:last-child {
    font-size: 12px;
    white-space: nowrap;
  }
  .vc-registration-page header {
    padding: 18px;
    flex-wrap: wrap;
  }
  .vc-registration-page header .vc-brand-logo {
    width: 220px;
  }
}
@media (max-width: 400px) {
  .vc-auth-header {
    padding: 16px;
    gap: 10px;
  }
  .vc-auth-header .vc-brand-logo {
    width: 185px;
  }
  .vc-auth-card {
    padding: 22px 18px;
  }
  .vc-auth-card h2 {
    font-size: 26px;
  }
  .vc-social-buttons {
    gap: 6px;
  }
  .vc-social-buttons button {
    font-size: 11px;
  }
}

/* Shared authentication helpers remain legible and usable by touch. */
.vc-password input {
  min-height: 52px;
}
.vc-password button {
  min-height: 44px;
}
.vc-check {
  min-height: 44px;
}
#login-form a[href="/store/forgot-password"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.vc-registration-page :is(.intro, .muted) {
  color: #62705b;
}
