/* Inline PayPal subscription modal overlay */

.paypal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 18, 48, 0.72);
  backdrop-filter: blur(4px);
}

.paypal-modal-overlay[hidden] {
  display: none !important;
}

.paypal-modal-panel {
  width: min(440px, 100%);
  background: var(--white, #fff);
  border-radius: var(--radius-lg, 20px);
  box-shadow: var(--shadow-lg, 0 8px 40px rgba(0, 52, 255, 0.2));
  padding: 28px 24px 24px;
  position: relative;
}

.paypal-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light, #595959);
  cursor: pointer;
  border-radius: 8px;
}

.paypal-modal-close:hover {
  background: rgba(0, 52, 255, 0.08);
  color: var(--blue, #0034ff);
}

.paypal-modal-title {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue, #0034ff);
}

.paypal-modal-sub {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-light, #595959);
}

.paypal-modal-mount {
  min-height: 52px;
}

.paypal-modal-status {
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: var(--text-mid, #555);
}

.paypal-modal-status.is-error {
  color: #dc2626;
}

.paypal-modal-status.is-success {
  color: #059669;
}
