/* ==================== SUPPORT MODAL STYLES ==================== */

/* ==================== MODAL: Sponsor a Child ==================== */
/* #region */
.support-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.6);
}

/* Modal content box */
.support-modal-content {
  background: #fff;
  margin: 4% auto;
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  width: 95%;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.4s ease;
}

.support-modal-content p {
   text-align: center;
}

.support-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 26px;
  color: #999;
  cursor: pointer;
}

.support-form input,
.support-form textarea,
.support-form select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* ✅ Readonly Age Field */
.support-form input[readonly] {
  background: #f9f9f9;
  color: #666;
  cursor: not-allowed;
}

.support-form button {
  background: #4b0082;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.support-form button:hover {
  background: #360066;
}

/* Checkbox group styling */
.checkbox-group {
  display: flex;
  gap: 15px;
  margin: 10px 0 20px;
}

.checkbox-group label {
  font-size: 14px;
  color: #333;
}

.checkbox-group input {
  margin-right: 6px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* #endregion */

/* #region: === Additional Info Text === */
.note {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
  font-style: italic;
}

.note a {
  color: #4b0082;
  text-decoration: underline;
}

.disclaimer {
  font-size: 13px;
  color: #777;
  margin-top: 15px;
  font-style: italic;
  text-align: center;
}
/* #endregion === Additional Info Text === */

/* 🔄 Spinner Loader */
.loader {
  border: 3px solid #ccc;
  border-top: 3px solid #4b0082;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-right: 5px;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Currency Input Wrapper */
.currency-input {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.currency-input span {
  font-weight: bold;
  font-size: 1rem;
  color: #333;
  min-width: 24px; /* keeps symbol aligned */
  text-align: right;
}

/* Make number input align nicely with symbol */
.currency-input input[type="number"] {
  flex: 1;
  padding-left: 6px;
}

/* Support Preview Box (Bible style look) */
.support-preview {
  margin: 12px 0;
  padding: 12px 14px;
  background: #fafafa;
  border-left: 5px solid #4caf50; /* green accent */
  font-weight: bold;
  color: #222;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.5;
}

/* Highlight the amount itself */
.support-preview strong {
  color: #4b0082; /* deep indigo */
  font-size: 1.05em;
}

/* Optional field styling */
.support-form input[placeholder*="optional"] {
  font-style: italic;
  color: #666;
}

/* Accordion Styling */
.accordion {
  background: #eee;
  border: none;
  outline: none;
  width: 100%;
  padding: 10px;
  text-align: left;
  font-weight: bold;
  cursor: pointer;
  margin: 6px 0;
  border-radius: 6px;
}

.accordion.active,
.accordion:hover {
  background: #ddd;
}

.accordion-content {
  display: none;
  padding: 10px 0;
}

.country-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

#currencyIcon {
  font-size: 1.4em;
}