/* ============================================================
   Children's Fruit — Design System
   Brand: Orange #F7941D · Green #006837 · Dark #0d1117
   Slogan: "Porte ta croix et suis moi"
   ============================================================ */

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --green:        #006837;
  --green-dark:   #004d29;
  --green-mid:    #00843D;
  --green-light:  #00a855;
  --green-pale:   #e8f5ee;
  --orange:       #F7941D;
  --orange-dark:  #d4780a;
  --orange-pale:  #fff3e0;
  --dark:         #0d1117;
  --dark-2:       #161b22;
  --dark-3:       #21262d;
  --text:         #24292f;
  --text-muted:   #57606a;
  --border:       rgba(0,0,0,.08);
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.18);
  --radius:       14px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --radius-pill:  999px;
  --transition:   all .25s cubic-bezier(.4,0,.2,1);
}

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #f9fafb;
  overflow-x: hidden;
  line-height: 1.65;
}
a { text-decoration: none; transition: var(--transition); color: inherit; }
img { max-width: 100%; height: auto; }

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.text-green  { color: var(--green) !important; }
.text-orange { color: var(--orange) !important; }
.bg-green    { background: var(--green) !important; }
.bg-orange   { background: var(--orange) !important; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn { border-radius: var(--radius-pill); font-weight: 600; font-size: .875rem; transition: var(--transition); }
.btn:focus { box-shadow: none; outline: 3px solid rgba(0,104,55,.3); outline-offset: 2px; }

.btn-green {
  background: var(--green); color: #fff; border: 2px solid var(--green);
}
.btn-green:hover {
  background: var(--green-dark); border-color: var(--green-dark); color: #fff;
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,104,55,.35);
}

.btn-orange {
  background: var(--orange); color: #fff; border: 2px solid var(--orange);
}
.btn-orange:hover {
  background: var(--orange-dark); border-color: var(--orange-dark); color: #fff;
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(247,148,29,.4);
}

.btn-outline-green {
  background: transparent; color: var(--green); border: 2px solid var(--green);
}
.btn-outline-green:hover {
  background: var(--green); color: #fff;
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,104,55,.25);
}

.btn-donate {
  background: var(--orange); color: #fff !important;
  border: 2px solid var(--orange); border-radius: var(--radius-pill);
  padding: .5rem 1.5rem; font-weight: 700; font-size: .85rem;
  transition: var(--transition); white-space: nowrap;
}
.btn-donate:hover {
  background: var(--orange-dark); border-color: var(--orange-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(247,148,29,.5);
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
#mainNav {
  background: var(--green);
  padding: .6rem 0;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
  z-index: 1030;
}
#mainNav.scrolled {
  padding: .3rem 0;
  background: var(--green-dark);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

/* Logo */
.navbar-logo { height: 44px; width: auto; object-fit: contain; }
.navbar-brand { display: flex; align-items: center; }

.navbar-nav .nav-link {
  color: rgba(255,255,255,.88) !important;
  font-weight: 500; font-size: .875rem;
  padding: .45rem .9rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.14);
}
.navbar-nav .nav-link .fa-circle {
  font-size: .5rem; vertical-align: middle; margin-left: 4px;
  animation: livePulse 1.4s ease-in-out infinite;
  color: #ff4444;
}
@keyframes livePulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}

.navbar-toggler { border-color: rgba(255,255,255,.35); }
.navbar-toggler-icon { filter: invert(1); }

.dropdown-menu {
  border: none; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; min-width: 210px;
  animation: fadeDown .2s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item { font-size: .875rem; padding: .6rem 1.2rem; }
.dropdown-item:hover { background: var(--green-pale); color: var(--green); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero-section {
  background: var(--green);
  background-image:
    linear-gradient(135deg, rgba(0,36,20,.85) 0%, rgba(0,104,55,.7) 60%, rgba(0,68,35,.8) 100%);
  background-size: cover;
  background-position: center;
  min-height: 92vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-photo-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(0,36,20,.92) 0%, rgba(0,72,38,.7) 50%, rgba(0,36,20,.85) 100%);
}
.hero-bg-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1; opacity: .35;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(247,148,29,.2); border: 1px solid rgba(247,148,29,.4);
  color: var(--orange); border-radius: var(--radius-pill);
  padding: .35rem 1rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .4px; margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 1.5rem;
  letter-spacing: -.5px;
}
.hero-title span { color: var(--orange); }
.hero-lead { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 500px; margin-bottom: 2.5rem; }

.hero-video-wrapper {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  border: 3px solid rgba(255,255,255,.12);
}

.hero-stat-pill {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: .75rem 1.25rem;
}
.hero-stat-pill .number { color: #fff; font-weight: 800; font-size: 1.4rem; line-height: 1; }
.hero-stat-pill .label  { color: rgba(255,255,255,.7); font-size: .75rem; }
.hero-stat-pill .icon   { color: var(--orange); font-size: 1.5rem; }

/* ── SECTION HEADERS ────────────────────────────────────────── */
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange-pale); color: var(--orange);
  border: 1px solid rgba(247,148,29,.3);
  border-radius: var(--radius-pill); padding: .35rem 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .3px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--dark); line-height: 1.2;
}
.section-title span { color: var(--green); }
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  border-radius: 4px; margin: 1.2rem auto 0;
}
.section-divider.left { margin-left: 0; }

/* ── VIDEO CARDS ────────────────────────────────────────────── */
.video-card {
  border: none; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  background: #fff;
}
.video-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.video-thumb-wrapper {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9; background: var(--dark);
}
.video-thumb-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.video-card:hover .video-thumb-wrapper img { transform: scale(1.06); }

.video-play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.video-card:hover .video-play-overlay { opacity: 1; }

.play-btn {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transform: scale(.85);
  transition: transform .25s ease;
  box-shadow: 0 4px 20px rgba(247,148,29,.6);
}
.video-card:hover .play-btn { transform: scale(1); }

.category-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--orange); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: .25rem .65rem; border-radius: var(--radius-pill);
  text-transform: uppercase; letter-spacing: .5px;
}
.category-badge.live {
  background: #e53935;
  animation: livePulse 1.4s ease-in-out infinite;
}

.card-body { padding: 1.1rem; }
.card-title {
  font-size: .92rem; font-weight: 700; color: var(--dark);
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: .5rem; line-height: 1.4;
}

/* ── KPI SECTION ────────────────────────────────────────────── */
.kpi-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-mid) 100%);
  padding: 5rem 0; position: relative; overflow: hidden;
}
.kpi-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h80v80H0z' fill='none'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3C/g%3E%3C/svg%3E");
}
.kpi-card { padding: 1.5rem 1rem; }
.kpi-icon-wrapper {
  width: 70px; height: 70px; border-radius: 20px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.75rem; color: var(--orange);
  border: 1px solid rgba(255,255,255,.2);
  transition: var(--transition);
}
.kpi-card:hover .kpi-icon-wrapper {
  background: var(--orange); color: #fff; transform: rotate(5deg) scale(1.08);
}
.kpi-number { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: .4rem; }
.kpi-label  { color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 500; }

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fff 0%, var(--green-pale) 100%);
}
.testimonial-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2.5rem 2rem; text-align: center;
  box-shadow: var(--shadow-md); position: relative;
  border: 1px solid rgba(0,0,0,.05);
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 1rem; left: 1.5rem;
  font-size: 5rem; color: var(--green-pale); font-family: Georgia, serif;
  line-height: 1; opacity: .6;
}
.testimonial-avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--green); margin: 0 auto 1rem; display: block;
}
.testimonial-avatar-placeholder {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--green-pale); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 1rem;
}
.testimonial-text { font-style: italic; color: #555; line-height: 1.75; margin-bottom: 1rem; }
.testimonial-name { font-weight: 700; color: var(--dark); }
.testimonial-role { color: var(--green); font-size: .82rem; font-weight: 500; }
.stars i { color: var(--orange); font-size: .85rem; }

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, #ff6b2b 100%);
  padding: 5rem 2rem; color: #fff; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-section::after {
  content: '';
  position: absolute; bottom: -80px; left: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}

/* ── WEBTV HERO ─────────────────────────────────────────────── */
.webtv-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 3.5rem 0 2.5rem;
}

/* ── FILTER BAR ─────────────────────────────────────────────── */
.filter-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  background: #fff; border-radius: var(--radius);
  padding: .75rem 1rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.filter-btn {
  padding: .4rem 1rem; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 600; color: var(--text-muted);
  border: 1.5px solid transparent; transition: var(--transition);
  background: #f5f5f5;
}
.filter-btn:hover { color: var(--green); border-color: var(--green); background: var(--green-pale); }
.filter-btn.active {
  background: var(--green); color: #fff; border-color: var(--green);
  box-shadow: 0 4px 14px rgba(0,104,55,.3);
}

/* ── PAGE HEADER ────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 4rem 0 3rem; position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px;
  background: #f9fafb;
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* ── DONATION PAGE ──────────────────────────────────────────── */
.donation-hero {
  background: linear-gradient(135deg, var(--orange) 0%, #e67e00 100%);
  padding: 4rem 0 3rem; color: #fff;
}
.pay-option-card {
  border: 2px solid transparent; border-radius: var(--radius);
  padding: 1.25rem; cursor: pointer; transition: var(--transition);
  background: #fff; box-shadow: var(--shadow-sm);
}
.pay-option-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.pay-option-card.selected {
  border-color: var(--green); background: var(--green-pale);
  box-shadow: 0 0 0 3px rgba(0,104,55,.12);
}
.pay-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff; flex-shrink: 0;
}
.amount-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .6rem 1.2rem; border-radius: var(--radius-pill);
  background: #f0f0f0; color: var(--text); font-weight: 700;
  font-size: .85rem; cursor: pointer; transition: var(--transition);
  border: 2px solid transparent;
}
.amount-chip:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }
.amount-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── COMMUNITY PAGE ─────────────────────────────────────────── */
.community-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 3rem 0 2.5rem; color: #fff;
}
.chat-container {
  background: var(--dark-2); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; height: 520px;
}
.chat-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }
.chat-input-area {
  padding: .75rem 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; gap: .5rem;
}
.chat-bubble {
  max-width: 80%;
  padding: .6rem .9rem; border-radius: 14px;
  font-size: .83rem; line-height: 1.5;
}
.chat-bubble.own {
  background: var(--green); color: #fff;
  border-bottom-right-radius: 4px; align-self: flex-end;
}
.chat-bubble.other {
  background: var(--dark-3); color: rgba(255,255,255,.9);
  border-bottom-left-radius: 4px; align-self: flex-start;
}
.chat-meta { font-size: .68rem; opacity: .55; margin-top: 3px; }

.online-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #22c55e;
  display: inline-block; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(34,197,94,.3);
  animation: onlinePulse 2s ease-in-out infinite;
}
@keyframes onlinePulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(34,197,94,.3); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,.1); }
}

.community-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  overflow: hidden;
}
.community-card .card-header-cf {
  padding: .9rem 1.2rem;
  background: linear-gradient(90deg, var(--green), var(--green-mid));
  color: #fff; font-weight: 700; font-size: .88rem;
  display: flex; align-items: center; gap: .5rem;
}

.task-row {
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem 1rem; border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.task-row:last-child { border-bottom: none; }
.task-row:hover { background: var(--green-pale); }
.task-status {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.task-status.open      { background: #22c55e; }
.task-status.assigned  { background: var(--orange); }
.task-status.completed { background: var(--text-muted); }

/* ── DASHBOARD ──────────────────────────────────────────────── */
.dash-sidebar {
  background: var(--dark); min-height: 100vh;
  width: 260px; flex-shrink: 0;
  padding: 1.5rem 0; position: sticky; top: 0;
}
.dash-sidebar .sidebar-brand {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1rem;
}
.dash-nav-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1.5rem; color: rgba(255,255,255,.7);
  font-size: .875rem; font-weight: 500; border-left: 3px solid transparent;
  transition: var(--transition);
}
.dash-nav-link:hover,
.dash-nav-link.active {
  color: #fff; background: rgba(255,255,255,.06);
  border-left-color: var(--orange);
}
.dash-nav-link .icon { width: 20px; text-align: center; flex-shrink: 0; }

.dash-main { flex: 1; background: #f4f6f9; padding: 2rem; min-height: 100vh; }
.dash-wrap  { display: flex; min-height: calc(100vh - 60px); }

.stat-card {
  background: #fff; border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: var(--transition);
  display: flex; align-items: center; gap: 1rem;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}

.progress { height: 8px; border-radius: 4px; background: #e9ecef; }
.progress-bar.bg-green  { background: var(--green) !important; }
.progress-bar.bg-orange { background: var(--orange) !important; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer-section {
  background: var(--dark);
  color: rgba(255,255,255,.75);
}
.footer-brand { font-size: 1.3rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 38px; object-fit: contain; }
.footer-logo-text { color: var(--orange); font-weight: 800; }
.footer-tagline { color: rgba(255,255,255,.45); font-size: .78rem; font-style: italic; margin-top: 4px; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--orange); padding-left: 4px; }

.social-link {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.6);
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition); border: 1px solid rgba(255,255,255,.08);
}
.social-link:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }

.footer-newsletter input {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  color: #fff; border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  padding: .55rem 1rem; font-size: .85rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter input:focus {
  outline: none; border-color: var(--orange);
  box-shadow: none; background: rgba(255,255,255,.1);
}
.footer-newsletter .btn {
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
}

/* ── AUTH PAGES ─────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-mid) 100%);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.auth-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2.5rem; width: 100%; max-width: 460px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.auth-logo { height: 52px; object-fit: contain; margin-bottom: 1.5rem; }

/* ── FORMS ──────────────────────────────────────────────────── */
.form-control, .form-select {
  border-radius: var(--radius-sm); border: 1.5px solid #e0e0e0;
  padding: .65rem 1rem; font-size: .9rem; transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,104,55,.12);
}
.form-label { font-weight: 600; font-size: .875rem; color: var(--text); margin-bottom: .4rem; }

.input-icon-wrap { position: relative; }
.input-icon-wrap .fa { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: .9rem; }
.input-icon-wrap input { padding-left: 2.4rem; }

/* ── PAGINATION ─────────────────────────────────────────────── */
.page-link {
  border-radius: 50% !important; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: none; color: var(--text-muted); font-weight: 600;
  transition: var(--transition);
}
.page-link:hover { background: var(--green-pale); color: var(--green); }
.page-item.active .page-link { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(0,104,55,.35); }

/* ── BADGE & ALERT ──────────────────────────────────────────── */
.badge-orange {
  background: var(--orange-pale); color: var(--orange);
  border: 1px solid rgba(247,148,29,.3);
  border-radius: var(--radius-pill); padding: .35rem 1rem;
  font-size: .78rem; font-weight: 700;
}

/* ── DONATION MODAL ─────────────────────────────────────────── */
#donationModal .modal-content {
  background: #14142a; border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
}
.don-amount-btn {
  background: rgba(255,255,255,.07); color: #fff;
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-pill);
  font-weight: 600; font-size: .8rem; padding: .3rem .9rem;
  cursor: pointer; transition: var(--transition);
}
.don-amount-btn.selected, .don-amount-btn:hover {
  background: var(--orange); border-color: var(--orange); color: #fff;
}

/* ── MISC UTILITIES ─────────────────────────────────────────── */
.rounded-xl   { border-radius: var(--radius) !important; }
.rounded-2xl  { border-radius: var(--radius-lg) !important; }
.shadow-card  { box-shadow: var(--shadow-md) !important; }
.bg-green-pale { background: var(--green-pale) !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.lh-base { line-height: 1.65; }
.z-1 { z-index: 1; }
.auto-dismiss { animation: none; }

/* ── BLOG ────────────────────────────────────────────────────── */
.blog-filter-btn {
  padding: .4rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  transition: var(--transition);
}
.blog-filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
}
.blog-filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,104,55,.25);
}
.blog-card { transition: var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg) !important; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .dash-sidebar { width: 100%; min-height: auto; position: relative; }
  .dash-wrap { flex-direction: column; }
  .dash-main { padding: 1rem; }
  .hero-section { min-height: auto; padding: 5rem 0 3rem; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .filter-bar { flex-wrap: wrap; }
  .chat-container { height: 420px; }
}
