.register-shell {
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid #dce4f1;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(17, 24, 38, 0.08);
}

.plan-overview {
  margin: 1.5rem 0;
  padding: 1.2rem;
  border: 1px solid #dce4f1;
  border-radius: 18px;
  background: linear-gradient(180deg, #f9fbff 0%, #f2f6fb 100%);
}

.plan-overview-header {
  margin-bottom: 1rem;
}

.plan-overview-header h2 {
  margin: 0.2rem 0 0.45rem;
  color: #192a40;
  font-size: 1.25rem;
}

.plan-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.plan-summary-card {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid #d6deec;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 38, 0.05);
}

.plan-summary-card-featured {
  border-color: #e85130;
  box-shadow: 0 14px 28px rgba(232, 81, 48, 0.16);
}

.plan-badge {
  margin: 0;
  color: #c4472c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-tier,
.plan-price,
.plan-summary {
  margin: 0;
}

.plan-tier {
  color: #192a40;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.plan-price {
  color: #192a40;
  font-size: 1.25rem;
  font-weight: 800;
}

.plan-summary {
  color: #51627b;
  font-size: 0.92rem;
}

.plan-points {
  margin: 0;
  padding-left: 1.15rem;
  color: #334760;
  font-size: 0.9rem;
}

.plan-points li + li {
  margin-top: 0.35rem;
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;
  margin: 1.4rem 0 1.1rem;
  padding: 0;
}

.wizard-steps li {
  border: 1px solid #d7deeb;
  border-radius: 999px;
  background: #f8fbff;
  color: #5a6982;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.55rem;
}

.wizard-steps li.active {
  background: #192a40;
  color: #fff;
  border-color: #192a40;
}

.wizard-alert {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid #f5d2c9;
  background: #fff6f3;
  color: #7a2d1d;
  font-size: 0.92rem;
}

.wizard-panel {
  display: none;
  border: 1px solid #e0e7f2;
  border-radius: 16px;
  padding: 1rem;
  background: #fcfdff;
}

.wizard-panel.active {
  display: block;
}

.wizard-panel h2 {
  margin-top: 0.1rem;
  margin-bottom: 0.55rem;
  color: #192a40;
  font-size: 1.2rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field-row {
  margin-bottom: 0.8rem;
}

.field-row label {
  display: block;
  margin-bottom: 0.36rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334760;
}

.field-row small {
  color: #667892;
  font-size: 0.8rem;
}

.field-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ccd7e9;
  padding: 0.68rem 0.76rem;
  font: inherit;
  color: #17263a;
  background: #ffffff;
}

.field-row textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.field-row input:focus,
.field-row select:focus,
.field-row textarea:focus {
  outline: 2px solid #b3cbf4;
  border-color: #80a7e0;
}

.status-line {
  margin-top: 0.3rem;
  min-height: 1.3rem;
  font-size: 0.9rem;
  color: #51627b;
}

.status-line.good {
  color: #0f7c44;
}

.status-line.bad {
  color: #983424;
}

.plan-grid {
  margin: 1rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.plan-card {
  border: 1px solid #d6deec;
  border-radius: 14px;
  padding: 0.9rem;
  background: #ffffff;
  display: grid;
  gap: 0.2rem;
  cursor: pointer;
}

.plan-card input {
  display: none;
}

.plan-card:has(input:checked) {
  border-color: #e85130;
  box-shadow: 0 0 0 2px #ffd7ce inset;
}

.muted {
  color: #61738e;
  font-size: 0.9rem;
}

.wizard-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.install-card {
  border: 1px solid #d8e1ef;
  border-radius: 14px;
  padding: 0.9rem;
  background: #fff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d0d9e9;
  background: #f2f6fd;
  color: #30445f;
  padding: 0.14rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: lowercase;
}

.status-badge.pending,
.status-badge.installing {
  background: #fff4d8;
  border-color: #f0d68d;
  color: #855f00;
}

.status-badge.done {
  background: #e8f8ee;
  border-color: #a8dfbd;
  color: #0f7c44;
}

.status-badge.failed {
  background: #ffe8e8;
  border-color: #efb1b1;
  color: #8a1f1f;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 960px) {
  .plan-overview-grid,
  .wizard-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .field-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .plan-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wizard-steps {
    padding: 1rem;
  }

  .plan-overview-grid,
  .wizard-steps {
    grid-template-columns: 1fr;
  }

  .field-inline {
    grid-template-columns: 1fr;
  }
}
