/* Authentication */
.cwf-auth-page .cwf-auth {
  --cwf-auth-card-width: var(--cwf-auth-card-w, 480px);
}
.cwf-auth__main {
  width: 100%;
  max-width: var(--cwf-auth-card-w, 960px);
  margin: 32px auto;
}
.cwf-auth--centered .cwf-auth__main { max-width: var(--cwf-auth-card-w, 480px); }
.cwf-auth--minimal .cwf-auth__main { max-width: var(--cwf-auth-card-w, 420px); }
.cwf-auth--minimal .cwf-auth__card { background: transparent; border: none; box-shadow: none; padding: 0; }
.cwf-auth__cols { display: grid; gap: 24px; }
.cwf-auth__cols--two { grid-template-columns: 1fr 1fr; max-width: 960px; margin: 0 auto; }
@media (max-width: 768px) {
  .cwf-auth__cols--two { grid-template-columns: 1fr; }
}
.cwf-auth--split .cwf-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.cwf-auth__art { overflow: hidden; border-radius: var(--cwf-radius, 12px) 0 0 var(--cwf-radius, 12px); }
.cwf-auth__art-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cwf-auth__card--narrow { max-width: var(--cwf-auth-card-w, 480px); margin: 0 auto; }
.cwf-auth__title { margin: 0 0 8px; font-size: var(--cwf-h2-size, 24px); }
.cwf-auth__desc { margin: 0 0 20px; }
.cwf-auth__form .form-row { margin-bottom: 14px; }
.cwf-auth__form label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.cwf-auth-passwrap { position: relative; display: block; }
.cwf-auth-passwrap .cwf-input { padding-right: 44px; }
.cwf-auth-pass-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--cwf-muted, #64748b);
  display: flex;
  padding: 6px;
}
.cwf-auth-pass-toggle:hover { color: var(--cwf-text, #0f172a); }
.cwf-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cwf-auth__links { margin-top: 12px; font-size: 14px; }
.woocommerce-password-strength { margin-top: 8px; font-size: 13px; }
.woocommerce-password-strength.short { color: var(--cwf-error, #dc2626); }
.woocommerce-password-strength.bad { color: var(--cwf-warning, #d97706); }
.woocommerce-password-strength.good { color: var(--cwf-success, #16a34a); }
.woocommerce-password-strength.strong { color: var(--cwf-success, #16a34a); font-weight: 700; }
.woocommerce-password-hint { display: block; margin-top: 6px; color: var(--cwf-muted, #64748b); font-size: 12px; }
