#subscriptionSection {
  margin: 0 auto;
  max-width: 980px;
}

.billing-shell {
  background: #ffffff;
  border: 1px solid #dce4ee;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 47, 87, 0.08);
  padding: 28px;
}

.billing-shell h2 {
  margin: 0 0 8px;
  color: #0f2f57;
}

.billing-account {
  color: #64748b;
  margin: 0 0 20px;
}

.billing-access-message,
.billing-notice {
  border-radius: 12px;
  line-height: 1.55;
  margin: 14px 0;
  padding: 14px 16px;
}

.billing-access-message {
  background: #eef4fb;
  border: 1px solid #c9d9ec;
  color: #0f2f57;
}

.billing-notice {
  background: #f8fafc;
  border: 1px solid #dce4ee;
  color: #475569;
}

.billing-notice:empty {
  display: none;
}

.billing-notice.success {
  background: #ecfdf3;
  border-color: #a7e2bd;
  color: #166534;
}

.billing-notice.error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}

.billing-plan-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 22px;
}

.billing-plan {
  border: 1px solid #dce4ee;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 22px;
}

.billing-plan h3 {
  color: #0f2f57;
  margin: 0 0 8px;
}

.billing-plan p {
  color: #64748b;
  line-height: 1.55;
}

.billing-price {
  color: #0f2f57 !important;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 2px 0 10px !important;
}

.billing-plan button {
  margin-top: auto;
  width: 100%;
}

.billing-plan button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.billing-actions,
.billing-toolbar-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.billing-actions {
  border-top: 1px solid #e5eaf0;
  margin-top: 24px;
  padding-top: 20px;
}

.billing-footnote {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 18px 0 0;
}

@media (max-width: 640px) {
  .billing-shell {
    padding: 20px;
  }

  .billing-actions,
  .billing-toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .billing-actions button,
  .billing-toolbar-actions button {
    width: 100%;
  }
}
