.register-wizard-container {
  width: 100%;
}
.register-wizard-container.register-wizard-container--billing {
  max-width: min(100%, 56rem) !important;
  width: 100%;
}

.register-billing-step .register-step-header {
  margin-bottom: 0.75rem;
}
.register-billing-step .register-step-header .register-step-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7367f0;
  margin-bottom: 0.2rem;
}
.register-billing-step .register-step-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #5e5873;
}
.register-billing-step .register-step-header p {
  color: #b9b9c3;
  margin-bottom: 0;
  font-size: 0.875rem;
}
.register-billing-step .form-label.required::after {
  content: " *";
  color: #ea5455;
}

.register-billing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  width: 100%;
}

.register-billing-main {
  min-width: 0;
}

.register-billing-sidebar {
  min-width: 0;
}

@media (min-width: 768px) {
  .register-billing-layout {
    grid-template-columns: minmax(0, 1fr) 16.5rem;
    gap: 1rem;
  }

  .register-billing-sidebar {
    position: sticky;
    top: 0.5rem;
  }
}
@media (min-width: 992px) {
  .register-billing-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 1.15rem;
  }
}
.register-plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 576px) {
  .register-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.register-plan-card {
  position: relative;
  min-width: 0;
}
.register-plan-card .register-plan-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.register-plan-card .register-plan-input:focus-visible + .register-plan-label {
  outline: 2px solid #7367f0;
  outline-offset: 2px;
}
.register-plan-card .register-plan-input:checked + .register-plan-label {
  border-color: #7367f0;
  box-shadow: 0 0 0 1px rgba(115, 103, 240, 0.2), 0 2px 12px rgba(34, 41, 47, 0.06);
}
.register-plan-card .register-plan-input:checked + .register-plan-label .register-plan-select-indicator {
  border-color: #7367f0;
  background: #7367f0;
}
.register-plan-card .register-plan-input:checked + .register-plan-label .register-plan-select-indicator i,
.register-plan-card .register-plan-input:checked + .register-plan-label .register-plan-select-indicator svg {
  opacity: 1;
  stroke: #fff;
}
.register-plan-card .register-plan-input:checked + .register-plan-label .register-plan-cta {
  background: #7367f0;
  border-color: #7367f0;
  color: #fff;
}
.register-plan-card.register-plan-card--popular .register-plan-label {
  border-color: rgba(115, 103, 240, 0.4);
}
.register-plan-card .register-plan-label {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(235, 233, 241, 0.9);
  border-radius: 0.428rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.register-plan-card .register-plan-label:hover {
  border-color: rgba(115, 103, 240, 0.45);
  box-shadow: 0 2px 12px rgba(34, 41, 47, 0.06);
}
.register-plan-card .register-plan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}
.register-plan-card .register-plan-badge {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: 50rem;
  line-height: 1.3;
}
.register-plan-card .register-plan-badge--popular {
  background: rgba(115, 103, 240, 0.12);
  color: #7367f0;
}
.register-plan-card .register-plan-badge--free {
  background: rgba(40, 199, 111, 0.12);
  color: #28c76f;
}
.register-plan-card .register-plan-badge--cycle {
  background: rgba(130, 134, 139, 0.1);
  color: #82868b;
}
.register-plan-card .register-plan-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  line-height: 1.25;
}
.register-plan-card .register-plan-desc {
  font-size: 0.75rem;
  color: #b9b9c3;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.register-plan-card .register-plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin-bottom: 0.55rem;
}
.register-plan-card .register-plan-price .register-plan-amount {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1;
  color: #7367f0;
}
.register-plan-card .register-plan-price .register-plan-period {
  font-size: 0.75rem;
  color: #b9b9c3;
  font-weight: 500;
}
.register-plan-card .register-plan-features {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  flex: 1;
}
.register-plan-card .register-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.75rem;
  padding: 0.18rem 0;
  line-height: 1.35;
}
.register-plan-card .register-plan-features li i,
.register-plan-card .register-plan-features li svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  margin-top: 0.1rem;
  color: #28c76f;
}
.register-plan-card .register-plan-select-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border: 1.5px solid #ebe9f1;
  border-radius: 50%;
  margin-right: 0.3rem;
}
.register-plan-card .register-plan-select-indicator i,
.register-plan-card .register-plan-select-indicator svg {
  width: 9px;
  height: 9px;
  opacity: 0;
}
.register-plan-card .register-plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(115, 103, 240, 0.35);
  border-radius: 0.375rem;
  color: #7367f0;
  background: rgba(115, 103, 240, 0.04);
  margin-top: auto;
}

.register-billing-summary-card {
  border: 1px solid rgba(235, 233, 241, 0.85);
  border-radius: 0.428rem;
  background: #fff;
  overflow: hidden;
}
.register-billing-summary-card .register-summary-header {
  padding: 0.7rem 0.85rem;
  background: rgba(115, 103, 240, 0.06);
  border-bottom: 1px solid rgba(235, 233, 241, 0.6);
}
.register-billing-summary-card .register-summary-header h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
}
.register-billing-summary-card .register-summary-header p {
  font-size: 0.7rem;
  color: #b9b9c3;
  margin: 0.12rem 0 0;
}
.register-billing-summary-card .register-summary-body {
  padding: 0.7rem 0.85rem;
}
.register-billing-summary-card .register-summary-plan-name {
  font-weight: 700;
  font-size: 0.9rem;
}
.register-billing-summary-card .register-summary-cycle {
  font-size: 0.7rem;
  color: #b9b9c3;
  margin-bottom: 0.55rem;
}
.register-billing-summary-card .register-summary-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.register-billing-summary-card .register-summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  padding: 0.25rem 0;
}
.register-billing-summary-card .register-summary-lines li span:first-child {
  color: #b9b9c3;
}
.register-billing-summary-card .register-summary-lines li span:last-child {
  font-weight: 600;
  text-align: right;
}
.register-billing-summary-card .register-summary-lines li.register-summary-total {
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(235, 233, 241, 0.75);
}
.register-billing-summary-card .register-summary-lines li.register-summary-total span:last-child {
  font-size: 1.05rem;
  font-weight: 800;
  color: #7367f0;
}
.register-billing-summary-card .register-summary-renewal {
  margin-top: 0.5rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.7rem;
  color: #b9b9c3;
  background: rgba(130, 134, 139, 0.06);
  border-radius: 0.35rem;
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
}
.register-billing-summary-card .register-summary-renewal i,
.register-billing-summary-card .register-summary-renewal svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.register-billing-summary-card .register-summary-trust {
  padding: 0.5rem 0.85rem 0.6rem;
  border-top: 1px solid rgba(235, 233, 241, 0.6);
  font-size: 0.6875rem;
  color: #b9b9c3;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.register-billing-summary-card .register-summary-trust i,
.register-billing-summary-card .register-summary-trust svg {
  width: 12px;
  height: 12px;
  color: #28c76f;
}

.register-payment-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(235, 233, 241, 0.65);
  width: 100%;
}
.register-payment-section .register-payment-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.register-payment-section .register-payment-subtitle {
  font-size: 0.75rem;
  color: #b9b9c3;
  margin-bottom: 0.6rem;
}
.register-payment-section .register-tax-notice {
  font-size: 0.7rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.35rem;
  background: rgba(255, 159, 67, 0.1);
  color: #f67800;
  margin-bottom: 0.6rem;
}

.register-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
  gap: 0.45rem;
  max-height: 11.5rem;
  overflow-y: auto;
  padding: 0.15rem;
}

.register-payment-option {
  position: relative;
  min-width: 0;
}
.register-payment-option .register-payment-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.register-payment-option .register-payment-input:checked + .register-payment-label {
  border-color: #7367f0;
  background: rgba(115, 103, 240, 0.06);
  box-shadow: 0 0 0 1px #7367f0;
}
.register-payment-option .register-payment-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 3.5rem;
  padding: 0.4rem 0.3rem;
  margin: 0;
  border: 1px solid rgba(235, 233, 241, 0.9);
  border-radius: 0.375rem;
  background: #fff;
  cursor: pointer;
  text-align: center;
}
.register-payment-option .register-payment-label:hover {
  border-color: rgba(115, 103, 240, 0.4);
}
.register-payment-option .register-payment-label .payment-gateway-icon img {
  max-height: 1.35rem;
  width: auto;
}
.register-payment-option .register-payment-label .register-payment-name {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.register-plan-error {
  display: none;
  font-size: 0.8125rem;
  color: #ea5455;
  margin-top: 0.35rem;
}
.register-plan-error.is-visible {
  display: block;
}

.dark-layout .register-plan-card .register-plan-label,
.dark-layout .register-billing-summary-card,
.dark-layout .register-payment-option .register-payment-label {
  background: #283046;
}
.dark-layout .register-plan-card .register-plan-input:checked + .register-plan-label {
  background: rgba(115, 103, 240, 0.08);
}

@media (max-width: 575.98px) {
  .register-billing-layout {
    grid-template-columns: 1fr;
  }

  .register-payment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 10rem;
  }
}
