/* ==========================================================================
   SECTION 12: OFFLINE DONATION ENGINE & BANK WALLETS
   Optical Peep-Hole Window Parallax + Fintech Shield Mesh + Equal Height Grid
   ========================================================================== */

.ehs-donation-section {
  position: relative !important;
  padding: 65px 0 115px 0 !important;
  background-color: #031633 !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25) !important;
  overflow: hidden !important;

  /* TRUE OPTICAL PEEP-HOLE LOCKED PARALLAX */
  background-attachment: fixed !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Translucent Royal Navy Overlay for Optical Parallax */
.ehs-donation-bg-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    145deg,
    rgba(3, 22, 51, 0.88) 0%,
    rgba(7, 35, 77, 0.80) 50%,
    rgba(2, 16, 38, 0.92) 100%
  ) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Fintech Security Diamond Shield Mesh Overlay */
.ehs-donation-mesh-overlay {
  position: absolute !important;
  inset: 0 !important;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.25) 1.5px, transparent 1.5px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(56, 189, 248, 0.02) 1px, transparent 1px) !important;
  background-size: 32px 32px, 32px 32px, 32px 32px, 32px 32px !important;
  opacity: 0.9 !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* ==========================================================================
   2-COLUMN BALANCED & EQUAL-HEIGHT GRID
   ========================================================================== */

.ehs-donation-grid {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: 48px !important;
  align-items: stretch !important; /* Forces Left and Right Columns to match height */
  position: relative !important;
  z-index: 4 !important;
}

/* Left Column Outer Wrapper */
.ehs-donation-bank-col {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* Right Column Outer Wrapper */
.ehs-pledge-col {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* Sub-Badge */
.ehs-sub-badge {
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  margin-bottom: 12px !important;
}

/* Bank Column Header */
.ehs-bank-title {
  font-size: 34px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
  letter-spacing: -0.5px !important;
  line-height: 1.25 !important;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

.ehs-bank-subtitle {
  font-size: 14.5px !important;
  color: #bae6fd !important;
  margin: 0 0 28px 0 !important;
  line-height: 1.65 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Left Column: Bank Cards Box (Equal Height Flex Container) */
.ehs-donation-bank-box {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 20px !important;
  padding: 28px 24px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
}

.ehs-banks-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  flex: 1 1 auto !important;
}

.ehs-bank-details-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.ehs-bank-detail-item {
  background: rgba(0, 34, 68, 0.75) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  transition: border-color 0.2s ease !important;
}

.ehs-bank-detail-item:hover {
  border-color: rgba(56, 189, 248, 0.6) !important;
}

.ehs-bank-detail-label {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #7dd3fc !important;
  text-transform: uppercase !important;
  margin-bottom: 3px !important;
  letter-spacing: 0.5px !important;
}

.ehs-bank-detail-val {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.ehs-iban-val {
  font-family: monospace, sans-serif !important;
  letter-spacing: 0.5px !important;
}

/* Copy Button */
.ehs-copy-btn {
  background: rgba(14, 165, 233, 0.2) !important;
  border: 1px solid #38bdf8 !important;
  color: #bae6fd !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.ehs-copy-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4) !important;
}

.ehs-copy-btn.is-copied {
  background: #15803d !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
}

/* Wallets Strip (Locked Cleanly to the Bottom) */
.ehs-wallets-strip {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
  gap: 14px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  margin-top: auto !important;
}

.ehs-wallet-box {
  background: rgba(0, 34, 68, 0.6) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 10px !important;
  padding: 12px 10px !important;
  text-align: center !important;
}

.ehs-wallet-lbl {
  font-size: 10.5px !important;
  color: #fbbf24 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 4px !important;
  letter-spacing: 0.5px !important;
}

.ehs-wallet-num {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  font-family: monospace, sans-serif !important;
}

/* ==========================================================================
   Right Column: Pledge Submission Card (Equal Height Flex Container)
   ========================================================================== */

.ehs-pledge-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border-radius: 22px !important;
  padding: 34px 30px !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35) !important;
  
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.ehs-pledge-header {
  margin-bottom: 24px !important;
}

.ehs-pledge-title {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #002244 !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.4px !important;
}

.ehs-pledge-desc {
  font-size: 13.5px !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

.ehs-pledge-form {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  gap: 16px !important;
}

.ehs-form-group {
  display: flex !important;
  flex-direction: column !important;
}

.ehs-form-group label {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
}

.ehs-form-control {
  width: 100% !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

.ehs-form-control:focus {
  border-color: #0056b3 !important;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15) !important;
}

/* Submit Button Pushed Symmetrically to the Bottom */
.ehs-pledge-submit-btn {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 20px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-top: auto !important;
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.25) !important;
}

.ehs-pledge-submit-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0056b3 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(0, 86, 179, 0.4) !important;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .ehs-donation-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    align-items: start !important;
  }
  .ehs-donation-bank-col,
  .ehs-pledge-col,
  .ehs-donation-bank-box,
  .ehs-pledge-card {
    height: auto !important;
  }
}

@media (max-width: 600px) {
  .ehs-donation-section {
    padding: 50px 0 75px 0 !important;
    background-attachment: scroll !important;
  }
  .ehs-bank-title {
    font-size: 26px !important;
  }
  .ehs-pledge-card {
    padding: 24px 20px !important;
  }
  .ehs-bank-detail-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .ehs-copy-btn {
    align-self: flex-start !important;
  }
}