.pcfl-wrap {
  max-width: 560px;
  margin: 24px auto;
  font-family: inherit;
}

.pcfl-form {
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.pcfl-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.pcfl-item-name {
  font-weight: 700;
  color: #111827;
}

.pcfl-amount {
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.pcfl-field {
  margin-bottom: 16px;
}

.pcfl-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1f2937;
}

.pcfl-field label span {
  color: #b91c1c;
}

.pcfl-field input,
.pcfl-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  line-height: 1.4;
  background: #ffffff;
  color: #111827;
}

.pcfl-field input:focus,
.pcfl-field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.pcfl-paypal-area {
  margin-top: 18px;
}

.pcfl-help-text {
  margin-bottom: 10px;
  color: #475467;
  font-size: 14px;
}

.pcfl-status {
  min-height: 22px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.pcfl-status.pcfl-error,
.pcfl-notice.pcfl-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
}

.pcfl-status.pcfl-success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 12px;
}

.pcfl-status.pcfl-info {
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 10px 12px;
}

@media (max-width: 640px) {
  .pcfl-wrap {
    margin: 16px 0;
  }

  .pcfl-form {
    padding: 18px;
    border-radius: 14px;
  }

  .pcfl-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

.pcfl-fallback-button {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 10px;
  padding: 13px 16px;
  margin-top: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: #ffc439;
  color: #111827;
}

.pcfl-fallback-button:hover,
.pcfl-fallback-button:focus {
  filter: brightness(0.96);
  outline: none;
}

.pcfl-fallback-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.pcfl-fallback-note {
  margin-top: 8px;
  color: #475467;
  font-size: 13px;
  line-height: 1.45;
}
