/* PMPro variables (JST brand vars come from the global Brand Palette injection) */
:root {
  --pmpro-color--alert-background: rgba(42, 11, 11, 0.7);
  --pmpro-color--alert-border: #ff4d4f;
  --pmpro-color--alert-text: #ffffff;

  --pmpro-color--notice-background: rgba(15, 23, 42, 0.35);
  --pmpro-color--notice-border: rgba(255, 255, 255, 0.12);
  --pmpro-color--notice-text: #ffffff;
}

/* Base typography + layout on PMPro pages */
body[class^="pmpro-"],
body[class*=" pmpro-"] {
  background: transparent !important;
  color: var(--jst-text-main) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body[class^="pmpro-"] .site-content,
body[class*=" pmpro-"] .site-content,
body[class^="pmpro-"] #content,
body[class*=" pmpro-"] #content {
  position: relative;
  z-index: 10;
}

/* Consistent vertical rhythm on PMPro screens (login, lost password, checkout, etc.). */
body[class^="pmpro-"] .site-content,
body[class*=" pmpro-"] .site-content {
  padding-top: 64px;
  padding-bottom: 80px;
}

/* Header/footer glass integration to match custom templates */
body[class^="pmpro-"] #masthead,
body[class*=" pmpro-"] #masthead {
  background-color: var(--jst-chrome-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--jst-chrome-border);
}

body[class^="pmpro-"] #masthead div,
body[class*=" pmpro-"] #masthead div,
body[class^="pmpro-"] #masthead nav,
body[class*=" pmpro-"] #masthead nav,
body[class^="pmpro-"] #masthead section,
body[class*=" pmpro-"] #masthead section,
body[class^="pmpro-"] #masthead .ast-main-header-wrap,
body[class*=" pmpro-"] #masthead .ast-main-header-wrap,
body[class^="pmpro-"] #masthead .main-header-bar,
body[class*=" pmpro-"] #masthead .main-header-bar,
body[class^="pmpro-"] #masthead .ast-primary-header-bar,
body[class*=" pmpro-"] #masthead .ast-primary-header-bar,
body[class^="pmpro-"] #masthead .ast-desktop-header,
body[class*=" pmpro-"] #masthead .ast-desktop-header,
body[class^="pmpro-"] #masthead .ast-builder-grid-row,
body[class*=" pmpro-"] #masthead .ast-builder-grid-row {
  background-color: transparent !important;
  background-image: none !important;
}

/* Keep header nav typography consistent with non-PMPro pages (Astra header menu can
   inherit smaller font sizing on PMPro screens). */
body[class^="pmpro-"] #masthead .main-header-menu .menu-link,
body[class*=" pmpro-"] #masthead .main-header-menu .menu-link {
  font-size: var(--ast-header-menu-font-size, var(--ast-global-font-size, 1rem)) !important;
}

body[class^="pmpro-"] .site-footer,
body[class*=" pmpro-"] .site-footer {
  background-color: transparent !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--jst-chrome-border);
}

/* Glass panels */
body[class^="pmpro-"] .pmpro_card,
body[class*=" pmpro-"] .pmpro_card,
body[class^="pmpro-"] .pmpro_box,
body[class*=" pmpro-"] .pmpro_box,
body[class^="pmpro-"] .pmpro_checkout,
body[class*=" pmpro-"] .pmpro_checkout {
  background: rgba(15, 23, 42, 0.3) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top-color: rgba(255, 255, 255, 0.4) !important;
  border-left-color: rgba(255, 255, 255, 0.3) !important;
  border-right-color: rgba(255, 255, 255, 0.1) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
    inset 0 0 20px 0 rgba(255, 255, 255, 0.02) !important;
  color: var(--jst-text-main) !important;
}

body[class^="pmpro-"] .pmpro_card_title,
body[class*=" pmpro-"] .pmpro_card_title,
body[class^="pmpro-"] h1,
body[class^="pmpro-"] h2,
body[class^="pmpro-"] h3,
body[class*=" pmpro-"] h1,
body[class*=" pmpro-"] h2,
body[class*=" pmpro-"] h3 {
  color: var(--jst-text-main) !important;
  letter-spacing: -0.02em;
}

/* Inputs */
body[class^="pmpro-"] input[type="text"],
body[class^="pmpro-"] input[type="email"],
body[class^="pmpro-"] input[type="password"],
body[class^="pmpro-"] input[type="tel"],
body[class^="pmpro-"] input[type="url"],
body[class^="pmpro-"] input[type="number"],
body[class^="pmpro-"] input[type="search"],
body[class^="pmpro-"] input[type="date"],
body[class^="pmpro-"] input[type="time"],
body[class^="pmpro-"] input[type="datetime-local"],
body[class^="pmpro-"] select,
body[class^="pmpro-"] textarea,
body[class*=" pmpro-"] input[type="text"],
body[class*=" pmpro-"] input[type="email"],
body[class*=" pmpro-"] input[type="password"],
body[class*=" pmpro-"] input[type="tel"],
body[class*=" pmpro-"] input[type="url"],
body[class*=" pmpro-"] input[type="number"],
body[class*=" pmpro-"] input[type="search"],
body[class*=" pmpro-"] input[type="date"],
body[class*=" pmpro-"] input[type="time"],
body[class*=" pmpro-"] input[type="datetime-local"],
body[class*=" pmpro-"] select,
body[class*=" pmpro-"] textarea {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  color: rgba(15, 23, 42, 0.95) !important;
  font-size: 14px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

/* Prevent Chromium autofill preview/hover from rendering smaller text. */
body[class^="pmpro-"] input:-webkit-autofill,
body[class^="pmpro-"] input:-webkit-autofill:hover,
body[class^="pmpro-"] input:-webkit-autofill:focus,
body[class^="pmpro-"] textarea:-webkit-autofill,
body[class^="pmpro-"] textarea:-webkit-autofill:hover,
body[class^="pmpro-"] textarea:-webkit-autofill:focus,
body[class^="pmpro-"] select:-webkit-autofill,
body[class^="pmpro-"] select:-webkit-autofill:hover,
body[class^="pmpro-"] select:-webkit-autofill:focus,
body[class*=" pmpro-"] input:-webkit-autofill,
body[class*=" pmpro-"] input:-webkit-autofill:hover,
body[class*=" pmpro-"] input:-webkit-autofill:focus,
body[class*=" pmpro-"] textarea:-webkit-autofill,
body[class*=" pmpro-"] textarea:-webkit-autofill:hover,
body[class*=" pmpro-"] textarea:-webkit-autofill:focus,
body[class*=" pmpro-"] select:-webkit-autofill,
body[class*=" pmpro-"] select:-webkit-autofill:hover,
body[class*=" pmpro-"] select:-webkit-autofill:focus,
body[class^="pmpro-"] input:-internal-autofill-previewed,
body[class^="pmpro-"] input:-internal-autofill-selected,
body[class*=" pmpro-"] input:-internal-autofill-previewed,
body[class*=" pmpro-"] input:-internal-autofill-selected {
  font-size: 14px !important;
}

body[class^="pmpro-"] input:-webkit-autofill::first-line,
body[class^="pmpro-"] textarea:-webkit-autofill::first-line,
body[class^="pmpro-"] select:-webkit-autofill::first-line,
body[class*=" pmpro-"] input:-webkit-autofill::first-line,
body[class*=" pmpro-"] textarea:-webkit-autofill::first-line,
body[class*=" pmpro-"] select:-webkit-autofill::first-line {
  font-size: 14px !important;
}

body[class^="pmpro-"] input::placeholder,
body[class*=" pmpro-"] input::placeholder,
body[class^="pmpro-"] textarea::placeholder,
body[class*=" pmpro-"] textarea::placeholder {
  color: rgba(15, 23, 42, 0.45) !important;
}

body[class^="pmpro-"] input:focus,
body[class*=" pmpro-"] input:focus,
body[class^="pmpro-"] select:focus,
body[class*=" pmpro-"] select:focus,
body[class^="pmpro-"] textarea:focus,
body[class*=" pmpro-"] textarea:focus {
  outline: none !important;
  border-color: rgba(59, 130, 246, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
}

/* Primary buttons match Pricing/Home style */
body[class^="pmpro-"] .pmpro_btn,
body[class^="pmpro-"] input[type="submit"],
body[class^="pmpro-"] button[type="submit"],
body[class*=" pmpro-"] .pmpro_btn,
body[class*=" pmpro-"] input[type="submit"],
body[class*=" pmpro-"] button[type="submit"] {
  background: var(--jst-btn-bg, #ffffff) !important;
  color: var(--jst-btn-text, #000000) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body[class^="pmpro-"] .pmpro_btn:hover,
body[class^="pmpro-"] input[type="submit"]:hover,
body[class^="pmpro-"] button[type="submit"]:hover,
body[class*=" pmpro-"] .pmpro_btn:hover,
body[class*=" pmpro-"] input[type="submit"]:hover,
body[class*=" pmpro-"] button[type="submit"]:hover {
  background: var(--jst-btn-bg-hover, #cbd5e1) !important;
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.18) !important;
}

/* Disabled/current buttons (use Brand Palette disabled button vars) */
body[class^="pmpro-"] .pmpro_btn:disabled,
body[class^="pmpro-"] input[type="submit"]:disabled,
body[class^="pmpro-"] button[type="submit"]:disabled,
body[class*=" pmpro-"] .pmpro_btn:disabled,
body[class*=" pmpro-"] input[type="submit"]:disabled,
body[class*=" pmpro-"] button[type="submit"]:disabled {
  background: var(--jst-btn-disabled-bg, rgba(148, 163, 184, 0.35)) !important;
  color: var(--jst-btn-disabled-text, rgba(255, 255, 255, 0.7)) !important;
  border: 1px solid var(--jst-btn-disabled-border, rgba(255, 255, 255, 0.18)) !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

/* Secondary/cancel buttons remain outline */
body[class^="pmpro-"] .pmpro_btn.pmpro_btn-cancel,
body[class^="pmpro-"] .pmpro_btn.pmpro_btn-plain,
body[class*=" pmpro-"] .pmpro_btn.pmpro_btn-cancel,
body[class*=" pmpro-"] .pmpro_btn.pmpro_btn-plain {
  background: transparent !important;
  color: var(--jst-text-main) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: none !important;
}

body[class^="pmpro-"] .pmpro_btn.pmpro_btn-cancel:hover,
body[class^="pmpro-"] .pmpro_btn.pmpro_btn-plain:hover,
body[class*=" pmpro-"] .pmpro_btn.pmpro_btn-cancel:hover,
body[class*=" pmpro-"] .pmpro_btn.pmpro_btn-plain:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Links */
body[class^="pmpro-"] a,
body[class*=" pmpro-"] a {
  color: var(--jst-accent) !important;
}

body[class^="pmpro-"] a:hover,
body[class*=" pmpro-"] a:hover {
  text-decoration: underline;
}

/* Tables */
body[class^="pmpro-"] .pmpro_table thead th,
body[class*=" pmpro-"] .pmpro_table thead th {
  background: var(--jst-header) !important;
  color: rgba(148, 163, 184, 0.9) !important;
  border-bottom: 1px solid var(--jst-border) !important;
}

body[class^="pmpro-"] .pmpro_table th,
body[class^="pmpro-"] .pmpro_table td,
body[class*=" pmpro-"] .pmpro_table th,
body[class*=" pmpro-"] .pmpro_table td {
  border-color: var(--jst-border) !important;
  color: var(--jst-text-main) !important;
}

/* Notices/messages as glass panels */
body[class^="pmpro-"] .pmpro_message,
body[class^="pmpro-"] .pmpro_msg,
body[class^="pmpro-"] .notice,
body[class*=" pmpro-"] .pmpro_message,
body[class*=" pmpro-"] .pmpro_msg,
body[class*=" pmpro-"] .notice {
  background-color: rgba(15, 23, 42, 0.35) !important;
  color: var(--jst-text-main) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

/* Strong overrides to beat theme defaults on password/login pages */
.pmpro_message.pmpro_alert,
section.pmpro_login .pmpro_message.pmpro_alert,
section.pmpro_checkout .pmpro_message.pmpro_alert {
  background-color: #2a0b0b !important;
  color: #ffffff !important;
  border-color: #ff4d4f !important;
}

.pmpro_message.pmpro_alert a { color: #ffffff !important; }

.pmpro_message,
.pmpro_msg,
.pmpro_alert,
.pmpro_success,
.notice.info,
.notice.success,
.notice.warning,
.pmpro_login .pmpro_message,
.pmpro_checkout .pmpro_message {
  background-color: #1f2430 !important;
  color: #ffffff !important;
  border-color: #5b7cff !important;
}

/* Logged-in PMPro login page can show plain text like "You are already signed in." */
body[class^="pmpro-"] #pmpro_login.pmpro_section,
body[class*=" pmpro-"] #pmpro_login.pmpro_section {
  color: #ffffff !important;
}

/* Desktop: align notices to login card width and center */
@media (min-width: 768px) {
  .pmpro_message,
  .pmpro_msg,
  .pmpro_alert,
  .pmpro_success,
  .notice.info,
  .notice.success,
  .notice.warning,
  section.pmpro_login .pmpro_message,
  section.pmpro_checkout .pmpro_message {
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  section.pmpro_login .pmpro_message,
  section.pmpro_login .pmpro_msg,
  section.pmpro_login .pmpro_alert,
  section.pmpro_login .pmpro_success {
    max-width: 420px !important;
  }

  #pmpro_login .pmpro_message,
  #pmpro_login .pmpro_msg,
  #pmpro_login .pmpro_alert,
  #pmpro_login .pmpro_success {
    max-width: 420px !important;
  }
}

/* Compact layout for login and reset password sections */
/* NOTE: PMPro's login template uses <section id="pmpro_login" class="pmpro_section"> */
#pmpro_login,
#pmpro_login .pmpro_login_wrap,
#pmpro_login form {
  max-width: 420px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Constrain only the main content container on the PMPro login page.
   Do NOT target .ast-container globally here because Astra also uses it in the header/nav. */
body.pmpro-login .site-content .ast-container,
body.pmpro-login #content .ast-container {
  max-width: 760px !important;
}
body.pmpro-login #primary.content-area.primary {
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Login page title: align with login card border (not the wider primary container). */
body.pmpro-login .entry-header,
body.pmpro-login header.entry-header {
  max-width: 420px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.pmpro-login .entry-title {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Keep the PMPro card itself constrained (some templates let it stretch wider). */
#pmpro_login .pmpro_card,
#pmpro_login .pmpro_login_wrap,
.pmpro_card.pmpro_login_wrap {
  max-width: 420px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Compact Lost Password card layout */
.pmpro_card.pmpro_lost_password_wrap,
section.pmpro_login .pmpro_card.pmpro_lost_password_wrap,
body.pmpro-login .pmpro_card.pmpro_lost_password_wrap {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure inner content respects width */
.pmpro_card.pmpro_lost_password_wrap .pmpro_card_content,
.pmpro_card.pmpro_lost_password_wrap .pmpro_form,
.pmpro_card.pmpro_lost_password_wrap .pmpro_actions {
  width: 100%;
}

/* Ensure reset password rows stack neatly */
section.pmpro_login .pmpro_login_wrap .pmpro_form_field,
section.pmpro_login .pmpro_login_wrap .pmpro_input,
section.pmpro_login .pmpro_login_wrap .pmpro_actions {
  width: 100%;
}

/* Icon-only show/hide password control inside inputs */
/* WordPress adds .wp-hide-pw buttons next to password fields */
.pmpro_login input[type="password"] {
  padding-right: 44px; /* room for eye icon */
}

.wp-hide-pw {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #c7d1ff !important; /* subtle brand tint */
  width: 32px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
}

/* Position eye icon inside the input container */
.pmpro_login .pmpro_form_field,
section.pmpro_login .pmpro_login_wrap .pmpro_form_field {
  position: relative;
}

.wp-hide-pw {
  position: absolute !important;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Dashicons eye appearance */
.wp-hide-pw .dashicons {
  font-size: 20px;
  line-height: 1;
}

/* Hover/active states for accessibility */
.wp-hide-pw:hover,
.wp-hide-pw:focus {
  color: #ffffff !important;
}

/* PMPro reset password page specific constraints */
.pmpro_card.pmpro_reset_password_wrap,
section.pmpro_login .pmpro_card.pmpro_reset_password_wrap,
body.pmpro-login .pmpro_card.pmpro_reset_password_wrap {
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Make password toggle icon-only for PMPro reset form */
.pmpro_form_field-password-toggle {
  position: relative;
}

.pmpro_btn.pmpro_btn-plain.pmpro_btn-password-toggle {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 32px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #c7d1ff !important;
  cursor: pointer;
}

.pmpro_btn.pmpro_btn-plain.pmpro_btn-password-toggle:hover,
.pmpro_btn.pmpro_btn-plain.pmpro_btn-password-toggle:focus {
  color: #ffffff !important;
}

/* Hide the "Show Password" label text, keep icon accessible */
.pmpro_form_field-password-toggle-state {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  clip-path: inset(50%) !important;
  left: -9999px !important;
}

/* Force-hide visible label text in toggle button on all forms */
.pmpro_btn.pmpro_btn-password-toggle .pmpro_form_field-password-toggle-state,
.pmpro_form_field-password-toggle .pmpro_form_field-password-toggle-state {
  display: none !important;
}

/* Position icon within the input row */
.pmpro_form_field-password-toggle .pmpro_btn.pmpro_btn-plain.pmpro_btn-password-toggle {
  position: absolute !important;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Ensure password inputs have padding for the icon */
.pmpro_reset_password_wrap input[type="password"],
.pmpro_card.pmpro_reset_password_wrap input[type="password"] {
  padding-right: 44px;
}
/* Legacy PMPro skin rules removed.
   The modern glass styling is defined near the top of this file.
   Keep only targeted page-specific fixes below. */

/* Invoice/Order page specific niceties */
/* Status badge (Paid/Refunded/Pending) */
.pmpro_status, .pmpro-badge, .order-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
}
.pmpro_status.paid, .order-status.paid, .pmpro-badge.paid { background:#16a34a; color:#fff; }
.pmpro_status.pending, .order-status.pending, .pmpro-badge.pending { background:#f59e0b; color:#111827; }
.pmpro_status.refunded, .order-status.refunded, .pmpro-badge.refunded { background:#2563eb; color:#fff; }

/* Print/Save link */
.pmpro_a-print, a.pmpro_a-print {
  color:#93c5fd !important;
  opacity:.9;
}
.pmpro_a-print:hover, a.pmpro_a-print:hover { opacity:1; text-decoration: underline; }

/* --- White block fix on single invoice ---
   Some PMPro themes/templates render a large inner container with a white
   background inside the invoice card. Neutralize backgrounds inside the
   card and keep text readable. */
body.pmpro-invoice .pmpro_card, body.pmpro-invoice .pmpro_box { position: relative; }
body.pmpro-invoice .pmpro_card_content,
body.pmpro-invoice .pmpro_card_content > *,
body.pmpro-invoice .pmpro_box .pmpro_invoice_wrap,
body.pmpro-invoice .pmpro_box .pmpro_invoice_wrap > *,
body.pmpro-invoice .pmpro_box .pmpro_invoice,
body.pmpro-invoice .pmpro_box .pmpro_invoice *,
body.pmpro-invoice .pmpro_box .pmpro_invoice_details,
body.pmpro-invoice .pmpro_box .pmpro_invoice_details *,
body.pmpro-invoice .pmpro_box .pmpro_invoice_items,
body.pmpro-invoice .pmpro_box .pmpro_invoice_items *,
body.pmpro-invoice .pmpro_box blockquote,
body.pmpro-invoice .pmpro_box pre,
body.pmpro-invoice .pmpro_box code,
body.pmpro-invoice .pmpro_box .entry-content * {
  background: transparent !important;
  color: #ffffff !important;
}
/* Explicitly target the items table inside a single invoice */
body.pmpro-invoice #pmpro_order_single-items .pmpro_table,
body.pmpro-invoice #pmpro_order_single-items .pmpro_table thead,
body.pmpro-invoice #pmpro_order_single-items .pmpro_table tbody,
body.pmpro-invoice #pmpro_order_single-items .pmpro_table tfoot,
body.pmpro-invoice #pmpro_order_single-items .pmpro_table tr,
body.pmpro-invoice #pmpro_order_single-items .pmpro_table th,
body.pmpro-invoice #pmpro_order_single-items .pmpro_table td {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: var(--jst-border) !important;
}
/* Table header matches watchlist header color */
body.pmpro-invoice #pmpro_order_single-items .pmpro_table thead th {
  background: var(--jst-header, #111827) !important;
  color: #9ca3af !important;
  border-bottom: 2px solid var(--jst-border, rgba(255,255,255,.08)) !important;
}
/* Don’t flatten status badges */
body.pmpro-invoice .pmpro_box .pmpro_status,
body.pmpro-invoice .pmpro_box .order-status,
body.pmpro-invoice .pmpro_box .pmpro-badge { background: revert-layer !important; }

/* Profile success notice: remove green background, keep white text + link */
/* Stronger override: success notice strip just text on dark bg */
body.pmpro-member-profile-edit .entry-content .pmpro_message.pmpro_success,
body.pmpro-member-profile-edit .entry-content .pmpro_msg.pmpro_success,
body.pmpro-member-profile-edit .entry-content .pmpro_success,
body.pmpro-member-profile-edit [role="alert"].pmpro_message.pmpro_success,
body[class*="pmpro-member-profile-edit"] .pmpro_message.pmpro_success,
/* Catch any themed notice wrapper used by PMPro */
body.pmpro-member-profile-edit .entry-content .notice.pmpro_success,
body.pmpro-member-profile-edit [role="alert"].notice.pmpro_success,
body.pmpro-member-profile-edit .entry-content .pmpro .pmpro_message.pmpro_success,
body.pmpro-member-profile-edit .pmpro .pmpro_message.pmpro_success {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--jst-text, #ffffff) !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  /* Override PMPro CSS variables used by inline styles */
  --pmpro--color--success-background: transparent !important;
  --pmpro--color--success-border: transparent !important;
  --pmpro--color--success-text: var(--jst-text, #ffffff) !important;
}
body.pmpro-member-profile-edit .entry-content .pmpro_message.pmpro_success::before,
body.pmpro-member-profile-edit .entry-content .pmpro_message.pmpro_success::after,
body.pmpro-member-profile-edit [role="alert"].pmpro_message.pmpro_success::before,
body.pmpro-member-profile-edit [role="alert"].pmpro_message.pmpro_success::after,
body.pmpro-member-profile-edit .entry-content .notice.pmpro_success::before,
body.pmpro-member-profile-edit .entry-content .notice.pmpro_success::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
body.pmpro-member-profile-edit .entry-content .pmpro_message.pmpro_success a,
body.pmpro-member-profile-edit .entry-content .pmpro_msg.pmpro_success a,
body.pmpro-member-profile-edit .entry-content .pmpro_success a,
body[class*="pmpro-member-profile-edit"] .pmpro_message.pmpro_success a,
body.pmpro-member-profile-edit .entry-content .notice.pmpro_success a {
  color: var(--jst-accent, #93c5fd) !important;
}

/* Profile page: reduce panel width for a tighter, more readable layout. */
body.pmpro-member-profile-edit .site-content .ast-container,
body.pmpro-member-profile-edit #content .ast-container {
  max-width: 760px !important;
}

body.pmpro-member-profile-edit #primary.content-area.primary {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Profile page: increase vertical separation from header to page title. */
body.pmpro-member-profile-edit .entry-header,
body.pmpro-member-profile-edit header.entry-header {
  margin-top: 2.4rem !important;
  margin-bottom: 1.8rem !important;
}

/* Profile page: add more space before action buttons. */
body.pmpro-member-profile-edit .pmpro_form .pmpro_actions,
body.pmpro-member-profile-edit .pmpro_form .pmpro_submit,
body.pmpro-member-profile-edit .pmpro_form .pmpro_form_submit,
body.pmpro-member-profile-edit .pmpro_form .pmpro_btn-submit-wrap {
  margin-top: 28px !important;
}

/* Profile page: keep all field labels visually consistent. */
body.pmpro-member-profile-edit .pmpro_form label,
body.pmpro-member-profile-edit .pmpro_form label.pmpro_form_label,
body.pmpro-member-profile-edit .jst-profile-sms-verify-wrap label {
  display: block !important;
  margin: 0 0 6px 0 !important;
  color: var(--jst-text-main, #f8fafc) !important;
  opacity: 1 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

/* Profile page: match dashboard dropdown field look and normalize heights/alignment. */
body.pmpro-member-profile-edit .pmpro_form input[name="first_name"],
body.pmpro-member-profile-edit .pmpro_form input[name="last_name"],
body.pmpro-member-profile-edit .pmpro_form input[name="user_email"],
body.pmpro-member-profile-edit .pmpro_form .jst-profile-sms-verify-wrap #jst-profile-sms-phone {
  background-color: rgba(30, 41, 59, 0.9) !important;
  border: 1px solid var(--jst-border, rgba(255, 255, 255, 0.2)) !important;
  color: var(--jst-text-main, #f8fafc) !important;
  height: 48px !important;
  min-height: 48px !important;
  line-height: 1.2 !important;
  padding: 10px 14px !important;
  box-sizing: border-box !important;
}

body.pmpro-member-profile-edit .pmpro_form input[name="first_name"]::placeholder,
body.pmpro-member-profile-edit .pmpro_form input[name="last_name"]::placeholder,
body.pmpro-member-profile-edit .pmpro_form input[name="user_email"]::placeholder,
body.pmpro-member-profile-edit .pmpro_form .jst-profile-sms-verify-wrap #jst-profile-sms-phone::placeholder {
  color: rgba(226, 232, 240, 0.7) !important;
}

/* Align Mobile Phone input baseline with Email input baseline. */
body.pmpro-member-profile-edit .pmpro_form .jst-profile-sms-verify-wrap > .pmpro_form_label {
  margin-bottom: 12px !important;
}

/* Profile page: add more space between Mobile Phone input row and Verify Mobile button when wrapped. */
body.pmpro-member-profile-edit .pmpro_form .jst-profile-sms-verify-wrap > div {
  row-gap: 14px !important;
}

/* Profile page: keep Verify Mobile and Update Profile button styles identical. */
body.pmpro-member-profile-edit .pmpro_form .jst-profile-sms-verify-wrap .jst-sms-send,
body.pmpro-member-profile-edit .pmpro_form input[type="submit"],
body.pmpro-member-profile-edit .pmpro_form button[type="submit"],
body.pmpro-member-profile-edit .pmpro_form .pmpro_btn.pmpro_btn-submit,
body.pmpro-member-profile-edit .pmpro_form .pmpro_btn-submit,
body.pmpro-member-profile-edit .pmpro_form .pmpro_actions .pmpro_btn:not(.pmpro_btn-cancel) {
  background: #2f6fe4 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

body.pmpro-member-profile-edit .pmpro_form .jst-profile-sms-verify-wrap .jst-sms-send:hover,
body.pmpro-member-profile-edit .pmpro_form .jst-profile-sms-verify-wrap .jst-sms-send:focus,
body.pmpro-member-profile-edit .pmpro_form input[type="submit"]:hover,
body.pmpro-member-profile-edit .pmpro_form button[type="submit"]:hover,
body.pmpro-member-profile-edit .pmpro_form .pmpro_btn.pmpro_btn-submit:hover,
body.pmpro-member-profile-edit .pmpro_form .pmpro_btn-submit:hover,
body.pmpro-member-profile-edit .pmpro_form .pmpro_actions .pmpro_btn:not(.pmpro_btn-cancel):hover,
body.pmpro-member-profile-edit .pmpro_form input[type="submit"]:focus,
body.pmpro-member-profile-edit .pmpro_form button[type="submit"]:focus,
body.pmpro-member-profile-edit .pmpro_form .pmpro_btn.pmpro_btn-submit:focus,
body.pmpro-member-profile-edit .pmpro_form .pmpro_btn-submit:focus,
body.pmpro-member-profile-edit .pmpro_form .pmpro_actions .pmpro_btn:not(.pmpro_btn-cancel):focus {
  background: #1d4ed8 !important;
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.18) !important;
}

/* Profile page: make Cancel radius match Verify Mobile. */
body.pmpro-member-profile-edit .pmpro_form .pmpro_btn.pmpro_btn-cancel {
  border-radius: 999px !important;
}

/* =========================================================
   FINAL OVERRIDES (must be last)
   Ensure checkout uses the new brand styling even when
   pmpro-variation_* or level-required rules exist earlier.
   ========================================================= */

body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_btn,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form input[type="submit"],
body.pmpro-checkout.pmpro-variation_1 #pmpro_form button[type="submit"],
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_btn-submit,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form #pmpro_btn-submit,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_checkout-submit .pmpro_btn,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_checkout-submit input[type="submit"],
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_checkout-submit button[type="submit"] {
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: var(--jst-bg-dark, #020617) !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  padding: 20px 40px !important;
  line-height: 1.1 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35) !important;
}

body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_btn:hover,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form input[type="submit"]:hover,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form button[type="submit"]:hover,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_btn:focus,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form input[type="submit"]:focus,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form button[type="submit"]:focus {
  background: var(--jst-text-main, #f8fafc) !important;
  border-color: var(--jst-text-main, #f8fafc) !important;
  color: var(--jst-bg-dark, #020617) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35), 0 18px 36px rgba(0, 0, 0, 0.4) !important;
}

body.pmpro-checkout.pmpro-variation_1 .pmpro_card,
body.pmpro-checkout.pmpro-variation_1 .pmpro_box,
body.pmpro-checkout.pmpro-variation_1 .pmpro_checkout,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_checkout-fields {
  background: rgba(15, 23, 42, 0.66) !important;
  border: 1px solid var(--jst-border, rgba(255, 255, 255, 0.08)) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  backdrop-filter: blur(14px) !important;
}

/* Ensure the aurora background is visible on PMPro pages (Astra wrappers can be opaque). */
body[class*="pmpro-"] {
  background: transparent !important;
}
body[class*="pmpro-"] html,
body[class*="pmpro-"] #page,
body[class*="pmpro-"] .site,
body[class*="pmpro-"] #content,
body[class*="pmpro-"] .site-content,
body[class*="pmpro-"] .site-main,
body[class*="pmpro-"] .content-area,
body[class*="pmpro-"] .ast-container,
body[class*="pmpro-"] .entry-content,
body[class*="pmpro-"] .ast-container > .content-area,
body[class*="pmpro-"] .ast-container > .site-main {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Lift the page content above the fixed aurora layer (the custom templates use z-index:10). */
body[class*="pmpro-"] #page,
body[class*="pmpro-"] .site,
body[class*="pmpro-"] #content,
body[class*="pmpro-"] .site-content {
  position: relative;
  z-index: 10;
}

/* Match the brand page title treatment a bit closer. */
body[class*="pmpro-"] .entry-title {
  letter-spacing: -0.02em !important;
}
body.pmpro-checkout .entry-title {
  color: var(--jst-text-main) !important;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  body.pmpro-checkout .entry-title {
    background: linear-gradient(to bottom right, var(--jst-text-main), var(--jst-text-muted)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
  }
}

/* Checkout layout: match Pricing/Home container + spacing. */
body.pmpro-checkout,
body.pmpro-checkout.pmpro-variation_1 {
  /* Override legacy JST variables used elsewhere in this file */
  --jst-bg: transparent;
}

/* Use the same container rhythm as the custom templates. */
body.pmpro-checkout .ast-container {
  max-width: 1400px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

body.pmpro-checkout .entry-header,
body.pmpro-checkout header.entry-header {
  text-align: center !important;
  margin-top: 4rem !important;
  margin-bottom: 2.5rem !important;
}

body.pmpro-checkout .entry-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin-bottom: 0 !important;
}

/* Center the actual checkout form and keep it within a readable width. */
body.pmpro-checkout #pmpro_form {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* The older "pmpro-variation_1" gate styles set max-width:560px on .pmpro_card.
   Remove that constraint on checkout so these cards can widen. */
body.pmpro-checkout.pmpro-variation_1 #pmpro_form,
body.pmpro-checkout #pmpro_form {
  width: 100% !important;
  max-width: 1200px !important;
  float: none !important;
  display: block !important;
}

body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_card,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_box,
body.pmpro-checkout #pmpro_form .pmpro_card,
body.pmpro-checkout #pmpro_form .pmpro_box {
  max-width: none !important;
}

/* Center the overall checkout stack while keeping inputs usable. */
body.pmpro-checkout #pmpro_form {
  text-align: center;
}
body.pmpro-checkout #pmpro_form .pmpro_checkout-field,
body.pmpro-checkout #pmpro_form .pmpro_checkout-field label,
body.pmpro-checkout #pmpro_form .pmpro_checkout-field input,
body.pmpro-checkout #pmpro_form .pmpro_checkout-field select,
body.pmpro-checkout #pmpro_form .pmpro_checkout-field textarea {
  text-align: left !important;
}

/* Ensure labels align with their fields (avoid centering from parent text-align). */
body.pmpro-checkout #pmpro_form .pmpro_checkout-field {
  text-align: left !important;
}
body.pmpro-checkout #pmpro_form .pmpro_checkout-field label,
body.pmpro-checkout #pmpro_form label.pmpro_form_label,
body.pmpro-checkout #pmpro_form .pmpro_form_field label,
body.pmpro-checkout #pmpro_form .pmpro_form_fields label {
  text-align: left !important;
}

/* Password visibility (eye) button: transparent background + white icon. */
body.pmpro-checkout .wp-hide-pw,
body.pmpro-checkout .pmpro_btn.pmpro_btn-password-toggle,
body.pmpro-checkout .pmpro_btn-password-toggle {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--jst-text-main, #f8fafc) !important;
}
body.pmpro-checkout .wp-hide-pw:hover,
body.pmpro-checkout .wp-hide-pw:focus,
body.pmpro-checkout #pmpro_form .pmpro_btn.pmpro_btn-password-toggle:hover,
body.pmpro-checkout #pmpro_form .pmpro_btn.pmpro_btn-password-toggle:focus,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_btn.pmpro_btn-password-toggle:hover,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_btn.pmpro_btn-password-toggle:focus {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Beat pmpro-variation_1 rule that sets .pmpro_btn background to white. */
body.pmpro-checkout #pmpro_form .pmpro_btn.pmpro_btn-password-toggle,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_btn.pmpro_btn-password-toggle,
body.pmpro-checkout #pmpro_form button.pmpro_btn.pmpro_btn-password-toggle,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form button.pmpro_btn.pmpro_btn-password-toggle {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Some PMPro templates set the toggle row to accent color; force white on checkout. */
body.pmpro-checkout #pmpro_form .pmpro_form_field-password-toggle {
  color: var(--jst-text-main, #f8fafc) !important;
}
body.pmpro-checkout .wp-hide-pw .dashicons,
body.pmpro-checkout .pmpro_btn-password-toggle .dashicons {
  color: inherit !important;
}
body.pmpro-checkout #pmpro_form .pmpro_btn-password-toggle svg {
  color: inherit !important;
}

/* Glass cards inside the form: match the unified glass panel style. */
body.pmpro-checkout #pmpro_form .pmpro_card,
body.pmpro-checkout #pmpro_form .pmpro_box {
  background: rgba(15, 23, 42, 0.30) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top-color: rgba(255, 255, 255, 0.4) !important;
  border-left-color: rgba(255, 255, 255, 0.3) !important;
  border-right-color: rgba(255, 255, 255, 0.1) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
    inset 0 0 20px 0 rgba(255, 255, 255, 0.02) !important;
  padding: 40px !important;
  margin: 0 0 30px 0 !important;
  width: 100% !important;
}

/* Center section headings/content inside cards. */
body.pmpro-checkout #pmpro_form .pmpro_card_title,
body.pmpro-checkout #pmpro_form .pmpro_box h2,
body.pmpro-checkout #pmpro_form .pmpro_box h3 {
  text-align: center !important;
}
body.pmpro-checkout #pmpro_form .pmpro_card_title {
  justify-content: center !important;
}

/* Beat the variation gate rule that forces titles left-aligned. */
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_card_title {
  text-align: center !important;
  justify-content: center !important;
  align-self: center !important;
}

/* Center the submit button area. */
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit {
  text-align: center !important;
}
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit .pmpro_btn,
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit input[type="submit"],
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit button[type="submit"] {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Center the submit button area (PMPro uses different wrappers depending on setup). */
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit,
body.pmpro-checkout #pmpro_form .pmpro_submit,
body.pmpro-checkout #pmpro_form .pmpro_form_submit {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Ensure the submit control remains sized like the Pricing page button (not full-width). */
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit .pmpro_btn,
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit input[type="submit"],
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit button[type="submit"],
body.pmpro-checkout #pmpro_form .pmpro_submit input[type="submit"],
body.pmpro-checkout #pmpro_form .pmpro_form_submit input[type="submit"] {
  display: inline-block !important;
  width: auto !important;
}

@media (max-width: 600px) {
  body.pmpro-checkout .ast-container {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  body.pmpro-checkout #pmpro_form .pmpro_card,
  body.pmpro-checkout #pmpro_form .pmpro_box,
  body.pmpro-checkout #pmpro_form .pmpro_checkout {
    background: transparent !important;
    background-color: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
  }

  body.pmpro-checkout #pmpro_form .pmpro_card_content,
  body.pmpro-checkout #pmpro_form .pmpro_box_content,
  body.pmpro-checkout #pmpro_form .pmpro_checkout-fields,
  body.pmpro-checkout #pmpro_form .pmpro_checkout-fields > * {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Form field spacing + label rhythm. */
body.pmpro-checkout #pmpro_form .pmpro_checkout-field {
  margin: 0 0 16px 0 !important;
}
body.pmpro-checkout #pmpro_form .pmpro_checkout-field label {
  display: block !important;
  margin: 0 0 6px 0 !important;
}

/* Checkout labels: ensure full-contrast (Astra/PMPro can reduce opacity). */
body.pmpro-checkout #pmpro_form label.pmpro_form_label,
body.pmpro-checkout #pmpro_form .pmpro_checkout-field label,
body.pmpro-checkout #pmpro_form .pmpro_form_field label,
body.pmpro-checkout #pmpro_form .pmpro_form_fields label {
  color: var(--jst-text-main, #f8fafc) !important;
  opacity: 1 !important;
}

/* Login labels: use Brand Palette (Main Text) color. */
#pmpro_login label,
section.pmpro_login label,
.pmpro_login #loginform label,
.pmpro_login form[name="loginform"] label {
  color: var(--jst-text-main, #f8fafc) !important;
  opacity: 1 !important;
}

/* Lost/reset password submit: match Home page .jst-btn typography. */
body.pmpro-login #pmpro_login input.pmpro_btn.pmpro_btn-submit,
body.pmpro-login #pmpro_login form#lostpasswordform input[type="submit"],
body.pmpro-login #pmpro_login form.pmpro_form input.pmpro_btn.pmpro_btn-submit {
  font-weight: var(--jst-btn-font-weight, 700) !important;
  font-size: var(--jst-btn-font-size, 1.1rem) !important;
  letter-spacing: var(--jst-btn-letter-spacing, 0.05em) !important;
}

/* Checkout submit button: match Pricing page .jst-btn styling exactly. */
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit .pmpro_btn,
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit input[type="submit"],
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit button[type="submit"],
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_checkout-submit .pmpro_btn,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_checkout-submit input[type="submit"],
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_checkout-submit button[type="submit"],
body.pmpro-checkout #pmpro_form input#pmpro_btn-submit,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form input#pmpro_btn-submit,
body.pmpro-checkout #pmpro_form input#pmpro_btn-submit.pmpro_btn-submit-checkout,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form input#pmpro_btn-submit.pmpro_btn-submit-checkout,
body.pmpro-checkout #pmpro_form .pmpro_btn.pmpro_btn-submit,
body.pmpro-checkout #pmpro_form .pmpro_btn-submit {
  display: inline-block !important;
  width: auto !important;
  background: var(--jst-btn-bg, #ffffff) !important;
  color: var(--jst-btn-text, #000000) !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  padding: 20px 40px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  font-size: 1.1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.pmpro-checkout #pmpro_form .pmpro_checkout-submit .pmpro_btn:hover,
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit input[type="submit"]:hover,
body.pmpro-checkout #pmpro_form .pmpro_checkout-submit button[type="submit"]:hover,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_checkout-submit .pmpro_btn:hover,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_checkout-submit input[type="submit"]:hover,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form .pmpro_checkout-submit button[type="submit"]:hover,
body.pmpro-checkout #pmpro_form input#pmpro_btn-submit:hover,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form input#pmpro_btn-submit:hover,
body.pmpro-checkout #pmpro_form input#pmpro_btn-submit.pmpro_btn-submit-checkout:hover,
body.pmpro-checkout.pmpro-variation_1 #pmpro_form input#pmpro_btn-submit.pmpro_btn-submit-checkout:hover,
body.pmpro-checkout #pmpro_form .pmpro_btn.pmpro_btn-submit:hover,
body.pmpro-checkout #pmpro_form .pmpro_btn-submit:hover {
  background: var(--jst-btn-bg-hover, #cbd5e1) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3) !important;
  color: var(--jst-btn-text, #000000) !important;
}

/* Final profile button overrides (must stay at end to beat inline/theme profile styles). */
html body.pmpro-member-profile-edit .pmpro_form .pmpro_actions .pmpro_btn.pmpro_btn-submit-update-profile,
html body.pmpro-member-profile-edit .pmpro_form .pmpro_actions button.pmpro_btn.pmpro_btn-submit-update-profile,
html body.pmpro-member-profile-edit .pmpro_form .pmpro_actions input.pmpro_btn.pmpro_btn-submit-update-profile,
html body.pmpro-member-profile-edit .pmpro_form button.pmpro_btn.pmpro_btn-submit-update-profile,
html body.pmpro-member-profile-edit .pmpro_form input.pmpro_btn.pmpro_btn-submit-update-profile {
  background: #2f6fe4 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

html body.pmpro-member-profile-edit .pmpro_form .pmpro_actions .pmpro_btn.pmpro_btn-submit-update-profile:hover,
html body.pmpro-member-profile-edit .pmpro_form .pmpro_actions .pmpro_btn.pmpro_btn-submit-update-profile:focus,
html body.pmpro-member-profile-edit .pmpro_form .pmpro_btn.pmpro_btn-submit-update-profile:hover,
html body.pmpro-member-profile-edit .pmpro_form .pmpro_btn.pmpro_btn-submit-update-profile:focus {
  background: #1d4ed8 !important;
  transform: scale(1.02) !important;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.18) !important;
}

html body.pmpro-member-profile-edit .pmpro_form .pmpro_actions .pmpro_btn.pmpro_btn-cancel,
html body.pmpro-member-profile-edit .pmpro_form .pmpro_btn.pmpro_btn-cancel,
html body.pmpro-member-profile-edit .pmpro_form a.pmpro_btn.pmpro_btn-cancel,
html body.pmpro-member-profile-edit .pmpro_form button.pmpro_btn.pmpro_btn-cancel {
  border-radius: 999px !important;
}

/* End of skin */
