/* ===================================
   JUNGLE CLEANING - PAYMENT PAGE
   =================================== */

.payment-page-section {
  padding: 8rem 0 var(--spacing-xl);
  background: var(--color-cream);
  min-height: 90vh;
}

/* Two-column layout */
.payment-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--spacing-xl);
  align-items: start;
}

/* ── LEFT: Info Column ───────────────────────────── */
.payment-info-col {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

/* Premium IBAN card */
.info-card-premium {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.icp-header {
  background: var(--gradient-green);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.icp-icon {
  font-size: 2.2rem;
}
.icp-header h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 2px;
}
.icp-header p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.iban-grid {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.iban-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdfaf6;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.iban-row.highlight-row {
  background: #f0fdf4;
  border-color: rgba(96, 165, 97, 0.2);
}

.iban-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-toffee);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.iban-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-black);
}

.iban-value.mono {
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--color-sage-dark);
}

/* Copyable IBAN */
.iban-value.copyable {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: all;
}

.copy-badge {
  background: var(--color-sage);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-primary);
  letter-spacing: 0;
  white-space: nowrap;
}

.copy-badge:hover {
  background: var(--color-sage-dark);
}

/* Disclaimer box */
.disclaimer-box {
  background: #fff8e1;
  border-left: 4px solid var(--color-sun);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.db-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.db-text {
  font-size: 0.88rem;
  color: #7a6000;
  line-height: 1.5;
}
.db-text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

/* Trust list */
.trust-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-list li {
  font-size: 0.9rem;
  color: var(--color-sage-dark);
  font-weight: 600;
  padding: 8px 12px;
  background: #f0fdf4;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 97, 0.12);
}

/* WA confirm button */
.btn-wa-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-wa-confirm:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* ── RIGHT: Form Column ──────────────────────────── */
.payment-form-col {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  padding: var(--spacing-xl);
}

.form-header {
  margin-bottom: var(--spacing-lg);
}
.form-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-toffee-dark);
  margin-bottom: 8px;
}
.form-header p {
  color: var(--color-toffee);
  font-size: 1rem;
}

/* Form groups */
.ppf-group {
  margin-bottom: var(--spacing-md);
}
.ppf-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-black);
  margin-bottom: 6px;
}
.ppf-group label span {
  color: #e53e3e;
}
.ppf-group label .opt {
  color: var(--color-toffee);
  font-weight: 400;
  font-size: 0.82rem;
}

.ppf-group input[type="text"],
.ppf-group input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 1rem;
  background: #fdfaf6;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  color: var(--color-black);
}
.ppf-group input:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(96, 165, 97, 0.15);
  background: #fff;
}

/* Field errors */
.field-error {
  color: #c62828;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 5px;
  min-height: 16px;
}

/* Upload Zone */
.upload-zone {
  border: 2.5px dashed rgba(96, 165, 97, 0.4);
  border-radius: 12px;
  background: #f8fffe;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  overflow: hidden;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--color-sage);
  background: #f0fdf4;
}

.uz-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: var(--spacing-md);
  text-align: center;
}
.uz-icon {
  font-size: 2.2rem;
}
.uz-inner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-toffee);
}
.uz-hint {
  font-size: 0.8rem !important;
  opacity: 0.7;
}

.uz-preview {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px;
}
.uz-preview img {
  max-height: 160px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
}
.uz-preview button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Global form error */
.form-error-global {
  background: #fdecea;
  color: #c62828;
  border-left: 4px solid #c62828;
  padding: 12px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: var(--spacing-md);
}

/* Submit button */
.btn-submit-proof {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-submit-proof:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-legal {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--color-toffee);
  text-align: center;
  opacity: 0.8;
}

/* ── Success panel ───────────────────────────────── */
.success-panel {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl);
  animation: fadeInUp 0.5s ease forwards;
}

.sp-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  animation: bounce-in 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: block;
}

.success-panel h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-sage-dark);
  margin-bottom: 10px;
}

.success-panel p {
  font-size: 1rem;
  color: var(--color-toffee);
  margin-bottom: 6px;
}

.sp-redirect {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-sage-dark);
  margin-top: 14px;
}

.success-panel .btn-primary {
  margin-top: var(--spacing-md);
}

/* ── Animations ──────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce-in {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }
  .payment-info-col {
    position: static;
  }
}

@media (max-width: 480px) {
  .payment-page-section {
    padding: 6rem 0 var(--spacing-lg);
  }
  .payment-form-col {
    padding: var(--spacing-md);
  }
  .form-header h1 {
    font-size: 1.6rem;
  }
}
