/**
 * @file
 * Donation styling.
 */

/* Donation Form Page */
.donation-disclaimer {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.disclaimer-warning {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
}

.disclaimer-warning strong {
  display: block;
  margin-bottom: 8px;
}

.nsia-bank-details {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
}

.nsia-bank-details p {
  margin: 5px 0;
}

.nsia-bank-details .note {
  color: #666;
  font-style: italic;
  margin-top: 10px;
}

/* Success Page */
.nsia-donation-success {
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.success-icon {
  margin-bottom: 20px;
}

.nsia-donation-success h1 {
  color: #28a745;
  margin-bottom: 10px;
}

.success-message {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.next-steps {
  text-align: left;
  background: #f8f9fa;
  padding: 20px 25px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.next-steps h2 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
}

.next-steps ol {
  margin: 0;
  padding-left: 20px;
}

.next-steps li {
  margin-bottom: 10px;
  color: #555;
}

.donation-reminder {
  background: #e3f2fd;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  color: #1565c0;
}

.donation-reminder p {
  margin: 5px 0;
}

.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.action-buttons .button {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.action-buttons .button--primary {
  background: #0066cc;
  color: #fff;
}

.action-buttons .button:not(.button--primary) {
  background: #f0f0f0;
  color: #333;
}

/* Admin Page */
.nsia-donations-admin {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.donations-disclaimer {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.donations-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  min-width: 140px;
  flex: 1;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
}

.stat-pending .stat-value {
  color: #ffc107;
}

.stat-verified .stat-value {
  color: #28a745;
}

.stat-monthly .stat-value {
  color: #0066cc;
}

/* Filters */
.donations-filters {
  background: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-form {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-weight: 500;
  color: #555;
}

.filter-group select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}

.clear-filters {
  color: #dc3545;
  text-decoration: none;
  font-size: 0.9rem;
}

.clear-filters:hover {
  text-decoration: underline;
}

/* Table */
.donations-table-wrapper {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.donations-table {
  width: 100%;
  border-collapse: collapse;
}

.donations-table th,
.donations-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.donations-table th {
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
}

.donations-table tbody tr:hover {
  background: #fafafa;
}

.donor-cell strong {
  display: block;
}

.donor-email {
  font-size: 0.85rem;
  color: #666;
}

.account-cell {
  font-family: monospace;
  color: #666;
}

.amount-cell {
  font-weight: 600;
  color: #28a745;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-verified {
  background: #d4edda;
  color: #155724;
}

.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

/* Actions */
.actions-cell {
  white-space: nowrap;
}

.action-link {
  margin-right: 10px;
  text-decoration: none;
  font-size: 0.9rem;
}

.action-link.edit {
  color: #0066cc;
}

.action-link.delete {
  color: #dc3545;
}

.action-link:hover {
  text-decoration: underline;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #666;
}

/* User Dashboard Donation Section */
.donations-section {
  margin-top: 40px;
}

.donations-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.donations-section h2 {
  margin: 0;
}

.donations-list {
  display: grid;
  gap: 15px;
}

.donation-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid #ddd;
}

.donation-card.status-pending {
  border-left-color: #ffc107;
}

.donation-card.status-verified {
  border-left-color: #28a745;
}

.donation-card.status-cancelled {
  border-left-color: #dc3545;
}

.donation-details {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.donation-details span {
  color: #555;
}

.donation-details .bank {
  font-weight: 500;
  color: #333;
}

.donation-details .amount {
  font-weight: 600;
  color: #28a745;
}

.donation-status .status-badge {
  text-transform: capitalize;
}

/* User Dashboard Donation Disclaimer */
.donations-disclaimer-user {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* Donation Promo Section */
.donation-promo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.donation-promo p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  opacity: 0.95;
}

.donation-promo .btn {
  background: #fff;
  color: #667eea;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.donation-promo .btn:hover {
  background: #f0f0f0;
}

/* ============================================
   DONATION METHOD SELECTION PAGE
   ============================================ */

.donation-selection-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.donation-selection-header {
  text-align: center;
  margin-bottom: 40px;
}

.donation-selection-header h2 {
  margin-bottom: 10px;
  color: #333;
}

.donation-selection-header .lead {
  color: #666;
  font-size: 1.1rem;
}

.donation-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.donation-method-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px 25px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donation-method-card:hover {
  border-color: #0066cc;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
  transform: translateY(-4px);
}

.donation-method-card.recommended {
  border-color: #28a745;
  background: linear-gradient(to bottom, #f0fff4 0%, #fff 100%);
}

.recommended-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #28a745;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.method-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #0066cc;
}

.donation-method-card:hover .method-icon {
  background: #e3f2fd;
}

.method-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #333;
}

.method-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.method-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0066cc;
  font-weight: 600;
}

.method-cta svg {
  transition: transform 0.2s;
}

.donation-method-card:hover .method-cta svg {
  transform: translateX(4px);
}

.donation-footer {
  text-align: center;
  color: #666;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.donation-footer a {
  color: #0066cc;
}

/* ============================================
   DONORBOX EMBED PAGE
   ============================================ */

.donation-donorbox-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}

.donation-header {
  margin-bottom: 30px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.back-link:hover {
  color: #0066cc;
}

.donation-header h2 {
  margin-bottom: 8px;
}

.donation-header .lead {
  color: #666;
}

.donorbox-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.donorbox-container iframe {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.donorbox-error {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.donation-security-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #666;
  font-size: 0.9rem;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;
}

.donation-security-notice svg {
  color: #28a745;
}

/* ============================================
   BANK TRANSFER DONATION PAGE
   ============================================ */

.donation-bank-transfer-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.bank-transfer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.bank-transfer-form-section {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.bank-transfer-form-section h3 {
  margin-bottom: 20px;
  color: #333;
}

.bank-details-preview {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
}

.bank-details-preview h3 {
  margin-bottom: 10px;
}

.bank-details-note {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.bank-info-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

.bank-info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.bank-info-row:last-child {
  border-bottom: none;
}

.bank-info-row .label {
  color: #666;
  font-size: 0.9rem;
}

.bank-info-row .value {
  font-weight: 600;
  color: #333;
}

.bank-info-row.highlight {
  background: #e3f2fd;
  margin: 0 -20px -20px;
  padding: 15px 20px;
  border-radius: 0 0 8px 8px;
}

.bank-info-row.highlight .value {
  color: #0066cc;
  font-family: monospace;
  font-size: 1.1rem;
}

.transfer-instructions h4 {
  margin-bottom: 15px;
  color: #333;
}

.transfer-instructions ol {
  margin: 0;
  padding-left: 20px;
}

.transfer-instructions li {
  margin-bottom: 10px;
  color: #555;
  line-height: 1.5;
}

/* ============================================
   BANK TRANSFER SUCCESS PAGE
   ============================================ */

.donation-bank-success-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.success-header .success-icon {
  color: #28a745;
  margin-bottom: 20px;
}

.success-header h2 {
  margin-bottom: 10px;
  color: #333;
}

.success-header .lead {
  color: #666;
  margin-bottom: 30px;
}

.reference-code-section {
  margin-bottom: 40px;
}

.reference-code-card {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.reference-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 10px;
}

.reference-code {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: monospace;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.donation-summary {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.donation-summary h3 {
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row .label {
  color: #666;
}

.summary-row .value {
  font-weight: 500;
  color: #333;
}

.summary-row .value.amount {
  color: #28a745;
  font-weight: 700;
  font-size: 1.1rem;
}

.bank-details-section {
  text-align: left;
  margin-bottom: 30px;
}

.bank-details-section h3 {
  margin-bottom: 15px;
}

.important-notice {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  text-align: left;
}

.notice-icon {
  color: #856404;
  flex-shrink: 0;
}

.notice-content h4 {
  margin: 0 0 5px;
  color: #856404;
}

.notice-content p {
  margin: 0;
  color: #856404;
  font-size: 0.95rem;
}

.email-confirmation {
  color: #666;
  margin-bottom: 25px;
}

/* ============================================
   USER DONATIONS PAGE
   ============================================ */

.user-donations-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.donations-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.donations-header h2 {
  margin: 0;
}

.donations-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.donation-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid #ddd;
}

.donation-card.status-pending {
  border-left-color: #ffc107;
}

.donation-card.status-verified {
  border-left-color: #28a745;
}

.donation-card.status-cancelled {
  border-left-color: #dc3545;
}

.donation-main {
  display: flex;
  align-items: center;
  gap: 25px;
}

.donation-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #28a745;
}

.donation-amount .currency {
  font-size: 1rem;
  vertical-align: top;
}

.donation-amount .currency-code {
  font-size: 0.8rem;
  color: #666;
  font-weight: 400;
}

.donation-type {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.type-badge.online {
  background: #e3f2fd;
  color: #1565c0;
}

.type-badge.bank {
  background: #e8f5e9;
  color: #2e7d32;
}

.type-badge.offline {
  background: #f3e5f5;
  color: #7b1fa2;
}

.recurring-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fff3e0;
  color: #ef6c00;
}

.donation-reference {
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.donation-reference .label {
  color: #666;
}

.donation-reference code {
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.donation-date {
  font-size: 0.85rem;
  color: #888;
}

.donation-status .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
}

.donation-status .status-badge.pending {
  background: #fff3cd;
  color: #856404;
}

.donation-status .status-badge.verified {
  background: #d4edda;
  color: #155724;
}

.donation-status .status-badge.cancelled {
  background: #f8d7da;
  color: #721c24;
}

.no-donations {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.empty-icon {
  color: #ddd;
  margin-bottom: 20px;
}

.no-donations h3 {
  color: #333;
  margin-bottom: 10px;
}

.no-donations p {
  color: #666;
  margin-bottom: 25px;
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #0066cc;
  color: #fff;
}

.btn-primary:hover {
  background: #0052a3;
}

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

.btn-secondary:hover {
  background: #e0e0e0;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
  .donations-stats {
    flex-direction: column;
  }

  .stat-card {
    min-width: 100%;
  }

  .filter-form {
    flex-direction: column;
    align-items: flex-start;
  }

  .donations-table-wrapper {
    overflow-x: auto;
  }

  .donation-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .donation-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .donation-details {
    flex-direction: column;
    gap: 5px;
  }

  .bank-transfer-content {
    grid-template-columns: 1fr;
  }

  .donation-methods-grid {
    grid-template-columns: 1fr;
  }

  .donations-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .action-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .reference-code {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }
}

/* ============================================
   POLI PAYMENT STYLES
   ============================================ */

/* Feature badge for instant methods */
.feature-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #00c853 0%, #1B9C85 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.donation-method-card.has-badge {
  border-color: #1B9C85;
}

/* POLi Payment Page */
.poli-payment-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.poli-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.poli-header {
  background: linear-gradient(135deg, #1B5E4F 0%, #1B9C85 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.poli-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.poli-header .back-link:hover {
  color: white;
}

.poli-header h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.8rem;
  margin: 0 0 10px 0;
}

.poli-description {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.poli-test-mode-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff3cd;
  color: #856404;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
}

.poli-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.poli-form-section {
  padding: 30px;
  border-right: 1px solid #eee;
}

.poli-info-section {
  padding: 30px;
  background: #f9fafb;
}

/* POLi Form */
.poli-form .form-group {
  margin-bottom: 24px;
}

.poli-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.poli-form label .required {
  color: #dc3545;
}

.poli-form label .optional {
  font-weight: 400;
  color: #6c757d;
  font-size: 0.9em;
}

.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-input-wrapper .currency-symbol {
  position: absolute;
  left: 16px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1B9C85;
}

.amount-input-wrapper input {
  width: 100%;
  padding: 16px 16px 16px 45px;
  font-size: 1.5rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.amount-input-wrapper input:focus {
  outline: none;
  border-color: #1B9C85;
}

.quick-amounts {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.quick-amount {
  padding: 8px 16px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  transition: all 0.2s;
}

.quick-amount:hover {
  border-color: #1B9C85;
  background: #f0f9f7;
}

.quick-amount.active {
  border-color: #1B9C85;
  background: #1B9C85;
  color: white;
}

.poli-form input[type="text"],
.poli-form input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.poli-form input[type="text"]:focus,
.poli-form input[type="email"]:focus {
  outline: none;
  border-color: #1B9C85;
}

.form-hint {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: #6c757d;
}

.poli-security-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #e3f9f4;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  color: #1B5E4F;
  font-size: 0.9rem;
}

.poli-security-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-pay {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* POLi Info Section */
.poli-how-it-works {
  margin-bottom: 30px;
}

.poli-how-it-works h3 {
  margin: 0 0 16px 0;
  color: #333;
  font-size: 1.1rem;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.step-number {
  width: 28px;
  height: 28px;
  background: #1B9C85;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.step-text {
  color: #555;
  line-height: 28px;
}

.supported-banks {
  margin-bottom: 30px;
}

.supported-banks h4 {
  margin: 0 0 12px 0;
  color: #333;
  font-size: 1rem;
}

.banks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bank-item {
  background: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #555;
  text-align: center;
  border: 1px solid #eee;
}

.poli-benefits h4 {
  margin: 0 0 12px 0;
  color: #333;
  font-size: 1rem;
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #555;
}

.benefits-list li svg {
  color: #1B9C85;
  flex-shrink: 0;
}

/* POLi Success Page */
.poli-success-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 20px;
}

.poli-success-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 40px;
  text-align: center;
}

.poli-success-container .success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #00c853 0%, #1B9C85 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.poli-success-container .success-icon svg {
  color: white;
}

.poli-success-container h1 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 2rem;
}

.success-message {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.transaction-details {
  background: #f9fafb;
  border-radius: 8px;
  padding: 24px;
  text-align: left;
  margin-bottom: 24px;
}

.transaction-details h3 {
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  color: #333;
  font-size: 1rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: #666;
  font-size: 0.95rem;
}

.detail-value {
  font-weight: 600;
  color: #333;
}

.detail-value.amount {
  font-size: 1.2rem;
  color: #1B9C85;
}

.detail-value.reference {
  font-family: monospace;
  background: #e3f9f4;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.status-badge.status-completed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #d4edda;
  color: #155724;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
}

.success-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #e3f2fd;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  text-align: left;
}

.success-note svg {
  flex-shrink: 0;
  color: #1976d2;
  margin-top: 2px;
}

.success-note p {
  margin: 0;
  color: #1565c0;
  font-size: 0.95rem;
}

.success-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.success-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .poli-content {
    grid-template-columns: 1fr;
  }

  .poli-form-section {
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .banks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .poli-success-container {
    padding: 30px 20px;
  }

  .success-actions {
    flex-direction: column;
  }

  .success-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   RECURRING DONATION STYLES
   ============================================ */

/* Recurring highlight on selection page */
.recurring-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 1px solid #ff9800;
  color: #e65100;
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 20px;
  font-weight: 500;
}

.recurring-highlight svg {
  color: #ff9800;
  flex-shrink: 0;
}

/* Badges container */
.badges-container {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Recurring badge on method cards */
.donation-method-card .recurring-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.donation-method-card .recurring-badge svg {
  flex-shrink: 0;
}

.donation-method-card.supports-recurring {
  border-color: #ff9800;
}

.donation-method-card.supports-recurring:hover {
  border-color: #f57c00;
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.2);
}

/* Recurring info banner on Donorbox page */
.recurring-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 1px solid #2196f3;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
}

.recurring-info-banner .recurring-icon {
  width: 50px;
  height: 50px;
  background: #2196f3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.recurring-info-banner .recurring-icon svg {
  color: #fff;
}

.recurring-info-banner .recurring-content h4 {
  margin: 0 0 8px 0;
  color: #1565c0;
  font-size: 1.1rem;
}

.recurring-info-banner .recurring-content p {
  margin: 0;
  color: #1976d2;
  line-height: 1.5;
}

/* Donation features row */
.donation-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 0.9rem;
}

.feature-item svg {
  color: #28a745;
}

.feature-item.feature-recurring {
  background: #fff3e0;
  padding: 6px 12px;
  border-radius: 20px;
  color: #e65100;
}

.feature-item.feature-recurring svg {
  color: #ff9800;
}

/* User donations recurring badge */
.user-donations-wrapper .recurring-badge,
.donations-list .recurring-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.user-donations-wrapper .recurring-badge svg,
.donations-list .recurring-badge svg {
  width: 12px;
  height: 12px;
}

/* Responsive adjustments for recurring elements */
@media (max-width: 768px) {
  .recurring-highlight {
    flex-direction: column;
    text-align: center;
  }

  .recurring-info-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .donation-features {
    gap: 15px;
  }

  .feature-item {
    font-size: 0.85rem;
  }

  .badges-container {
    position: static;
    transform: none;
    margin-bottom: 10px;
  }
}

/* ==========================================
   STRIPE DONATION FORM STYLES
   ========================================== */

.donation-stripe-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.donation-stripe-wrapper .donation-header {
  text-align: center;
  margin-bottom: 30px;
}

.donation-stripe-wrapper .donation-header h2 {
  margin: 15px 0 10px;
  color: #1a472a;
}

.donation-stripe-wrapper .donation-header .lead {
  color: #666;
  margin: 0;
}

.donation-stripe-wrapper .back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1a472a;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.donation-stripe-wrapper .back-link:hover {
  text-decoration: underline;
}

/* Stripe Donation Form */
.stripe-donation-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 25px;
}

.stripe-donation-form .form-section {
  margin-bottom: 25px;
}

.stripe-donation-form .section-label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  font-size: 1rem;
}

.stripe-donation-form .section-label .optional {
  font-weight: normal;
  color: #888;
  font-size: 0.85em;
}

/* Donation Type Selector */
.donation-type-selector {
  display: flex;
  gap: 15px;
}

.donation-type-selector .type-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 15px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.donation-type-selector .type-option input {
  display: none;
}

.donation-type-selector .type-option:hover {
  border-color: #1a472a;
  background: #f0f7f2;
}

.donation-type-selector .type-option.active {
  border-color: #1a472a;
  background: #e8f5e9;
}

.donation-type-selector .type-icon {
  color: #1a472a;
}

.donation-type-selector .type-label {
  font-weight: 600;
  color: #333;
}

/* Frequency Selector */
.frequency-section {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.frequency-selector {
  display: flex;
  gap: 10px;
}

.frequency-selector .frequency-option {
  flex: 1;
  padding: 12px 15px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.frequency-selector .frequency-option input {
  display: none;
}

.frequency-selector .frequency-option:hover {
  border-color: #1a472a;
}

.frequency-selector .frequency-option.active {
  border-color: #1a472a;
  background: #e8f5e9;
  font-weight: 600;
}

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

.amount-selector .amount-option {
  padding: 15px 10px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.amount-selector .amount-option input {
  display: none;
}

.amount-selector .amount-option:hover {
  border-color: #1a472a;
  background: #f0f7f2;
}

.amount-selector .amount-option.active {
  border-color: #1a472a;
  background: #1a472a;
  color: #fff;
}

.amount-selector .custom-amount-option {
  grid-column: span 1;
}

/* Custom Amount Input */
.custom-amount-wrapper {
  animation: fadeIn 0.3s ease;
}

.input-with-prefix {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.input-with-prefix .input-prefix {
  padding: 12px 15px;
  background: #f8f9fa;
  color: #666;
  font-weight: 600;
  border-right: 1px solid #e0e0e0;
}

.input-with-prefix input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.input-with-prefix input:focus {
  box-shadow: none;
}

.stripe-donation-form .help-text {
  font-size: 0.85rem;
  color: #888;
  margin-top: 8px;
}

/* Donor Info Fields */
.donor-info-fields .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.donor-info-fields .form-field label {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 5px;
}

.donor-info-fields .form-field input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.donor-info-fields .form-field input:focus {
  border-color: #1a472a;
  outline: none;
}

/* Donation Summary */
.donation-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
}

.donation-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.donation-summary .summary-row:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.donation-summary .summary-label {
  color: #666;
}

.donation-summary .summary-value {
  font-weight: 600;
  color: #1a472a;
  font-size: 1.1rem;
}

/* Submit Button */
.stripe-donation-form .form-actions {
  margin-top: 25px;
}

.stripe-donation-form .btn-donate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 30px;
  background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stripe-donation-form .btn-donate:hover {
  background: linear-gradient(135deg, #153823 0%, #1a472a 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 71, 42, 0.3);
}

.stripe-donation-form .btn-donate svg {
  opacity: 0.9;
}

/* Donation Unavailable */
.donation-unavailable {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.donation-unavailable svg {
  color: #888;
  margin-bottom: 15px;
}

.donation-unavailable h3 {
  margin: 0 0 10px;
  color: #333;
}

.donation-unavailable p {
  color: #666;
  margin-bottom: 20px;
}

.donation-unavailable .btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #f8f9fa;
  color: #1a472a;
  border: 2px solid #1a472a;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.donation-unavailable .btn-secondary:hover {
  background: #1a472a;
  color: #fff;
}

/* Responsive - Stripe Form */
@media (max-width: 600px) {
  .donation-stripe-wrapper {
    padding: 15px;
  }

  .stripe-donation-form {
    padding: 20px;
  }

  .donation-type-selector {
    flex-direction: column;
  }

  .frequency-selector {
    flex-wrap: wrap;
  }

  .frequency-selector .frequency-option {
    flex: 1 1 calc(50% - 5px);
  }

  .amount-selector {
    grid-template-columns: repeat(2, 1fr);
  }

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