/* ==========================================================================
   WashTube — account forms (lost password, reset password)
   WooCommerce renders these; only the look is ours.
   ========================================================================== */

.wt-auth {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 72px;
  display: flex;
  justify-content: center;
}

.wt-auth-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1.5px solid var(--gray-border, #dde3ea);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(4, 77, 115, .08);
  padding: 34px 32px 28px;
}

.wt-auth-head { text-align: center; margin-bottom: 24px; }

.wt-auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #e8f3fb;
  color: var(--blue-dark, #044D73);
}

.wt-auth-head h1 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark, #044D73);
  line-height: 1.25;
}

.wt-auth-head p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #5b6b78;
}

.wt-auth-icon--ok { background: #e7f6ec; color: #1b7a43; }

.wt-auth-note {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 11px;
  background: #f5f8fa;
  border: 1px solid var(--gray-border, #dde3ea);
  font-size: 13px;
  line-height: 1.65;
  color: #5b6b78;
}

.wt-auth-form { display: flex; flex-direction: column; gap: 16px; }

/* WooCommerce ships form-row-first/last as floats — undo that here. */
.wt-auth-form .form-row,
.wt-auth-form .form-row-first,
.wt-auth-form .form-row-last {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.wt-auth-form .clear { display: none; }

.wt-auth-field { display: flex; flex-direction: column; gap: 6px; }

.wt-auth-field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-dark, #044D73);
}
.wt-auth-field .required { color: #c0392b; text-decoration: none; border: 0; }

.wt-auth-input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--gray-border, #dde3ea);
  border-radius: 11px;
  padding: 15px 16px;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
  color: var(--text-dark, #1D1D1D);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.wt-auth-input:focus {
  border-color: var(--blue-mid, #006DAD);
  box-shadow: 0 0 0 3px rgba(0, 109, 173, .12);
}

/* Edge/Chrome draw their own reveal icon inside the field — keep text clear of it. */
.wt-auth-input[type="password"] { padding-right: 46px; }
.wt-auth-input::-ms-reveal { margin-right: 6px; }

.wt-auth-show {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #5b6b78;
  cursor: pointer;
}

.wt-auth-actions { margin: 0; }

.wt-auth-btn {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 11px;
  background: var(--blue-dark, #044D73);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.wt-auth-btn:hover { background: var(--blue-mid, #006DAD); transform: translateY(-1px); }

/* Same button, used as a link. */
.wt-auth-btn--link {
  display: block;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
}
.wt-auth-btn--link:hover { color: #fff; }

.wt-auth-btn:disabled { opacity: .65; cursor: default; transform: none; }

.wt-auth-alt {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
}
.wt-auth-alt a { color: var(--blue-mid, #006DAD); font-weight: 700; text-decoration: none; }
.wt-auth-alt a:hover { color: #F1CB53; }

/* WooCommerce's own notices, matched to the card */
.wt-auth ~ .woocommerce-notices-wrapper .woocommerce-message,
.wt-auth ~ .woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error {
  max-width: 520px;
  margin: 0 auto 16px;
  border-radius: 12px;
  font-size: 13.5px;
}

@media (max-width: 520px) {
  .wt-auth { padding: 28px 16px 48px; }
  .wt-auth-card { padding: 26px 20px 22px; border-radius: 14px; }
  .wt-auth-head h1 { font-size: 20px; }
}
