
/* ==========================================================================
   Donate Page Styles
   ========================================================================== */

.donate-page-container {
  width: 100%;
  min-height: 80vh;
  background: linear-gradient(135deg, 
    rgba(19,44,23,0.7) 0%, 
    rgba(77,101,40,0.8) 33%, 
    rgba(161,174,28,0.8) 66%, 
    rgba(237,219,128,0.9) 100%
  );
}

/* Donate Section */
.donate-section {
  padding: 100px 20px;
  max-width: 100%;
  margin: 0 auto;
}

.donate-intro {
  text-align: center;
  margin-bottom: 60px;
}

.donate-intro h2 {
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.donate-intro p {
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.6;
  max-width: 100%;
  margin: 0 auto;
}

.donate-content {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Donation Widget Styles
   ========================================================================== */

.donation-widget {
  background: #fff;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.donation-header {
  background: #1a5f1a;
  color: #fff;
  padding: 25px 30px;
  text-align: center;
}

.donation-header h3 {
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

/* Donation Type Toggle */
.donation-type-toggle {
  display: flex;
  padding: 0;
  background: #f5f5f5;
}

.toggle-btn {
  flex: 1;
  padding: 20px;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  position: relative;
}

.toggle-btn.active {
  background: #fff;
  color: #1a5f1a;
}

.toggle-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #fff;
}

.toggle-btn .icon {
  font-size: 1.2rem;
  margin-right: 5px;
}

/* Donation Options */
.donation-options {
  display: none;
  padding: 35px 30px;
}

.donation-options.active {
  display: block;
}

.donation-description {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Amount Buttons */
.amount-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.amount-btn {
  padding: 25px 15px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  text-align: center;
  position: relative;
}

.amount-btn:hover {
  border-color: #c3ba05;
  background: #fff8f0;
  transform: translateY(-2px);
}

.amount-btn.selected {
  border-color: #c3ba05;
  background: #fff8f0;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.2);
}

.amount-btn.recommended {
  border: 2px dashed #c3ba05;
  background: #fffbf0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.amount-btn .star {
  color: #c3ba05;
  font-size: 0.75rem;
  margin-right: 3px;
}

.amount-btn .recommended-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #c3ba05;
  display: block;
}

.amount-btn .amount-value {
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
}

.amount-btn .frequency {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: #666;
  margin-top: 5px;
}

/* Custom Amount Input */
.custom-amount {
  margin-bottom: 20px;
}

.custom-amount input {
  width: 100%;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  text-align: center;
  transition: all 0.3s ease;
}

.custom-amount input:focus {
  outline: none;
  border-color: #c3ba05;
  background: #fff8f0;
}

.custom-amount input::placeholder {
  color: #999;
}

/* Supporters Note */
.supporters-note {
  text-align: center;
  color: #c3ba05;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 0;
}

/* Donation Submit */
.donation-submit {
  padding: 0 30px 35px;
}

.btn-donate {
  width: 100%;
  padding: 18px;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
}

.btn-donate:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.btn-donate:active {
  transform: translateY(0);
}

/* ==========================================================================
   Payment Info Form (Step 2)
   ========================================================================== */

.payment-info-form {
  padding: 30px;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.back-btn {
  background: transparent;
  border: none;
  font-size: 1rem;
  color: #666;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
}

.back-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.form-header h4 {
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 1.5rem;
  color: #333;
  margin: 0;
}

.donation-summary {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  border-left: 4px solid #28a745;
}

.donation-summary p {
  margin: 8px 0;
  font-size: 1rem;
  color: #333;
}

.donation-summary strong {
  color: #28a745;
  font-size: 1.1rem;
}

.donor-info-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.donor-info-form .form-group {
  margin-bottom: 20px;
}

.donor-info-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.donor-info-form input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  transition: all 0.3s ease;
}

.donor-info-form input:focus {
  outline: none;
  border-color: #28a745;
  background: #f8fff9;
}

.payment-method-section {
  margin-top: 35px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.payment-method-section h5 {
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
}

.payment-instructions {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.bank-details {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.bank-detail-item {
  margin-bottom: 20px;
}

.bank-detail-item:last-child {
  margin-bottom: 0;
}

.bank-detail-item label {
  display: block;
  font-weight: 600;
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.copyable-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.bank-value {
  flex: 1;
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 1rem;
  color: #333;
  font-weight: 600;
}

.copy-btn {
  padding: 6px 12px;
  background: #007cba;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  white-space: nowrap;
}

.copy-btn:hover {
  background: #005a87;
  transform: translateY(-1px);
}

.payment-note {
  background: #fff8e1;
  padding: 15px;
  border-radius: 6px;
  border-left: 4px solid #ffc107;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.payment-note strong {
  color: #333;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .donate-section {
    padding: 80px 20px;
  }

  .donate-intro h2 {
    font-size: 2.5rem;
  }

  .donate-intro p {
    font-size: 1.1rem;
  }

  .donate-content {
    padding: 30px 20px;
  }

  .donation-widget {
    border-radius: 10px;
  }

  .donation-header h3 {
    font-size: 1.5rem;
  }

  .toggle-btn {
    font-size: 0.9rem;
    padding: 15px 10px;
  }

  .donation-options {
    padding: 25px 20px;
  }

  .amount-buttons {
    gap: 10px;
  }

  .amount-btn {
    padding: 20px 10px;
    font-size: 1.1rem;
  }

  .donation-submit {
    padding: 0 20px 25px;
  }

  .donor-info-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .payment-info-form {
    padding: 25px 20px;
  }

  .form-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .form-header h4 {
    font-size: 1.3rem;
  }

  .copyable-field {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .copy-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .donate-section {
    padding: 60px 20px;
  }

  .donate-intro h2 {
    font-size: 2rem;
  }

  .donate-intro p {
    font-size: 1rem;
  }

  .donate-content {
    padding: 20px 15px;
  }

  .donation-header {
    padding: 20px 15px;
  }

  .donation-header h3 {
    font-size: 1.3rem;
  }

  .toggle-btn {
    font-size: 0.85rem;
    padding: 12px 8px;
  }

  .toggle-btn .icon {
    display: block;
    margin-bottom: 3px;
  }

  .amount-buttons {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .amount-btn {
    padding: 18px 15px;
  }

  .payment-info-form {
    padding: 20px 15px;
  }

  .donation-summary {
    padding: 15px;
  }

  .bank-details {
    padding: 15px;
  }

  .bank-value {
    font-size: 0.9rem;
    word-break: break-all;
  }
}

/* ==========================================================================
   5x1000 Section Styles
   ========================================================================== */

.fiveperthousand-section {
  margin-top: 80px;
  background: #fff;
  border-radius: 15px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.fiveperthousand-header {
  background: #1a5f1a;
  color: #fff;
  padding: 25px 30px;
  text-align: center;
}

.fiveperthousand-header h3 {
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.fiveperthousand-content {
  padding: 50px 40px;
  text-align: center;
}

.fiscal-code-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-bottom: 40px;
}

.fiscal-code-digits {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.digit-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 60px;
  background: #fff;
  border: 2px solid #333;
  border-radius: 4px;
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
}

.copy-code-btn {
  padding: 15px 40px;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.copy-code-btn:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.copy-code-btn:active {
  transform: translateY(0);
}

.fiveperthousand-caption {
  max-width: 700px;
  margin: 0 auto;
}

.fiveperthousand-intro {
  font-size: 1.15rem;
  color: #c3ba05 !important;
  line-height: 1.6;
  margin: 0 0 20px 0;
  text-align: center;
}

.fiveperthousand-intro strong {
  font-weight: 700;
}

.fiveperthousand-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

/* Responsive Design for 5x1000 Section */
@media (max-width: 768px) {
  .fiveperthousand-section {
    margin-top: 60px;
    border-radius: 10px;
  }

  .fiveperthousand-header h3 {
    font-size: 1.5rem;
  }

  .fiveperthousand-content {
    padding: 40px 25px;
  }

  .digit-box {
    width: 45px;
    height: 55px;
    font-size: 1.6rem;
  }

  .fiveperthousand-intro {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .fiveperthousand-section {
    margin-top: 40px;
  }

  .fiveperthousand-header {
    padding: 20px 15px;
  }

  .fiveperthousand-header h3 {
    font-size: 1.2rem;
  }

  .fiveperthousand-content {
    padding: 30px 20px;
  }

  .fiscal-code-display {
    gap: 20px;
    margin-bottom: 30px;
  }

  .fiscal-code-digits {
    gap: 6px;
  }

  .digit-box {
    width: 35px;
    height: 45px;
    font-size: 1.3rem;
  }

  .copy-code-btn {
    width: 100%;
    padding: 12px 20px;
  }

  .fiveperthousand-intro {
    font-size: 1rem;
  }

  .fiveperthousand-description {
    font-size: 0.95rem;
  }
}

.fiveperthousand-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fiveperthousand-intro {
  font-size: 1.2rem;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0;
}

.fiveperthousand-intro strong {
  font-weight: 700;
}

.fiveperthousand-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin: 0;
}

/* Responsive Design for 5x1000 Section */
@media (max-width: 968px) {
  .fiveperthousand-section {
    margin-top: 60px;
    padding: 40px 20px;
  }

  .fiveperthousand-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fiveperthousand-title {
    font-size: 2rem;
  }

  .digit-box {
    width: 45px;
    height: 55px;
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  .fiveperthousand-section {
    margin-top: 40px;
    padding: 30px 15px;
  }

  .fiveperthousand-title {
    font-size: 1.6rem;
  }

  .fiscal-code-display {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .fiscal-code-digits {
    justify-content: center;
    gap: 6px;
  }

  .digit-box {
    width: 35px;
    height: 45px;
    font-size: 1.3rem;
  }

  .copy-code-btn {
    width: 100%;
    padding: 12px 20px;
  }

  .fiveperthousand-intro {
    font-size: 1.1rem;
  }

  .fiveperthousand-description {
    font-size: 0.95rem;
  }
}
