/* Donate Page Styles - Clean & Minimal */

/* Main Container */
.main-container {
  padding-top: 5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Donate Content Wrapper */
.donate-content {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
.donate-header {
  text-align: center;
  margin-bottom: 3rem;
}

.donate-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.donate-description {
  font-size: 1rem;
  opacity: 0.7;
  color: var(--text-color);
  line-height: 1.6;
}

/* Donation Wizard */
.donation-wizard {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2.5rem;
  width: 100%;
}

/* Wizard Steps: instant swap, no slide animation */
.wizard-step {
  display: none;
  flex-direction: column;
}

.wizard-step.active {
  display: flex;
}

.wizard-step h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-align: center;
}

.step-progress {
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--text-color);
}

/* Back Button: inline row above the title */
.back-btn {
  align-self: flex-start;
  min-height: var(--min-touch-target-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-color);
  cursor: pointer;
  transition: border-color 0.2s;
  padding: 0 1rem;
  margin-bottom: 1.5rem;
}

.back-btn:hover {
  border-color: var(--card-hover-border);
}

.back-btn i {
  font-size: 1.1rem;
}

.back-label {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Step Options */
.step-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

a.step-option,
button.step-option {
  padding: 1.25rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
  text-align: left;
  width: 100%;
  color: var(--text-color);
  text-decoration: none;
  font: inherit;
}

.step-option:hover {
  border-color: var(--card-hover-border);
}

.option-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.option-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
}

.option-main i {
  font-size: 1.5rem;
  opacity: 0.7;
}

.option-subtext {
  font-size: 0.85rem;
  opacity: 0.75;
  color: var(--text-color);
  margin-left: 2.5rem;
}

/* Payment Details */
.payment-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

/* Bank Info */
.bank-info {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  color: var(--text-color);
  opacity: 0.85;
  margin: 0 0 1rem 0;
}

/* Primary Button (link or button) */
.primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--tag-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-color);
  cursor: pointer;
  transition: border-color 0.2s;
  font-weight: 500;
  font-size: 1rem;
  width: 100%;
  text-decoration: none;
  font-family: inherit;
}

.primary-btn:hover {
  border-color: var(--card-hover-border);
}

/* Session ID */
.session-id {
  display: none;
  font-size: 0.8rem;
  opacity: 0.5;
  text-align: center;
  margin-top: auto;
  padding-top: 1.5rem;
  font-family: 'Courier New', monospace;
  color: var(--text-color);
}

/* Large Donation CTA */
.large-donation-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.large-donation-note p {
  font-size: 0.85rem;
  color: var(--text-color);
  text-align: center;
  margin: 0;
  opacity: 1;
  line-height: 1.5;
}

.large-donation-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.8rem;
  transition: border-color 0.2s;
}

.large-donation-cta:hover {
  border-color: var(--card-hover-border);
}

.large-donation-cta .large-cta-arrow {
  display: inline-flex;
  align-items: center;
  opacity: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s, width 0.2s;
}

.large-donation-cta:hover .large-cta-arrow {
  opacity: 1;
  width: 1.25em;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
  color: var(--text-color);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

footer p {
  opacity: 0.7;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .main-container {
    padding-top: 5rem;
    justify-content: flex-start;
  }

  .donate-content {
    padding: 1.5rem;
  }

  .donate-header {
    margin-bottom: 2rem;
  }

  .donate-header h1 {
    font-size: 1.75rem;
  }

  .donation-wizard {
    padding: 2rem 1.5rem;
    min-height: var(--donation-wizard-min-height-mobile, 380px);
  }

  .wizard-step {
    padding: 2rem 1.5rem;
  }

  .wizard-step h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }


  .back-btn i {
    font-size: 1rem;
  }

  .step-option {
    padding: 1rem 1.25rem;
  }

  .option-subtext {
    margin-left: 2.25rem;
    font-size: 0.8rem;
  }
}

#project-name:empty {
  display: none;
}
