.pm-register-wrap { max-width: 720px; }
.pm-register-form .pm-field { margin: 0 0 16px; }
.pm-register-form .pm-field label { display:block; margin-bottom: 6px; font-weight: 500; }
.pm-register-form .pm-field input, .pm-register-form .pm-field select { display:block; width:100%; max-width:100%; box-sizing:border-box; padding: 11px 12px; border:1px solid #c9c9c9; border-radius:4px; background:#fff; color:#242424; }
.pm-register-form h3 { margin: 25px 0 15px; }
.pm-register-form .pm-check { margin: 24px 0; }
.pm-register-form .pm-check input { margin-right: 8px; }
.pm-register-form #pm-company-fields[hidden] { display:none !important; }
.pm-register-form .pm-help { color:#666; font-size: 0.9em; }
.pm-register-form button.pm-submit, .pm-register-form button.pm-submit:hover, .pm-register-form button.pm-submit:focus { color:#fff !important; border:0 !important; border-radius:4px; padding:12px 28px; cursor:pointer; }
.pm-register-form button.pm-submit { background:#6F7069 !important; }
.pm-register-form button.pm-submit:hover, .pm-register-form button.pm-submit:focus { background:#585952 !important; }
.pm-errors { padding:14px 18px; margin-bottom:20px; border:1px solid #bb3333; color:#8e2020; }
.pm-register-form .pm-vat-feedback { margin: -9px 0 14px; font-size: 0.9em; min-height: 1.2em; }
.pm-register-form .pm-vat-valid { color: #237b3a; }
.pm-register-form .pm-vat-invalid { color: #ba2626; }
.pm-register-form .pm-vat-unavailable, .pm-register-form .pm-vat-manual_review, .pm-register-form .pm-vat-checking { color: #666; }

/* Headings within the shortcode form; the popup's Elementor title is styled in its Heading widget. */
.pm-register-form h3 { font-size: 24px; font-weight: 600; line-height: 1.3; }
/* Confirmation is shown in the existing Elementor popup, not a separate page. */
.pm-register-form[hidden] { display: none !important; }
.pm-success-panel { box-sizing: border-box; padding: 30px 18px; text-align: center; }
.pm-success-icon { color: #318348; font-size: 44px; line-height: 1; }
.pm-success-panel h2 { font-size: 28px; margin: 18px 0 14px; line-height: 1.25; }
.pm-success-panel p { line-height: 1.6; }
.pm-success-ok { background: #6F7069 !important; color: #fff !important; border: 0 !important; border-radius: 4px; padding: 12px 42px; margin-top: 16px; cursor: pointer; }
.pm-success-ok:hover { background: #585952 !important; }

/* Hide only the separate Elementor Heading when this popup displays registration success.
   :has() automatically restores the title when the success panel is removed. */
.elementor-popup-modal:has(.pm-success-panel) #polarmoss-register-title,
.dialog-widget:has(.pm-success-panel) #polarmoss-register-title,
.elementor-location-popup:has(.pm-success-panel) #polarmoss-register-title {
  display: none !important;
}

/* Only one country selector is visible for business customers. */
.pm-register-form .pm-field[hidden] { display: none !important; }
