/* General */
.hero-card {
  border: 0;
}

.cheerful-tabs .nav-link {
  font-weight: 700;
  font-size: 1.05rem;
}

.cheerful-tabs .nav-link.active {
  border-bottom: 3px solid #0d6efd;
}

/* Avatar - HERO (bigger, shadow) */
.vp-avatar-xxl{
  width: 220px;
  height: 220px;
  object-fit: cover;
  border: 6px solid rgba(13,110,253,.25);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

@media (min-width: 992px){
  .vp-avatar-xxl{
    width: 260px;
    height: 260px;
  }
}

/* About box */
.about-box{
  max-width: 860px;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(13,110,253,.04);
  border: 1px solid rgba(13,110,253,.12);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Scripture hero card */
.scripture-hero{
  max-width: 860px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
}

.scripture-hero-text{
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Chat messages */
#messages {
  overflow-y: auto;
  max-height: 460px;
}

.msg {
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.msg-user {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
}

.msg-ai {
  background: rgba(13,110,253,.06);
  border: 1px solid rgba(13,110,253,.15);
}

.msg-role {
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(0,0,0,.55);
  margin-bottom: 6px;
}

.msg-body {
  font-size: 1.2rem; /* bigger for older users */
  line-height: 1.65;
}

/* Bigger input too */
#q{
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Donor banner */
.donor-banner {
  margin: 0 auto;
  max-width: 860px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(25,135,84,.08);
  border: 1px solid rgba(25,135,84,.18);
}

/* Charity cards */
.charity-card {
  border: 0;
}

/* =========================
   PayPal CTA — matches your style
   ========================= */

/* Container for the donate CTA */
.donate-stack{
  margin: 0 auto;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Primary PayPal button */
.btn-paypal{
  background: #0070ba; /* PayPal blue */
  color: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px; /* match your boxes/cards */
  font-weight: 800;
  letter-spacing: .2px;
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.btn-paypal:hover{
  color: #fff;
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.btn-paypal:active{
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.btn-paypal:focus-visible{
  outline: 3px solid rgba(13,110,253,.35);
  outline-offset: 2px;
}

.paypal-icon{
  display: inline-block;
  vertical-align: middle;
}

/* XL helper (Bootstrap 5 doesn't include btn-xl) */
.btn-xl{
  padding: .95rem 1.25rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* Small helper text under PayPal CTA */
.donate-note{
  max-width: 860px;
  margin: .5rem auto 0;
  text-align: center;
  color: rgba(0,0,0,.55);
  font-size: .92rem;
  line-height: 1.4;
}

/* =========================
   Chat composer (Improved UI)
   ========================= */
.composer-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
}

.composer-title{
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: .2px;
}

.composer-subtitle{
  font-size: 1.02rem;
  line-height: 1.35;
}

.composer-textarea{
  font-size: 1.15rem;
  line-height: 1.55;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  resize: vertical;
  min-height: 98px;
}

.composer-textarea:focus{
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
  border-color: rgba(13,110,253,.35);
}

.composer-hint{
  font-size: 0.98rem;
}

.composer-disclaimer{
  font-size: 0.95rem;
}

.composer-send{
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
}

.composer-bestq{
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 900;
}

/* Mobile: stack buttons nicely */
@media (max-width: 576px){
  .composer-send, .composer-bestq{
    width: 100%;
  }
}

.navbar .nav-link.active{
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* =========================
   PWA Install Banner
   ========================= */
.pwa-install{
  position: sticky;
  top: 10px;
  z-index: 50;
  margin: 0 auto 12px;
  max-width: 980px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
.pwa-install-text{ text-align: left; }
.pwa-install-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
