/*-------------------------------------------------
 My Account: tabbed Log In / Registration layout
--------------------------------------------------*/
.gb-auth {
  --gb-auth-radius: 10px;
  --gb-auth-height: 54px;
  --gb-auth-ink: #16181d;
  --gb-auth-muted: #6b7280;
  --gb-auth-line: #e4e6ea;
  --gb-auth-placeholder: #9aa0a8;
  --gb-auth-track: #edeef1;
  --gb-auth-icon: #b9bdc4;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  color: var(--gb-auth-ink);
  font-family: "Google Sans", sans-serif;
}
.gb-auth,
.gb-auth * {
  box-sizing: border-box;
}
body.woocommerce-account .woocommerce-notices-wrapper {
  max-width: 720px;
  margin: 0 auto;
}
.gb-auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: min(100%, 750px);
  margin: 0 auto 36px;
  padding: 8px;
  border-radius: 14px;
  background: var(--gb-auth-track);
}
.gb-auth--login-only .gb-auth__tabs {
  display: none;
}
.gb-auth__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  color: var(--gb-auth-muted);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.gb-auth__tab:hover,
.gb-auth__tab:focus {
  color: var(--gb-auth-ink);
}
.gb-auth__tab.is-active {
  background: #fff;
  color: var(--gb-auth-ink);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.07), 0 4px 12px rgba(16, 24, 40, 0.08);
}
.gb-auth__panel[hidden] {
  display: none;
}
.gb-auth__title {
  margin: 0 0 26px;
  color: var(--gb-auth-ink);
  font-family: "Google Sans", sans-serif;
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.gb-auth__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.gb-auth__field {
  position: relative;
  margin: 0;
  padding: 0;
}
.gb-auth__field--full {
  grid-column: 1 / -1;
}
.gb-auth .gb-auth__input {
  display: block;
  width: 100%;
  height: var(--gb-auth-height);
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--gb-auth-line);
  border-radius: var(--gb-auth-radius);
  background: #fff;
  box-shadow: none;
  color: var(--gb-auth-ink);
  font-family: "Google Sans", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gb-auth .gb-auth__input::placeholder {
  color: var(--gb-auth-placeholder);
  opacity: 1;
}
.gb-auth .gb-auth__input:hover {
  border-color: #cfd3d9;
}
.gb-auth .gb-auth__input:focus {
  border-color: #2f5d18;
  box-shadow: 0 0 0 3px rgba(47, 93, 24, 0.12);
  outline: none;
}
.gb-auth .gb-auth__input::-webkit-calendar-picker-indicator {
  opacity: 0;
}
.gb-auth__field--icons-1 .gb-auth__input {
  padding-right: 52px;
}
.gb-auth__field--icons-2 .gb-auth__input {
  padding-right: 82px;
}
.gb-auth__adornments {
  position: absolute;
  top: 0;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--gb-auth-height);
}
.gb-auth__hint {
  position: relative;
  display: flex;
}
.gb-auth .gb-auth__hint-toggle,
.gb-auth .gb-auth__reveal,
.gb-auth .gb-auth__calendar {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--gb-auth-icon);
  cursor: pointer;
  transition: color 0.2s ease;
}
.gb-auth .gb-auth__hint-toggle:hover,
.gb-auth .gb-auth__reveal:hover,
.gb-auth .gb-auth__calendar:hover {
  background: none;
  color: #7c828b;
  transform: none;
}
.gb-auth .gb-auth__hint-toggle {
  width: 22px;
  height: 16px;
  color: #8f959e;
}
.gb-auth .gb-auth__hint-toggle:hover {
  color: #5f6570;
}
.gb-auth .gb-auth__reveal,
.gb-auth .gb-auth__calendar {
  width: 22px;
  height: 22px;
}
.gb-auth__reveal .gb-auth__reveal-slash {
  opacity: 0;
  transition: opacity 0.15s ease;
}
.gb-auth__reveal.is-visible .gb-auth__reveal-slash {
  opacity: 1;
}
.gb-auth__hint-bubble {
  position: absolute;
  right: -8px;
  bottom: calc(100% + 14px);
  z-index: 6;
  width: max-content;
  max-width: 250px;
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--gb-auth-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.gb-auth__hint-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 14px;
  border: 6px solid transparent;
  border-top-color: var(--gb-auth-ink);
}
.gb-auth__hint:hover .gb-auth__hint-bubble,
.gb-auth__hint.is-open .gb-auth__hint-bubble,
.gb-auth__hint-toggle:focus-visible + .gb-auth__hint-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.gb-auth__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
}
.gb-auth__remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--gb-auth-muted);
  cursor: pointer;
}
.gb-auth__remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2f5d18;
}
.gb-auth__lost {
  color: #2f5d18;
  font-weight: 600;
  text-decoration: none;
}
.gb-auth__lost:hover {
  text-decoration: underline;
}
.gb-auth .gb-auth__submit,
body.gbps-storefront .gb-auth .gb-auth__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--gb-auth-height);
  margin-top: 24px;
  padding: 0 28px;
  border: 1px solid #2f5d18;
  border-radius: var(--gb-auth-radius);
  background: #2f5d18;
  color: #fff;
  float: none!important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.gb-auth .gb-auth__submit:hover,
body.gbps-storefront .gb-auth .gb-auth__submit:hover {
  border-color: #111;
  background: #111;
  color: #fff;
  transform: none;
}
.gb-auth .gb-auth__submit:disabled,
body.gbps-storefront .gb-auth .gb-auth__submit:disabled,
.gb-auth .gb-auth__submit.disabled,
body.gbps-storefront .gb-auth .gb-auth__submit.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.gb-auth .gbps-attestation {
  margin: 22px 0 0 !important;
  border-radius: var(--gb-auth-radius);
}
.gb-auth .woocommerce-password-strength {
  display: block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.gb-auth .woocommerce-password-strength.short,
.gb-auth .woocommerce-password-strength.bad {
  color: #b81c23;
}
.gb-auth .woocommerce-password-strength.good {
  color: #b8871c;
}
.gb-auth .woocommerce-password-strength.strong {
  color: #2f5d18;
}
.gb-auth .woocommerce-password-hint {
  display: block;
  margin-top: 4px;
  color: var(--gb-auth-muted);
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 620px) {
  .gb-auth__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .gb-auth__tabs {
    width: 100%;
  }
}
