/*
 * Heart of Hope — Request Prayer
 *
 * Scoped to: body.page-request-prayer
 */

/* Banner title */
.page-request-prayer .hoh-banner-title {
  font-family: var(--hoh-font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--hoh-purple-dark);
  text-align: center;

  background: var(--hoh-purple-soft);
  padding: var(--hoh-space-md) var(--hoh-space-lg);
  border-radius: var(--hoh-radius-hero);
  box-shadow: var(--hoh-shadow-soft);

  margin: var(--hoh-space-lg) auto var(--hoh-space-md);
  max-width: var(--hoh-max-width-card);

  opacity: 0;
  animation: hohPrayerBannerFade 0.8s ease forwards;
}

@keyframes hohPrayerBannerFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Banner wrapper & buttons */
.page-request-prayer .hoh-banner {
  text-align: center;
  margin-bottom: 2rem;
}

.page-request-prayer .hoh-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Prayer actions (generic) */
.page-request-prayer .prayer-actions {
  margin-top: 1rem;
  text-align: right;
}

.page-request-prayer .prayer-button {
  background: #f8f3f3;
  border: 1px solid #e6dada;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #444;
  transition: background 0.2s ease, transform 0.1s ease;
}

.page-request-prayer .prayer-button:hover {
  background: #f0e8e8;
}

.page-request-prayer .prayer-button:active {
  transform: scale(0.97);
}

/* Grid for wall, if used */
.page-request-prayer .hoh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.page-request-prayer .prayer-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.page-request-prayer .prayer-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
}

.page-request-prayer .prayer-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* =========================
   Request Prayer Form Card
   ========================= */

.page-request-prayer .hoh-prayer-form-card {
  background: var(--hoh-white-bg);
  padding: var(--hoh-space-xl);
  border-radius: var(--hoh-radius-hero);
  box-shadow: var(--hoh-shadow-soft);
  max-width: 760px;
  margin: var(--hoh-space-xl) auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Title */
.page-request-prayer .hoh-prayer-form-card .hoh-section-title {
  font-family: var(--hoh-font-serif);
  font-size: 2.2rem;
  color: var(--hoh-purple-dark);
  margin-top: var(--hoh-space-lg);
  margin-bottom: var(--hoh-space-sm);
  position: relative;
  z-index: 2;
}

/* Scripture line */
.page-request-prayer .hoh-prayer-form-card .hoh-scripture {
  font-family: var(--hoh-font-serif);
  font-size: 1.1rem;
  color: var(--hoh-text-muted);
  margin-bottom: var(--hoh-space-lg);
  opacity: 0.9;
}

/* Form layout */
.page-request-prayer .hoh-prayer-form-card form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hoh-space-md);
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Floating label wrapper */
.page-request-prayer .hoh-field {
  width: 100%;
  max-width: 550px;
  position: relative;
}

/* Inputs */
.page-request-prayer .hoh-field input,
.page-request-prayer .hoh-field textarea {
  width: 100%;
  padding: 1.1rem 1rem 0.6rem;
  border-radius: var(--hoh-radius-md);
  border: 1px solid var(--hoh-border-soft);
  font-size: 1rem;
  font-family: var(--hoh-font-sans);
  background: #fff;
  box-shadow: var(--hoh-shadow-soft);
  transition: border-color 0.2s ease;
}

.page-request-prayer .hoh-field textarea {
  min-height: 180px;
  resize: vertical;
}

/* Floating labels */
.page-request-prayer .hoh-field label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1rem;
  color: var(--hoh-text-muted);
  pointer-events: none;
  transition: all 0.2s ease;
}

.page-request-prayer .hoh-field input:focus + label,
.page-request-prayer .hoh-field textarea:focus + label,
.page-request-prayer .hoh-field input:not(:placeholder-shown) + label,
.page-request-prayer .hoh-field textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.8rem;
  background: var(--hoh-lavender-bg);
  padding: 0 0.3rem;
  color: var(--hoh-purple-dark);
}

/* Checkbox */
.page-request-prayer .hoh-prayer-form-card .hoh-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 550px;
  width: 100%;
  margin-top: var(--hoh-space-sm);
  font-size: 1rem;
  color: var(--hoh-text-main);
}

/* Submit button */
.page-request-prayer .hoh-prayer-form-card button.hoh-button {
  margin-top: var(--hoh-space-md);
  width: 100%;
  max-width: 300px;
}

/* Fade-in stagger */
.page-request-prayer .hoh-prayer-form-card .hoh-field:nth-child(1) { animation: hohPrayerFade 0.4s ease forwards; }
.page-request-prayer .hoh-prayer-form-card .hoh-field:nth-child(2) { animation: hohPrayerFade 0.55s ease forwards; }
.page-request-prayer .hoh-prayer-form-card .hoh-field:nth-child(3) { animation: hohPrayerFade 0.7s ease forwards; }
.page-request-prayer .hoh-prayer-form-card .hoh-checkbox { animation: hohPrayerFade 0.85s ease forwards; }
.page-request-prayer .hoh-prayer-form-card button { animation: hohPrayerFade 1s ease forwards; }

@keyframes hohPrayerFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   Prayer Wall Card Styling
   ========================= */

.page-request-prayer .hoh-prayer-card {
  background: var(--hoh-lavender-bg-light);
  padding: var(--hoh-space-lg);
  border-radius: var(--hoh-radius-xl);
  box-shadow: var(--hoh-shadow-soft);
  max-width: 700px;
  margin: 0 auto var(--hoh-space-lg);
  position: relative;
  z-index: 1;
}

.page-request-prayer .hoh-prayer-card::before {
  display: none !important;
}

/* Title */
.page-request-prayer .hoh-prayer-card .prayer-title {
  font-family: var(--hoh-font-serif);
  font-size: 1.6rem;
  color: var(--hoh-purple-dark);
  margin-bottom: var(--hoh-space-sm);
}

/* Date */
.page-request-prayer .hoh-prayer-card .prayer-date {
  font-family: var(--hoh-font-sans);
  font-size: 0.95rem;
  color: var(--hoh-text-muted);
  margin-bottom: var(--hoh-space-md);
}

/* Prayer text */
.page-request-prayer .hoh-prayer-card .prayer-text {
  font-family: var(--hoh-font-sans);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--hoh-text-main);
  margin-bottom: var(--hoh-space-md);
  text-align: left;
}

/* Button wrapper */
.page-request-prayer .hoh-prayer-card .prayer-actions {
  text-align: center;
  margin-top: var(--hoh-space-sm);
}

/* I Prayed for This button */
.page-request-prayer .hoh-prayer-card .prayer-button {
  background: #fff;
  border: 1px solid var(--hoh-border-soft);
  padding: 0.7rem 1.2rem;
  border-radius: var(--hoh-radius-md);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--hoh-shadow-soft);
  transition: background 0.2s ease, transform 0.1s ease;
}

.page-request-prayer .hoh-prayer-card .prayer-button:hover {
  background: var(--hoh-lavender-bg-halo);
}

.page-request-prayer .hoh-prayer-card .prayer-button:active {
  transform: scale(0.97);
}

