/* ================= DONATION MODAL STYLING ================= */
.as_donate_btn {
  background: linear-gradient(135deg, #f4aa36 0%, #f37335 100%);
  color: white !important;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(243, 115, 53, 0.3);
  transition: all 0.3s ease;
}
.as_donate_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(243, 115, 53, 0.4);
  color: white;
}

/* Modal Overlay */
.as-modal-overlay {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

/* Modal Card Box */
.as-modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 460px;
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.as-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.as-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.as-modal-header {
  text-align: center;
  margin-bottom: 25px;
}
.as-modal-header h3 {
  margin: 0 0 8px 0;
  color: #0f172a;
  font-size: 22px;
  font-weight: 700;
}
.as-modal-header p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

/* Form Controls */
.as-form-group {
  margin-bottom: 15px;
}
.as-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.as-form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}
.as-form-control:focus {
  outline: none;
  border-color: #f37335;
  box-shadow: 0 0 0 3px rgba(243, 115, 53, 0.15);
}

/* Preset Chips */
.donation-amounts {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.donation-amounts button {
  flex: 1;
  padding: 9px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.donation-amounts button:hover,
.donation-amounts button.active {
  border-color: #f37335;
  background: #fff7ed;
  color: #f37335;
}

.as-submit-donation {
  width: 100%;
  background: linear-gradient(135deg, #f4aa36 0%, #f37335 100%);
  color: white;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(243, 115, 53, 0.25);
  transition: opacity 0.2s;
  margin-top: 5px;
}
.as-submit-donation:hover {
  opacity: 0.95;
}
