/* Styles for woodmart-child/woocommerce/myaccount/form-login.php */
.woocommerce-account .altmer-auth {
  --altmer-green: #07452e;
  --altmer-ink: #10214e;
  --altmer-muted: #60706d;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-height: 650px;
  overflow: hidden;
  border-radius: 20px;
  background: #f4f7f5;
  box-shadow: 0 12px 28px rgba(19, 53, 39, .07);
  color: #172725;
}

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

.altmer-auth__brand {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 42px);
  background: radial-gradient(circle at 84% 12%, rgba(151, 135, 47, .8), transparent 27%), linear-gradient(154deg, #063d2b 9%, #06452f 61%, #286b4a 100%);
  color: #fff;
}

.altmer-auth__brand-name { font-size: 1.35em; font-weight: 700; line-height: 1.2; }
.altmer-auth__brand-name span { color: #ff8a00; }
.altmer-auth__brand h1 { margin: 80px 0 0; color: #fff; line-height: 1.25; }
.altmer-auth__brand p { max-width: 480px; margin: auto 0 0; color: #c2d6ce; line-height: 1.5; }

.altmer-auth__content { min-width: 0; padding: clamp(28px, 3vw, 42px); }
.altmer-auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 460px; margin: 0 auto 30px; }
.altmer-auth__tab { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 8px; color: #5b6a66; font-size: inherit; font-weight: 600; text-decoration: none; }
.altmer-auth__tab:hover, .altmer-auth__tab:focus { color: var(--altmer-green); }
.altmer-auth__tab.is-active { background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.08); color: var(--altmer-green); }
.altmer-auth__inner { max-width: 460px; margin: 0 auto; }
.altmer-auth__inner h2 { margin: 0 0 6px; color: var(--altmer-green); line-height: 1.2; }
.altmer-auth__intro { margin: 0 0 20px; line-height: 1.45; }
.altmer-auth__info { margin: -6px 0 20px; padding: 12px 16px 12px 40px; border-radius: 9px; background: #e4f4eb; color: #1d5942; line-height: 1.45; position: relative; }
.altmer-auth__info::before { content: '✧'; position: absolute; left: 14px; top: 9px; font-size: 20px; }

.altmer-auth .altmer-auth__form { border: 0; padding: 0; margin: 0; background: none; box-shadow: none; }
.altmer-auth .woocommerce-form-row, .altmer-auth .form-row { float: none; display: block; width: 100%; margin: 0 0 14px; padding: 0; }
.altmer-auth .woocommerce-form-row label, .altmer-auth .form-row label, .altmer-auth__remember { display: block; margin: 0 0 6px; color: #5c6d69; font-size: inherit; font-weight: 600; line-height: 1.35; }
.altmer-auth input[type="email"], .altmer-auth input[type="password"], .altmer-auth input[type="text"], .altmer-auth input[type="tel"], .altmer-auth select {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d7e3dc;
  border-radius: 7px;
  outline: none;
  background: #fff;
  color: #172725;
  font-size: inherit;
  box-shadow: none;
}
.altmer-auth input:focus, .altmer-auth select:focus { border-color: #0d6744; box-shadow: 0 0 0 3px rgba(13, 103, 68, .14); }
.altmer-auth input::placeholder { color: #84908e; opacity: 1; }
.altmer-auth__options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 20px; }
.altmer-auth__options .altmer-auth__remember { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; }
.altmer-auth__remember input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--altmer-green); }
.altmer-auth__options a { color: var(--altmer-ink); font-size: inherit; font-weight: 600; text-decoration: none; }
.altmer-auth__options a:hover, .altmer-auth__switch a:hover { text-decoration: underline; }
.altmer-auth .altmer-auth__button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin: 0; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px; box-shadow: none; font-size: inherit; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; text-transform: none; cursor: pointer; }
.altmer-auth .altmer-auth__button--login { background: var(--altmer-ink); color: #fff; }
.altmer-auth .altmer-auth__button--login:hover { background: #1b346f; color: #fff; }
.altmer-auth .altmer-auth__button--guest { border-color: var(--altmer-green); background: transparent; color: var(--altmer-green); }
.altmer-auth .altmer-auth__button--guest:hover { background: #e4f4eb; color: var(--altmer-green); }
.altmer-auth .altmer-auth__button--register { background: #ff8a00; color: #073f2b; }
.altmer-auth .altmer-auth__button--register:hover { background: #e77d00; color: #073f2b; }
.altmer-auth__divider { display: flex; align-items: center; gap: 14px; margin: 26px 0 20px; color: #788b85; font-size: inherit; white-space: nowrap; }
.altmer-auth__divider::before, .altmer-auth__divider::after { content: ''; display: block; flex: 1; height: 1px; background: #d9e3dd; }
.altmer-auth__switch { margin: 20px 0 0; color: #788b85; font-size: inherit; text-align: center; }
.altmer-auth__switch a { color: var(--altmer-green); font-weight: 600; text-decoration: none; }
.altmer-auth__field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.altmer-auth__vat-fields { margin: 2px 0 14px; }
.altmer-auth__vat-fields:empty { display: none; }
.altmer-auth__vat-fields p { margin-bottom: 0; }
.altmer-auth__vat-fields .description { display: block; margin: 6px 0 0; color: #6c7e77; font-size: .9em; }
.altmer-auth__submit-error[hidden] { display: none !important; }
.altmer-auth__submit-error:not([hidden]) { margin: 0 0 12px; color: #b42318; }

@media (max-width: 980px) {
  .woocommerce-account .altmer-auth { grid-template-columns: 1fr; min-height: 0; }
  .altmer-auth__brand { min-height: 220px; }
  .altmer-auth__brand h1 { margin: 40px 0 24px; }
  .altmer-auth__brand p { margin: 0; }
}

@media (max-width: 600px) {
  .woocommerce-account .altmer-auth { margin: 16px 0; border-radius: 14px; }
  .altmer-auth__brand, .altmer-auth__content { padding: 24px 18px; }
  .altmer-auth__brand { min-height: 200px; }
  .altmer-auth__brand h1 { margin-top: 30px; }
  .altmer-auth__tabs { margin-bottom: 24px; }
  .altmer-auth__tab { min-height: 40px; }
  .altmer-auth__field-pair { grid-template-columns: 1fr; gap: 0; }
  .altmer-auth__options { flex-wrap: wrap; }
  .altmer-auth .altmer-auth__button { min-height: 44px; }
}
