/* ===================== MPW AUTH PAGES (Sign In / Sign Up) ===================== */
.mpw-auth-wrap {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 72px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(250,207,57,.22), transparent 42%),
    radial-gradient(circle at 88% 90%, rgba(242,238,226,.95), transparent 45%),
    #f8f7f2;
}
.mpw-auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(28,37,50,.12);
  padding: 40px 38px 36px;
}
.mpw-auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 26px;
}
.mpw-auth-logo-icon {
  width: 42px;
  height: 42px;
  background: #facf39;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mpw-auth-logo-icon svg { width: 22px; height: 22px; }
.mpw-auth-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.mpw-auth-logo-name { font-size: 17px; font-weight: 700; color: #1c2532; }
.mpw-auth-logo-tagline { font-size: 11px; color: #ca9203; letter-spacing: .4px; }
.mpw-auth-eyebrow { margin: 0 0 12px; }
.mpw-auth-title { margin: 0 0 10px; font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.5px; color: #1c2532; }
.mpw-auth-sub { margin: 0 0 24px; font-size: 14.5px; line-height: 1.65; color: #5b6773; }

.mpw-auth-error {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
  border-radius: 12px;
  color: #b91c1c;
  font-size: 13.5px;
  font-weight: 500;
}

.mpw-auth-social { display: flex; justify-content: center; }
.mpw-auth-social .nsl-container {
  display: flex !important;
  justify-content: center;
  width: 100%;
}
.mpw-auth-social .nsl-container-buttons { width: 100%; }
.mpw-auth-social .nsl-container-buttons a {
  width: 100% !important;
  display: flex;
  justify-content: center;
}

/* Light-theme Google button (override Nextend dark skin) */
.mpw-auth-social .nsl-button-google {
  background-color: #ffffff !important;
  border: 1.5px solid #dfe3e8 !important;
  border-radius: 12px !important;
  height: 48px !important;
  box-shadow: 0 2px 8px rgba(28,37,50,.06) !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.mpw-auth-social .nsl-button-google:hover {
  border-color: #b9c0c9 !important;
  box-shadow: 0 6px 16px rgba(28,37,50,.12) !important;
  transform: translateY(-1px);
}
.mpw-auth-social .nsl-button-google .nsl-button-svg-container {
  background: #ffffff !important;
  border-radius: 10px 0 0 10px !important;
  padding-left: 14px;
  padding-right: 6px;
}
.mpw-auth-social .nsl-button-google .nsl-button-label-container {
  color: #1c2532 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: 'Poppins', sans-serif !important;
  padding-left: 4px;
}

.mpw-auth-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: #98a1ab;
  font-size: 12.5px;
  letter-spacing: .3px;
}
.mpw-auth-or::before,
.mpw-auth-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e8e6e0;
}

.mpw-auth-form { display: flex; flex-direction: column; gap: 16px; }
.mpw-auth-field { display: flex; flex-direction: column; gap: 6px; }
.mpw-auth-field > span { font-size: 13px; font-weight: 600; color: #2d3e50; }
.mpw-auth-field > span em { font-weight: 400; color: #9aa3ad; font-style: normal; }
.mpw-auth-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dfe3e8;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #1c2532;
  background: #fafbfc;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  box-sizing: border-box;
}
.mpw-auth-field input:focus {
  outline: none;
  border-color: #facf39;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(250,207,57,.16);
}
.mpw-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.mpw-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5b6773;
  cursor: pointer;
}
.mpw-auth-check input { accent-color: #facf39; width: 15px; height: 15px; }
.mpw-auth-forgot { color: #ca9203; font-weight: 600; text-decoration: none; }
.mpw-auth-forgot:hover { color: #8f6600; text-decoration: underline; }

.mpw-auth-submit {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  border: none;
  border-radius: 50px;
  background: #facf39;
  color: #1c2532;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(250,207,57,.35);
}
.mpw-auth-submit:hover {
  background: #1c2532;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28,37,50,.25);
}

.mpw-auth-alt {
  margin: 22px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: #5b6773;
}
.mpw-auth-alt a { color: #ca9203; font-weight: 600; text-decoration: none; }
.mpw-auth-alt a:hover { color: #8f6600; text-decoration: underline; }
.mpw-auth-note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12px;
  color: #98a1ab;
}

/* WooCommerce notices on the register card */
.mpw-auth-card .woocommerce-message,
.mpw-auth-card .woocommerce-error,
.mpw-auth-card .woocommerce-info {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid;
  font-size: 13.5px;
  list-style: none;
}
.mpw-auth-card .woocommerce-message { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.mpw-auth-card .woocommerce-error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.mpw-auth-card .woocommerce-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.mpw-auth-card .woocommerce-message::before,
.mpw-auth-card .woocommerce-error::before,
.mpw-auth-card .woocommerce-info::before { display: none; }

@media (max-width: 480px) {
  .mpw-auth-wrap { padding: 36px 16px 56px; }
  .mpw-auth-card { padding: 30px 22px 28px; border-radius: 20px; }
  .mpw-auth-title { font-size: 27px; }
}