/* =========================================================
   AC Multi-Step Registration — UI from example/Register.html
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

.page-header {
  display: none;
}

.entry-content .ac-register-wrapper,
.elementor .ac-register-wrapper,
.ac-register-wrapper {
  font-family: 'Noto Sans', sans-serif;
  color: #3a3938;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 24px 72px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
}

body.ac-register-page .site-content,
body.ac-register-page .entry-content,
body.page-id-9 .site-content,
body.page-id-9 .entry-content {
  background: #f0eee3;
}

.ac-register-wrapper ::selection {
  background: #f00018;
  color: #fff;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Progress */
.ac-steps-header {
  margin-bottom: 34px;
  padding: 0;
  border: none;
  background: transparent;
}

.ac-steps-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ac-step-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.ac-step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  color: #908e88;
  border: 1.5px solid rgba(58, 57, 56, 0.15);
  transition: all 0.2s ease;
}

.ac-step-item.active .ac-step-circle,
.ac-step-item.completed .ac-step-circle {
  background: #f00018;
  border-color: #f00018;
  color: #fff;
}

.ac-step-item.active .ac-step-circle {
  box-shadow: 0 0 0 4px rgba(240, 0, 24, 0.15);
}

.ac-step-line {
  flex: 1;
  height: 2px;
  background: rgba(58, 57, 56, 0.15);
  min-width: 12px;
}

.ac-step-line.completed {
  background: #f00018;
}

.ac-step-name,
.ac-step-label-text {
  display: none;
}

/* Steps */
.ac-step-content {
  display: none;
}

.ac-step-content.active {
  display: block;
}

.ac-upgrade-hidden {
  display: none !important;
}

.ac-wizard-panel {
  width: 100%;
}

.ac-hero-copy {
  text-align: center;
  margin-bottom: 8px;
}

.ac-step-heading {
  font-family: 'Noto Sans', sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  color: #3a3938;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.ac-step-desc {
  font-size: 17px;
  line-height: 1.55;
  color: #5f5850;
  margin: 0 auto 22px;
  max-width: 620px;
}

.ac-chosen-tier {
  font-size: 15px;
  max-width: none;
  margin: 0 0 22px;
  text-align: left;
}

.ac-matrix-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #776f65;
  margin: 18px 0 16px;
}

/* Feature matrix */
.ac-matrix-breakout {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 94vw);
  margin-bottom: 8px;
}

.ac-matrix-card {
  background: #fff;
  border: 2.5px solid #3a3938;
  border-radius: 18px;
  box-shadow: 6px 6px 0 #3a3938;
  overflow: auto;
}

.ac-matrix-grid {
  display: grid;
  min-width: 720px;
}

.ac-matrix-cell {
  box-sizing: border-box;
  padding: 13px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  justify-content: center;
  border-bottom: 1px solid rgba(58, 57, 56, 0.1);
  background: #fff;
}

.ac-matrix-label-cell {
  align-items: flex-start;
  text-align: left;
  padding: 13px 16px;
}

.ac-matrix-best-for {
  justify-content: flex-end;
}

.ac-matrix-best-label {
  font-style: italic;
  font-weight: 600;
  font-size: 11px;
  color: #908e88;
}

.ac-matrix-best-text {
  font-size: 12px;
  font-weight: 600;
  color: #776f65;
  line-height: 1.3;
  font-style: italic;
}

.ac-matrix-corner {
  background: #f0eee3;
  justify-content: flex-end;
  padding: 18px 16px;
}

.ac-matrix-corner-label {
  font-weight: 800;
  font-size: 13px;
  color: #3a3938;
  line-height: 1.25;
}

.ac-matrix-head {
  background: #f0eee3;
  padding: 18px 12px;
}

.ac-matrix-popular {
  background: rgba(240, 0, 24, 0.05);
}

.ac-matrix-head.ac-matrix-popular {
  background: rgba(240, 0, 24, 0.1);
}

.ac-matrix-special {
  background: rgba(0, 152, 199, 0.045);
  border-left: 2.5px solid #3a3938;
}

.ac-matrix-head.ac-matrix-special {
  background: rgba(0, 152, 199, 0.09);
}

.ac-matrix-popular-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: #f00018;
  color: #fff;
  margin-bottom: 4px;
}

.ac-matrix-tier-name {
  font-weight: 800;
  font-size: 15px;
  color: #3a3938;
}

.ac-matrix-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.ac-matrix-price {
  font-weight: 700;
  font-size: 18px;
  margin-top: 4px;
  color: #3a3938;
}

.ac-matrix-feature-label {
  font-weight: 700;
  font-size: 14.5px;
  color: #3a3938;
  line-height: 1.3;
}

.ac-matrix-feature-sub {
  font-size: 12px;
  color: #908e88;
  line-height: 1.3;
}

.ac-matrix-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(58, 57, 56, 0.06);
}

.ac-matrix-note {
  font-size: 11px;
  font-weight: 600;
  color: #776f65;
  line-height: 1.25;
}

.ac-matrix-text-cell {
  font-size: 14px;
  font-weight: 600;
  color: #3a3938;
  line-height: 1.3;
}

.ac-matrix-empty {
  font-size: 16px;
  color: rgba(58, 57, 56, 0.22);
}

.ac-matrix-action {
  padding: 16px 10px;
  border-bottom: none;
}

.ac-matrix-actions-label {
  border-bottom: none;
}

.ac-matrix-select {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  width: 100%;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ac-matrix-select:hover:not(:disabled):not(.is-disabled) {
  transform: translateY(-1px);
  opacity: 0.95;
}

.ac-matrix-select.selected {
  box-shadow: 0 0 0 3px rgba(240, 0, 24, 0.25);
}

.ac-matrix-select:disabled,
.ac-matrix-select.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  filter: grayscale(0.25);
  pointer-events: none;
}

.ac-plan-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ac-matrix-footnote {
  font-size: 13px;
  line-height: 1.5;
  color: #5f5850;
  margin: 16px 4px 0;
  text-align: left;
}

.ac-step1-fallback[hidden] {
  display: none !important;
}

.ac-mode-upgrade .ac-step1-fallback {
  display: inline-flex;
  margin: 24px auto 0;
}

/* Fields */
.ac-inp,
.ac-register-wrapper input.ac-inp,
.ac-register-wrapper textarea.ac-inp,
.ac-register-wrapper select.ac-inp {
  font-family: 'Noto Sans', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(58, 57, 56, 0.18);
  background: #fff;
  color: #3a3938;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease;
}

.ac-inp:focus,
.ac-register-wrapper input.ac-inp:focus,
.ac-register-wrapper textarea.ac-inp:focus,
.ac-register-wrapper select.ac-inp:focus {
  border-color: #f00018;
}

.ac-inp.error {
  border-color: #f00018;
}

.ac-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ac-fields-half {
  gap: 14px;
}

.ac-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #3a3938;
}

.ac-field-full {
  grid-column: 1 / -1;
}

.ac-req {
  color: #f00018;
}

.ac-optional-tag {
  font-weight: 600;
  color: #908e88;
}

.ac-error {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #f00018;
  min-height: 0;
}

.ac-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(58, 57, 56, 0.18);
  background: #fff;
  font-family: 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #3a3938;
  cursor: pointer;
  opacity: 1;
  margin-bottom: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.ac-google-btn:hover:not(:disabled) {
  border-color: rgba(58, 57, 56, 0.35);
  transform: translateY(-1px);
}

.ac-google-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ac-or-divider {
  text-align: center;
  font-size: 13px;
  color: #908e88;
  margin-bottom: 22px;
}

/* Voices */
.ac-voice-limit-hint {
  font-size: 14px;
  font-weight: 700;
  color: #00799e;
  margin: 0 0 22px;
}

.ac-voices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

.ac-voice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  border: 1.5px solid rgba(58, 57, 56, 0.12);
  margin: 0;
  transition: border-color 0.15s ease;
}

.ac-voice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ac-voice-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px solid rgba(58, 57, 56, 0.25);
}

.ac-voice-card.selected {
  border: 2px solid #0098c7;
}

.ac-voice-card.selected .ac-voice-check {
  background: #0098c7;
  border-color: #0098c7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.ac-voice-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ac-voice-label {
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

/* Summary / payment */
.ac-summary-box {
  background: #f4f3eb;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.ac-summary-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.ac-summary-name {
  font-weight: 700;
  font-size: 17px;
}

.ac-summary-sub {
  font-size: 13.5px;
  color: #5f5850;
}

.ac-summary-price {
  font-weight: 700;
  font-size: 22px;
}

.ac-summary-seats {
  margin-top: 10px;
  font-size: 13.5px;
  color: #5f5850;
}

.ac-summary-compact-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.ac-pay-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.ac-pay-pill {
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.ac-pay-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ac-pay-pill span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(58, 57, 56, 0.18);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #3a3938;
}

.ac-pay-pill input:checked + span {
  background: #3a3938;
  border-color: #3a3938;
  color: #fff;
}

.ac-pay-pill-hidden {
  display: none !important;
}

.ac-card-fields,
.ac-invoice-box {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.ac-invoice-box h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.ac-stripe-element {
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(58, 57, 56, 0.18);
  background: #fff;
}

.ac-free-notice,
.ac-pmpro-gateway-notice {
  background: #f4f3eb;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: #5f5850;
}

/* Consent */
.ac-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #3a3938;
  margin: 0 0 14px;
  cursor: pointer;
}

.ac-consent-row input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #f00018;
  flex-shrink: 0;
}

/* Nav buttons */
.ac-nav-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.ac-btn-continue,
a.ac-btn-continue {
  font-family: 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  background: #f00018;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ac-btn-continue:hover,
a.ac-btn-continue:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  color: #fff !important;
}

.ac-btn-back {
  font-family: 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #3a3938;
  background: transparent;
  border: 1.5px solid #3a3938;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
}

.ac-btn-continue:disabled,
.ac-btn-back:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Done */
.ac-done-panel {
  text-align: center;
  padding: 24px 0;
}

.ac-done-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffe6e8;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.ac-done-cta {
  margin-top: 10px;
}

.ac-confirm-details {
  text-align: left;
  background: #f4f3eb;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 auto 22px;
  max-width: 420px;
}

.ac-confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(58, 57, 56, 0.08);
  font-size: 14px;
}

.ac-confirm-row:last-child {
  border-bottom: none;
}

/* Loader */
.ac-global-loader {
  position: absolute;
  inset: 0;
  background: rgba(240, 238, 227, 0.86);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  border-radius: 12px;
}

.ac-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(240, 0, 24, 0.2);
  border-top-color: #f00018;
  border-radius: 50%;
  animation: ac-spin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes ac-spin {
  to {
    transform: rotate(360deg);
  }
}

.ac-register-error {
  color: #f00018;
  font-weight: 600;
  padding: 16px;
}

@media (max-width: 720px) {
  .ac-register-wrapper {
    padding: 28px 16px 56px;
  }

  .ac-fields-grid,
  .ac-voices-grid {
    grid-template-columns: 1fr;
  }

  .ac-matrix-breakout {
    width: 100%;
    left: 0;
    transform: none;
  }

  .ac-nav-btns {
    flex-direction: column-reverse;
  }

  .ac-btn-continue,
  .ac-btn-back {
    width: 100%;
  }
}
