@import url('./shared.css');

body {
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.payment-card {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 520px;
  text-align: center;
}

.payment-card h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.payment-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.plan-box {
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: capitalize;
}

.plan-price {
  font-size: clamp(1.5rem, 8vw + 0.5rem, 2.5rem);
  word-break: break-word;
  font-weight: 900;
  margin: 0.5rem 0;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  text-align: center;
  display: none;
}

.message.error {
  background: #fee2e2;
  color: #991b1b;
}

.btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

.btn-primary:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.trial-badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  font-weight: 800;
  font-size: 0.95rem;
}

.trial-note {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-tax {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}