/* DonationPanel styles extracted from the SFC to keep component modules below 600 lines. */
.fintech-give {
  background: rgba(11, 25, 44, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  color: #fff;
}

.fintech-give,
.fintech-give * {
  box-sizing: border-box;
}

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

.eyebrow-gold {
  color: #d4af37;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  display: block;
  margin-bottom: 0.5rem;
}

.panel-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.panel-header p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0.5rem 0 0;
  line-height: 1.4;
}

.participation-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.mode-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 0.85rem 0.65rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.mode-btn span,
.mode-btn small {
  display: block;
}

.mode-btn span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-btn small {
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

.mode-btn.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.8);
  color: #d4af37;
}

.mode-summary {
  background: rgba(5, 9, 18, 0.32);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.3rem;
}

.mode-summary strong {
  color: #fff;
  font-size: 0.95rem;
}

.mode-summary p {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0.35rem 0 0;
}

.financial-narrative {
  background: rgba(7, 16, 30, 0.48);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 10px;
  padding: 1.15rem;
  margin-bottom: 1.3rem;
}

.financial-narrative h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

.financial-narrative p {
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}

.finance-notes {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin-top: 1rem;
}

.finance-notes span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #d4af37;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.35;
  padding: 0.65rem;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .participation-tabs {
    grid-template-columns: 1fr;
  }
}

/* Tabs */
.frequency-tabs {
  display: flex;
  background: rgba(5, 9, 18, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.3rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.8rem 0;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  background: #d4af37;
  color: #0b192c;
  font-weight: 900;
}

/* Amount Grid */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.amt-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 0.9rem 0;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.amt-btn:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  color: #fff;
}

.amt-btn.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  color: #d4af37;
  font-weight: 900;
  box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.1);
}

/* Custom Input */
.custom-input-box {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.currency-symbol {
  position: absolute;
  left: 1rem;
  color: #d4af37;
  font-weight: 900;
  font-size: 1.1rem;
}

.custom-input {
  width: 100%;
  background: rgba(5, 9, 18, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 0.9rem 3.5rem 0.9rem 2.2rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  outline: none;
}

.currency-tag {
  position: absolute;
  right: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Allocation Selector */
.allocation-box {
  margin-bottom: 1.5rem;
}

.fintech-give .input-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.allocation-select-wrapper {
  position: relative;
}

.allocation-select-wrapper::after {
  content: "▼";
  font-size: 0.6rem;
  color: #d4af37;
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.allocation-select {
  width: 100%;
  background: rgba(5, 9, 18, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.9rem;
  border-radius: 8px;
  outline: none;
  font-size: 0.9rem;
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.allocation-select:focus {
  border-color: rgba(212, 175, 55, 0.4);
}

/* Form Inputs */
.user-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.fintech-give .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
}

.fintech-give .form-row > div {
  min-width: 0;
}

.fintech-give .form-input {
  width: 100%;
  min-width: 0;
  background: rgba(5, 9, 18, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  outline: none;
  font-size: 0.95rem;
}

.fintech-give .form-input:focus {
  border-color: rgba(212, 175, 55, 0.4);
}

/* Card Details Box */
.card-details-box {
  background: rgba(5, 9, 18, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.2rem;
  margin-top: 0.5rem;
}

.card-header-small {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 0.8rem;
  letter-spacing: 0.15em;
}

.secure-tag {
  color: #10b981;
}

.card-input-row {
  display: grid;
  grid-template-columns: minmax(12rem, 2.5fr) minmax(5.5rem, 1fr) minmax(5.5rem, 1fr);
  gap: 0.6rem;
}

@media (max-width: 720px) {
  .card-input-row {
    grid-template-columns: 1fr;
  }
}

/* Submit Button */
.submit-btn {
  margin-top: 1rem;
  background: #d4af37;
  color: #0b192c;
  border: none;
  padding: 1.2rem;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
  background: #fff;
}

.submit-btn:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(11, 25, 44, 0.2);
  border-top-color: #0b192c;
  border-radius: 50%;
  animation: spin-effect 0.8s linear infinite;
}

@keyframes spin-effect {
  to { transform: rotate(360deg); }
}

/* Success Card */
.give-success {
  padding: 2rem 0;
}

.success-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 2px solid #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.success-title {
  font-size: 2rem;
  font-weight: 900;
  margin: 0;
  color: #fff;
}

.success-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin: 0.8rem 0 2rem;
  line-height: 1.6;
}

.fintech-receipt {
  background: rgba(5, 9, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.05em;
}

.receipt-row span {
  color: #94a3b8;
  font-weight: 700;
}

.receipt-row strong {
  color: #fff;
}

.receipt-row.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.9rem;
}

.text-gold {
  color: #d4af37 !important;
  font-weight: 800;
}

.return-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
}

.return-btn:hover {
  background: #d4af37;
  color: #0b192c;
  border-color: #d4af37;
}
