
/* Stack spacing between multiple cards */
.pr-card{
  margin: 0 0 28px 0;
}

/* Card shell */
.pr-card{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #ffffff;
  border-radius: 26px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 14px 30px rgba(16, 24, 40, 0.09),
    0 2px 10px rgba(16, 24, 40, 0.06);
}

/* Soft internal glow (kept INSIDE the card to avoid bleed) */
.pr-card::after{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(38,166,190,.24) 0%,
    rgba(38,166,190,.10) 45%,
    rgba(38,166,190,0) 78%
  );
  filter: blur(6px);
  pointer-events:none;
}

.pr-inner{
  position: relative;
  z-index: 1;
}

/* Kicker line (PRAYERS) */
.pr-kicker{
            font-weight: 600;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--muted);
            margin-bottom: 0.6rem;
        }

/* Main title (Send a Prayer Request / Bible Study) */
.pr-title{
            font-size: 1.25rem;
            margin: 0 0 0.7rem;
            color: var(--navy-dark);
            font-weight: 700;
        }

/* Helper/description text under the title */
.pr-desc{
  font-size: 13px;
  line-height: 1.45;
  color: rgba(17, 24, 39, 0.60);
  margin: 0 0 14px 0;
}

/* Labels */
.pr-label{
  font-size: 12px;
  font-weight: 800;
  color: rgba(11, 18, 32, 0.78);
  margin: 12px 0 6px 0;
}

/* Field wrapper */
.pr-field{
  position: relative;
  margin: 10px 0;
}

/* Inputs and input-like readonly blocks */
.pr-input,
.pr-field input,
.pr-field textarea{
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.2;
  padding: 10px 52px 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(130,155,220,0.55);
  background: #ffffff;
  color: rgba(11,18,32,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

/* Keep textareas taller & allow resize */
.pr-field textarea{
  min-height: 90px;
  padding: 12px 12px;
  resize: vertical;
  line-height: 1.45;
}

/* Placeholder tint (light blue/gray) */
.pr-field input::placeholder,
.pr-field textarea::placeholder,
.pr-notes::placeholder{
  color: rgba(130,155,220,0.95);
}

/* Focus state (subtle teal ring like modern UI) */
.pr-field input:focus,
.pr-field textarea:focus,
.pr-notes:focus{
  outline: none;
  border-color: rgba(38,166,190,0.65);
  box-shadow: 0 0 0 4px rgba(38,166,190,0.14);
}

/* Readonly “input” blocks (for bsTopic / bsRef in Bible Study) */
.pr-field-readonly .pr-input{
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right icon chip */
.pr-iconchip{
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  height: 22px;
  width: 34px;
  border-radius: 999px;
  border: 1px solid rgba(130,155,220,0.45);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Green dot/wave */
.pr-wave{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 35%,
    rgba(13,206,156,1) 0%,
    rgba(13,206,156,0.25) 55%,
    rgba(13,206,156,0) 70%);
}

/* Down caret */
.pr-caret{
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(11,18,32,0.55);
}

/* Passage block (Bible study) */
.pr-textarea{
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 12px 12px;
  min-height: 90px;
  border-radius: 12px;
  border: 1px solid rgba(130,155,220,0.55);
  background: #ffffff;
  color: rgba(11,18,32,0.78);
  font-size: 13px;
  line-height: 1.45;
}

/* Questions list */
.pr-questions{
  margin: 8px 0 0 18px;
  padding: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(11,18,32,0.72);
}
.pr-questions li{
  margin: 6px 0;
}

/* Actions row (checkbox + buttons) */
.pr-actions{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

/* Checkbox label */
.pr-check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(11,18,32,0.70);
  user-select: none;
}
.pr-check input{
  transform: translateY(1px);
}

/* Button row */
.pr-btnrow{
  display: inline-flex;
  gap: 10px;
}

/* Buttons base */
.pr-btn{
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

/* Primary gradient pill (Send Request / Use Code / Next) */
.pr-btn-primary{
  min-width: 140px;
  color: #ffffff;
  background: linear-gradient(90deg, #2aa8b6 0%, #163a63 100%);
  box-shadow: 0 10px 22px rgba(22,58,99,0.22);
}
.pr-btn-primary:hover{ filter: brightness(0.985); }
.pr-btn-primary:active{ transform: translateY(1px); }

/* Ghost button (Copy Code / Reset) */
.pr-btn-ghost{
  background: rgba(11,18,32,0.06);
  color: rgba(11,18,32,0.78);
}
.pr-btn-ghost:hover{ filter: brightness(0.985); }
.pr-btn-ghost:active{ transform: translateY(1px); }

/* Footer text */
.pr-foot{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(11,18,32,0.55);
}

/* Compact sidebar mode (Bible Study passage scroll) */
#bibleStudyCard[data-mode="compact"] .pr-textarea{
  max-height: 140px;
  overflow-y: auto;
}


#bibleStudyCard .pr-title{
            font-size: 1.25rem;
            margin: 0 0 0.7rem;
            color: var(--navy-dark);
            font-weight: 700;
        }


/* Shared look for BOTH passage + notes */
.pr-card .pr-textarea,
.pr-card textarea.pr-notes,
.pr-card .pr-field textarea{
  width: 100%;
  box-sizing: border-box;

  /* geometry */
  padding: 12px 12px;
  border-radius: 12px;
  min-height: 92px;

  /* border + surface */
  border: 1px solid rgba(130,155,220,0.55);
  background: #ffffff;

  /* type */
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(11,18,32,0.82);

  /* subtle inner highlight like the inputs */
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

/* Notes can be resized; passage typically not (but can scroll if compact) */
.pr-card textarea.pr-notes,
.pr-card .pr-field textarea{
  resize: vertical;
}

/* If passage is a DIV, it can't be resized — keep behavior consistent */
.pr-card .pr-textarea{
  overflow-wrap: anywhere;
}

/* Placeholder color (only applies to textarea) */
.pr-card textarea.pr-notes::placeholder,
.pr-card .pr-field textarea::placeholder{
  color: rgba(130,155,220,0.95);
}

/* Focus ring — match exactly */
.pr-card textarea.pr-notes:focus,
.pr-card .pr-field textarea:focus{
  outline: none;
  border-color: rgba(38,166,190,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 0 0 4px rgba(38,166,190,0.14);
}

/* Compact mode: passage scrolls but still looks identical */
#bibleStudyCard[data-mode="compact"] .pr-textarea{
  max-height: 140px;
  overflow-y: auto;
}
