/* ============================================================
   ZEPÒL — Dashboard Polish (entèfas apre-koneksyon)
   Inifye koulè yo sou palet mak la: vèt #2d5a27 · krèm #fefae0 · lò #d4a373
   Kouch sa a chaje APRE lòt CSS yo pou l ka amelyore aparans lan.
   ============================================================ */

/* --- Ritm & lajè dashboard la --- */
#member-home-content {
  max-width: 720px;
  margin: 0 auto;
}
#member-home-content > div {
  margin-bottom: 18px;
}

/* --- Header modèn: yon bèl bandwo vèt --- */
.dashboard-header-modern {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 24px;
  padding: 26px 28px;
  margin: 16px 0 20px;
  box-shadow: 0 16px 36px rgba(45, 90, 39, 0.22);
  position: relative;
  overflow: hidden;
}
.dashboard-header-modern::after {
  content: "🌿";
  position: absolute;
  right: 18px;
  bottom: -14px;
  font-size: 92px;
  opacity: 0.12;
}
.dashboard-header-modern .welcome-text h2,
.dashboard-header-modern h2 { color: #ffffff !important; }
.dashboard-header-modern #dash-welcome-name { color: #faedcd !important; }
.dashboard-header-modern p { color: rgba(255, 255, 255, 0.92) !important; }

/* --- Sistèm kat inifye pou tout widget yo --- */
.mood-checkin-widget,
.positive-challenges-widget,
.daily-affirmation-box,
.expression-panel-modern,
.supportive-self-care-section {
  background: #ffffff !important;
  border: 1px solid rgba(45, 90, 39, 0.10) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 24px rgba(30, 61, 26, 0.06) !important;
  padding: 22px !important;
}
.mood-checkin-widget h4,
.positive-challenges-widget h4,
.expression-panel-modern h3,
.home-community-feed h3 { color: var(--primary-dark) !important; }

/* --- Welcome banner: aksан vèt olye ble --- */
.supportive-welcome-banner {
  background: rgba(255, 255, 255, 0.92) !important;
  border-left-color: var(--primary) !important;
  border-radius: 16px !important;
}

/* --- Pawòl Jou a: ton lò dou olye zoranj --- */
.daily-affirmation-box {
  background: linear-gradient(135deg, #faedcd 0%, #fffdf5 100%) !important;
  border-left: 5px solid var(--accent) !important;
}

/* --- Aksyon rapid: bouton inifye --- */
.quick-actions-bar { gap: 10px !important; }
.quick-actions-bar .quick-action-btn {
  background: #ffffff !important;
  border: 1.5px solid rgba(45, 90, 39, 0.18) !important;
  color: var(--primary-dark) !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(30, 61, 26, 0.05);
  transition: all 0.25s ease !important;
}
.quick-actions-bar .quick-action-btn i { color: var(--primary) !important; }
.quick-actions-bar .quick-action-btn:hover {
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(45, 90, 39, 0.12);
}

/* --- Defi jounen an: badj pwen --- */
.positive-challenges-widget .fa-trophy { color: var(--accent) !important; }

/* --- Micro-task yo (fè yon ti bagay) --- */
.micro-task-grid { grid-template-columns: 1fr; }
.micro-task-btn {
  background: #ffffff;
  border: 1px solid rgba(45, 90, 39, 0.15);
  border-radius: 14px;
  padding: 13px 16px;
  text-align: left;
  cursor: pointer;
  width: 100%;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}
.micro-task-btn:hover {
  border-color: var(--primary);
  background: rgba(76, 140, 74, 0.06);
  transform: translateX(3px);
}

/* --- Objektif / Viktwa --- */
.goals-achievements-section .fa-bullseye,
.goals-achievements-section .fa-trophy { color: var(--accent) !important; }

/* --- Feed kominote: tit --- */
.home-community-feed { margin-top: 26px !important; }

/* --- Bouton "Wè tout" & lyen --- */
.home-community-feed .btn-link { color: var(--primary) !important; }

/* --- Feed kominote: yon lis ki defile anndan (pa gaye sou paj la) --- */
#home-posts-feed {
  max-height: 540px;
  overflow-y: auto;
  padding: 4px 10px 4px 2px;
  border-radius: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 90, 39, 0.25) transparent;
}
#home-posts-feed::-webkit-scrollbar { width: 8px; }
#home-posts-feed::-webkit-scrollbar-track { background: transparent; }
#home-posts-feed::-webkit-scrollbar-thumb {
  background: rgba(45, 90, 39, 0.22);
  border-radius: 50px;
}
#home-posts-feed::-webkit-scrollbar-thumb:hover { background: rgba(45, 90, 39, 0.4); }

/* --- Chips pou triye feed la --- */
.home-feed-sort { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.home-sort-chip {
  background: #fff;
  border: 1.5px solid rgba(45, 90, 39, 0.16);
  color: var(--muted);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.home-sort-chip:hover { border-color: var(--primary); }
.home-sort-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: transparent;
}

/* ============================================================
   FOOTER — repare kontras (tèks te twò pal sou fon blan)
   Kounye a: fon vèt fonse + tèks klè lizib
   ============================================================ */
.site-footer,
.professional-footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #14290f 100%) !important;
  color: #ffffff !important;
}
.footer-col h4 { color: #faedcd !important; font-weight: 800 !important; }
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.88) !important;
  transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: var(--accent) !important; }
.footer-col.col-brand p,
.footer-grid p { color: rgba(255, 255, 255, 0.82) !important; }
.footer-bottom p { color: rgba(255, 255, 255, 0.78) !important; }
.footer-bottom p:last-child { color: rgba(255, 255, 255, 0.62) !important; }
.social-links i { color: rgba(255, 255, 255, 0.85) !important; }
.social-links i:hover { color: var(--accent) !important; }
/* kenbe koulè espesyal yo lizib */
.footer-col ul li a[style*="f59e0b"] { color: #fcd34d !important; }
.footer-col ul li a[style*="accent"] { color: var(--accent) !important; }

/* ============================================================
   ANTÈT VUE YO — inifye tout paj yo ak menm bandwo vèt kowetan
   (Byennèt, Jwèt, Premium, Donate, Resous, Paramèt...)
   ============================================================ */
.premium-page-header,
#view-premium .view-header,
#view-resources .view-header,
#view-settings .view-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
  color: #ffffff !important;
  border-radius: 22px !important;
  padding: 32px 24px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 14px 32px rgba(45, 90, 39, 0.20) !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: none !important;
}
.premium-page-header h2,
#view-premium .view-header h2,
#view-resources .view-header h2,
#view-settings .view-header h2 {
  color: #ffffff !important;
  text-shadow: none !important;
  margin: 0 0 6px 0;
}
.premium-page-header p,
.view-header p {
  color: rgba(255, 255, 255, 0.9) !important;
}
.premium-page-header h2 i,
.view-header h2 i {
  color: #faedcd !important;
}

/* --- Kat inifye nan tout vue yo --- */
.view .glass-panel,
.view .card {
  border-radius: 20px;
}
.view .card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.view .card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(30, 61, 26, 0.10); }

/* --- Tit seksyon nan vue yo (san kraze bandwo koulè yo) --- */
.view .container > h3,
.view .section-title { color: var(--primary-dark); }

/* --- Antre/textarea kowetan --- */
.view input[type="text"],
.view input[type="email"],
.view input[type="password"],
.view textarea,
.view select {
  border-radius: 14px;
  border: 1px solid rgba(45, 90, 39, 0.18);
  outline: none;
  transition: border-color 0.2s ease;
}
.view input[type="text"]:focus,
.view input[type="email"]:focus,
.view textarea:focus,
.view select:focus { border-color: var(--primary); }

/* --- Ti amelyorasyon mobil --- */
@media (max-width: 600px) {
  .dashboard-header-modern { padding: 20px 20px; border-radius: 20px; }
  .dashboard-header-modern .welcome-text h2 { font-size: 22px !important; }
  #member-home-content > div { margin-bottom: 14px; }
  #home-posts-feed { max-height: 460px; }
  .premium-page-header,
  #view-premium .view-header,
  #view-resources .view-header,
  #view-settings .view-header { padding: 24px 18px !important; border-radius: 18px !important; }
  .premium-page-header h2 { font-size: 1.6rem !important; }
}
