/* ==========================================================================
   PRAYER WALL & ONLINE GIVING STYLES
   ========================================================================== */

/* Prayer Wall Section */
.prayer-wall-wrapper {
  margin-top: 1rem;
}

.prayer-wall-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.prayer-category-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.prayer-pill {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.prayer-pill:hover, .prayer-pill.active {
  background: var(--gold-500);
  color: var(--primary-950);
  border-color: var(--gold-500);
}

.prayer-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.prayer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.prayer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-300);
}

.prayer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.prayer-author {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text-primary);
}

.prayer-date {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.prayer-body-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.prayer-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-pray-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: var(--gold-50);
  color: var(--gold-600);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-pray-action:hover, .btn-pray-action.prayed {
  background: var(--gold-500);
  color: var(--primary-950);
  border-color: var(--gold-500);
}

.pray-heart-icon {
  transition: transform 0.2s ease;
}

.btn-pray-action:hover .pray-heart-icon {
  transform: scale(1.25);
}

/* ==========================================================================
   ONLINE GIVING & STEWARDSHIP CENTER
   ========================================================================== */
.giving-box-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
}

.giving-header-banner {
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 100%);
  color: var(--white);
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.giving-header-banner h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.giving-header-banner p {
  font-size: var(--text-sm);
  color: #cbd5e1;
  max-width: 500px;
  margin: 0 auto;
}

.giving-form-body {
  padding: 2.5rem;
}

.giving-frequency-toggle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: var(--bg-surface-alt);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
}

.freq-btn {
  padding: 0.55rem;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--transition-fast);
}

.freq-btn.active {
  background: var(--primary-900);
  color: var(--white);
  box-shadow: var(--shadow-xs);
}

.giving-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.amount-btn {
  padding: 1rem 0.5rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-surface);
  transition: all var(--transition-fast);
}

.amount-btn:hover {
  border-color: var(--gold-400);
}

.amount-btn.active {
  border-color: var(--gold-500);
  background: var(--gold-50);
  color: var(--gold-600);
}

.custom-amount-row {
  position: relative;
  margin-bottom: 2rem;
}

.custom-currency-symbol {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-muted);
}

.custom-amount-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.custom-amount-input:focus {
  border-color: var(--gold-500);
  outline: none;
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.fund-select-dropdown {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface);
  margin-bottom: 2rem;
}

.giving-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-container {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: var(--text-xl);
  font-weight: 700;
}

.modal-close-btn {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.modal-close-btn:hover {
  color: var(--ruby-600);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-size: var(--text-sm);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--gold-500);
  outline: none;
}
