/*
 * COYOTE logged-out customer authentication UI.
 * Scope: WooCommerce My Account authentication, lost-password and reset screens.
 */

body.woocommerce-account.coyote-clean-base:not(.logged-in) .cc-plain-main {
  padding: clamp(24px, 4vw, 56px) 20px clamp(52px, 7vw, 90px);
}

body.woocommerce-account.coyote-clean-base:not(.logged-in) .cc-plain-content > .woocommerce {
  display: block !important;
  width: min(1180px, 100%) !important;
}

body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-notices-wrapper {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
}

body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-error,
body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-message,
body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-info {
  margin: 0 0 18px !important;
  padding: 15px 18px !important;
  border: 1px solid rgba(7, 17, 31, 0.16) !important;
  border-radius: 15px !important;
  background: #fffdf8 !important;
  color: #07111f !important;
  box-shadow: 0 14px 30px rgba(7, 17, 31, 0.07) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
}

body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-error {
  border-color: #b42318 !important;
  background: #fff5f3 !important;
}

.coyote-auth {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(7, 17, 31, 0.16);
  border-radius: 30px;
  background: #fffdf8;
  box-shadow: 0 30px 80px rgba(7, 17, 31, 0.12);
}

.coyote-auth__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 76px);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 216, 77, 0.5), transparent 30%),
    linear-gradient(145deg, #fff8e8 0%, #e8deca 100%);
  color: #07111f;
}

.coyote-auth__eyebrow,
.coyote-auth__form-kicker {
  margin: 0 0 14px;
  color: #174c40;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.18em;
}

.coyote-auth__brand h1 {
  max-width: 520px;
  margin: 0;
  color: #07111f;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.coyote-auth__lead {
  max-width: 500px;
  margin: 22px 0 0;
  color: #354052;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.85;
}

.coyote-auth__benefits {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.coyote-auth__benefits li {
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  color: #172033;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;
}

.coyote-auth__benefits li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 17px;
  height: 10px;
  border-bottom: 3px solid #ffd84d;
  border-left: 3px solid #ffd84d;
  transform: rotate(-45deg);
}

.coyote-auth__support {
  max-width: 500px;
  margin: 42px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(7, 17, 31, 0.18);
  color: #455064;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.75;
}

.coyote-auth__panel {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 5vw, 64px);
  background: #fffdf8;
}

.coyote-auth__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 42px;
  padding: 6px;
  border: 1px solid rgba(7, 17, 31, 0.12);
  border-radius: 16px;
  background: #f2ede2;
}

.coyote-auth__tab {
  min-height: 46px;
  margin: 0;
  padding: 10px 18px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #56606f;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
}

.coyote-auth__tab.is-active {
  background: #07111f;
  color: #fffdf8;
  box-shadow: 0 8px 18px rgba(7, 17, 31, 0.15);
}

.coyote-auth__tab:focus-visible {
  outline: 3px solid #f0b90b;
  outline-offset: 2px;
}

.coyote-auth__view[hidden] {
  display: none !important;
}

.coyote-auth__form-head {
  margin: 0 0 30px;
}

.coyote-auth__form-kicker {
  color: #765b00;
}

.coyote-auth__form-head h2 {
  margin: 0;
  color: #07111f;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.coyote-auth__form-head > p:last-child {
  margin: 14px 0 0;
  color: #4a5565;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
}

.coyote-auth__form {
  display: grid;
  gap: 20px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.coyote-auth__form .form-row {
  display: grid;
  gap: 8px;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.coyote-auth__form label {
  color: #172033;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.coyote-auth__form .required {
  color: #b42318;
}

.coyote-auth__form input.input-text {
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 12px 15px !important;
  border: 1px solid #a8b0bb !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #07111f !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

.coyote-auth__form input.input-text:focus {
  border-color: #07111f !important;
  outline: 3px solid rgba(240, 185, 11, 0.42) !important;
  outline-offset: 1px !important;
}

.coyote-auth__form-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.coyote-auth__form-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.coyote-auth__form-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1d3931;
}

.coyote-auth__form-options a,
.coyote-auth__privacy a {
  color: #274f43;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.coyote-auth__submit-row .button,
.coyote-auth__form button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 13px 22px !important;
  border: 1px solid #07111f !important;
  border-radius: 13px !important;
  background: #07111f !important;
  color: #ffd84d !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  box-shadow: 0 12px 24px rgba(7, 17, 31, 0.16) !important;
  cursor: pointer;
}

.coyote-auth__submit-row .button:hover,
.coyote-auth__submit-row .button:focus-visible,
.coyote-auth__form button[type="submit"]:hover,
.coyote-auth__form button[type="submit"]:focus-visible {
  border-color: #07111f !important;
  background: #ffd84d !important;
  color: #07111f !important;
  outline: 3px solid rgba(240, 185, 11, 0.42) !important;
  outline-offset: 2px !important;
}

.coyote-auth__generated-password-note,
.coyote-auth__privacy {
  margin: 0;
  color: #56606f;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.75;
}

body.woocommerce-account.coyote-clean-base:not(.logged-in) .cc-plain-content > .woocommerce > form.woocommerce-ResetPassword,
body.woocommerce-account.coyote-clean-base:not(.logged-in) .cc-plain-content > .woocommerce > .woocommerce-form-login:not(.coyote-auth__form) {
  width: min(620px, 100%);
  margin: 0 auto !important;
  padding: clamp(28px, 5vw, 52px) !important;
  border: 1px solid rgba(7, 17, 31, 0.16) !important;
  border-radius: 26px !important;
  background: #fffdf8 !important;
  box-shadow: 0 24px 64px rgba(7, 17, 31, 0.11) !important;
}

body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-ResetPassword p,
body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-form-login:not(.coyote-auth__form) p {
  color: #4a5565;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
}

body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-ResetPassword .form-row,
body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-form-login:not(.coyote-auth__form) .form-row {
  display: grid;
  gap: 8px;
  float: none !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-ResetPassword label,
body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-form-login:not(.coyote-auth__form) label {
  color: #172033;
  font-size: 13px;
  font-weight: 850;
}

body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-ResetPassword input.input-text,
body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-form-login:not(.coyote-auth__form) input.input-text {
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 15px !important;
  border: 1px solid #a8b0bb !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #07111f !important;
  font-size: 16px !important;
}

body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-ResetPassword button.button,
body.woocommerce-account.coyote-clean-base:not(.logged-in) .woocommerce-form-login:not(.coyote-auth__form) button.button {
  min-height: 50px !important;
  padding: 12px 20px !important;
  border: 1px solid #07111f !important;
  border-radius: 12px !important;
  background: #07111f !important;
  color: #ffd84d !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

@media (max-width: 900px) {
  .coyote-auth {
    grid-template-columns: 1fr;
  }

  .coyote-auth__brand {
    padding: 36px;
  }

  .coyote-auth__brand h1 {
    font-size: clamp(30px, 7vw, 44px);
  }

  .coyote-auth__benefits,
  .coyote-auth__support {
    display: none;
  }

  .coyote-auth__lead {
    margin-top: 14px;
  }
}

@media (max-width: 600px) {
  body.woocommerce-account.coyote-clean-base:not(.logged-in) .cc-plain-main {
    padding: 14px 12px 48px;
  }

  .coyote-auth {
    border-radius: 22px;
  }

  .coyote-auth__brand {
    padding: 26px 22px 28px;
  }

  .coyote-auth__eyebrow {
    margin-bottom: 10px;
  }

  .coyote-auth__brand h1 {
    font-size: 30px;
  }

  .coyote-auth__lead {
    font-size: 13px;
    line-height: 1.7;
  }

  .coyote-auth__panel {
    padding: 28px 20px 34px;
  }

  .coyote-auth__tabs {
    margin-bottom: 30px;
  }

  .coyote-auth__form-head h2 {
    font-size: 30px;
  }

  .coyote-auth__form-options {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coyote-auth *,
  .coyote-auth *::before,
  .coyote-auth *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
