/* ==========================================================================
   MINIMALIST DESIGN SYSTEM (RuangTeduh Opsi 2)
   ========================================================================== */

:root {
  --primary-color: #2e5a5f;       /* Calming Sage / Deep Teal */
  --primary-hover: #1f3f43;
  --primary-light: #f0f5f5;       /* Soft ice-sage background tint */
  
  --secondary-color: #b5838d;     /* Dusty Rose / Lavender grey */
  --secondary-hover: #a2727c;
  --secondary-light: #faf0f1;
  
  --accent-color: #d4a373;        /* Soft sand gold */
  
  --bg-color: #f7f9fa;            /* Cool ice-white/slate background */
  --surface-color: #ffffff;       /* Pure white card backgrounds */
  
  --text-main: #2b303a;           /* Deep charcoal slate */
  --text-muted: #6e7681;          /* Cool grey-slate for text */
  --text-inverse: #ffffff;
  
  --border-color: #e5ebed;        /* Very thin light grey border */
  --border-active: #2e5a5f;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
  
  --radius-lg: 24px;              /* High rounded corners for minimalist friendly look */
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;          /* Pill-shaped buttons */
  
  --container-width: 1100px;
}

/* ==========================================================================
   RESET & SYSTEM BASICS
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

.text-center { text-align: center !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.w-full { width: 100% !important; }
.section-padding { padding: 5rem 0; }

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */

.announcement-bar {
  background-color: #1a3235;
  color: var(--text-inverse);
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-bar span {
  font-weight: 700;
  color: var(--secondary-color);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  opacity: 0.8;
}

.back-link:hover {
  opacity: 1;
  color: var(--secondary-color);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: 80px;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  flex-shrink: 0;
}

.logo-icon {
  color: var(--primary-color);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.logo:hover .logo-icon {
  transform: rotate(18deg) scale(1.05);
}

.logo-text span {
  color: var(--secondary-color);
  font-weight: 300;
}

.desktop-nav ul {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: var(--transition-normal);
}

.nav-link.active::after {
  transform: translateX(-50%) scale(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

/* User Profile Badge */
.user-profile-badge-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.user-profile-badge-nav:hover {
  border-color: var(--primary-color);
  background: #ffffff;
}

.nav-avatar {
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.nav-profile-info {
  display: flex;
  flex-direction: column;
}

.nav-username {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.nav-points {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 20px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full); /* Pill shapes in Opsi 2 */
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 15px rgba(46, 90, 95, 0.2);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-inverse);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  box-shadow: 0 4px 15px rgba(181, 131, 141, 0.2);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-inverse);
}

.btn-accent:hover {
  transform: translateY(-1px);
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 1.25rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  top: 80px;
  right: -300px;
  width: 260px;
  height: calc(100vh - 80px);
  background-color: var(--surface-color);
  border-left: 1px solid var(--border-color);
  z-index: 99;
  padding: 2rem;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.drawer-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: rgba(43, 48, 58, 0.15);
  backdrop-filter: blur(4px);
  z-index: 98;
  display: none;
}

.drawer-overlay.open {
  display: block;
}

/* ==========================================================================
   TAB MANAGEMENT (SPA-like)
   ========================================================================== */

.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 6rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-text-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 300; /* Ultra-clean, light weighting */
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.hero-title strong {
  font-weight: 700;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg-wrapper {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 100%;
  aspect-ratio: 5/4;
}

.flat-illustration {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */

.stats-strip {
  background-color: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 180px;
}

.stat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-color);
}

@media (max-width: 768px) {
  .stat-divider {
    display: none;
  }
}

/* ==========================================================================
   NEW: QUICK IMPACT DASHBOARD CARD
   ========================================================================== */

.quick-profile-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.qp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.qp-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--primary-color);
}

.qp-badge {
  font-size: 0.7rem;
  font-weight: 600;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.qp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.qp-stat-box {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition-fast);
}

.qp-stat-box:hover {
  border-color: var(--primary-color);
  background: #ffffff;
}

.qp-stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.qp-stat-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.qp-history-wrapper {
  margin-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 1.25rem;
}

.qp-history-wrapper h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.qp-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.qp-history-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  background: var(--bg-color);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--primary-color);
}

.qp-history-item strong {
  color: var(--primary-color);
}

/* ==========================================================================
   CARDS & GRIDS (DONATION CAMPAIGNS)
   ========================================================================== */

.home-featured-section {
  padding: 5rem 0;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-title-group {
  max-width: 600px;
}

.section-tag {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 300;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.campaign-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  cursor: pointer;
}

.campaign-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(46, 90, 95, 0.04);
}

.campaign-img-container {
  height: 180px;
  background-color: var(--primary-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--surface-color);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
}

.campaign-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.campaign-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.campaign-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Progress Tracker */
.progress-container {
  margin-bottom: 1.5rem;
}

.progress-bar-bg {
  background-color: var(--border-color);
  height: 4px; /* Thin progress bar */
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar-fill {
  background-color: var(--primary-color);
  height: 100%;
  width: 0%;
  transition: width 1s ease-out;
  border-radius: var(--radius-full);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
}

.progress-raised {
  color: var(--primary-color);
}

.progress-percent {
  color: var(--secondary-color);
}

.progress-target {
  font-weight: 400;
  color: var(--text-muted);
}

.campaign-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
}

.campaign-donors {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.campaign-donors strong {
  color: var(--text-main);
}

/* ==========================================================================
   SUBPAGE LAYOUTS (DONASI & FORUM)
   ========================================================================== */

.subpage-header {
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.badge-white {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.subpage-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.subpage-subtitle {
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Donasi Filter */
.filter-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--surface-color);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-color);
  color: var(--text-inverse);
  border-color: var(--primary-color);
}

/* Split layouts */
.donation-layout {
  display: grid;
  grid-template-columns: 2.6fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .donation-layout {
    grid-template-columns: 1fr;
  }
}

.support-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

/* Profile Sidebar Widget */
.sb-profile-widget {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sb-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.sb-avatar.bg-gold {
  background-color: var(--secondary-color);
}

.sb-details h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.badge-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  background-color: var(--secondary-light);
  color: var(--secondary-color);
  border-radius: 4px;
}

.badge-tag.bg-light-green {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.sb-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 1rem;
}

.sb-stats-row div strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
}

.sb-stats-row div span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Wall of Hope Feed */
.support-wall {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.support-item {
  display: flex;
  gap: 0.75rem;
  background-color: var(--bg-color);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.support-avatar {
  width: 32px;
  height: 32px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.support-body {
  flex-grow: 1;
}

.support-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.support-header strong {
  font-size: 0.8rem;
}

.support-amt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.support-msg {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.15rem;
  margin-bottom: 0.15rem;
}

.support-time {
  font-size: 0.7rem;
  color: #a0a5b0;
}

/* ==========================================================================
   FORUM DISKUSI (THEMING)
   ========================================================================== */

.forum-layout {
  display: grid;
  grid-template-columns: 1.1fr 3fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .forum-layout {
    grid-template-columns: 1fr;
  }
}

.forum-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.forum-categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cat-link:hover, .cat-link.active {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.cat-link .count {
  font-size: 0.7rem;
  background-color: var(--border-color);
  color: var(--text-muted);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

.cat-link.active .count {
  background-color: var(--primary-color);
  color: var(--text-inverse);
}

/* Action Search Bar */
.forum-action-bar {
  margin-bottom: 2rem;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

#forum-search {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 3.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  outline: none;
  background-color: var(--surface-color);
}

#forum-search:focus {
  border-color: var(--primary-color);
}

/* Forum Feed Items */
.forum-threads-list, .forum-preview-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.forum-thread-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition-normal);
}

.forum-thread-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.thread-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.thread-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 28px;
  height: 28px;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.thread-time {
  font-size: 0.7rem;
  color: #a0a5b0;
}

.tag-badge {
  display: inline-block;
  background-color: var(--bg-color);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: capitalize;
}

.tag-badge.cat-umum { border-color: var(--secondary-color); color: var(--secondary-color); background-color: var(--secondary-light); }
.tag-badge.cat-keagamaan { border-color: var(--primary-color); color: var(--primary-color); background-color: var(--primary-light); }
.tag-badge.cat-kegiatan { border-color: #5c7f85; color: #5c7f85; background-color: #f0f4f5; }
.tag-badge.cat-tanya-jawab { border-color: var(--accent-color); color: var(--accent-color); background-color: #faf5ef; }

.thread-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.thread-preview-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.thread-actions {
  display: flex;
  gap: 1.25rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.action-btn:hover {
  color: var(--primary-color);
}

.action-btn.liked {
  color: var(--secondary-color);
}

.action-btn.liked svg {
  fill: var(--secondary-color);
  stroke: var(--secondary-color);
}

/* ==========================================================================
   NEW: FORUM COMMENTS SECTION
   ========================================================================== */

.thread-comments-wrapper {
  margin-top: 1.5rem;
  background: #fbfcfc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: none;
  animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.thread-comments-wrapper.active {
  display: block;
}

.comments-header-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.comment-node {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
}

.comment-node-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  margin-bottom: 0.25rem;
}

.comment-node-author {
  font-weight: 600;
  color: var(--text-main);
}

.comment-node-time {
  color: var(--text-muted);
}

.comment-node-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.comment-input-form {
  border-top: 1px dashed var(--border-color);
  padding-top: 1rem;
}

.comment-form-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.comment-form-row input {
  padding: 0.4rem;
  font-size: 0.75rem;
}

.comment-textarea {
  width: 100%;
  padding: 0.5rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  resize: vertical;
  background: #fff;
  margin-bottom: 0.5rem;
}

.comment-textarea:focus {
  border-color: var(--primary-color);
}

/* ==========================================================================
   TENTANG KAMI SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3.5rem;
  margin-bottom: 5rem;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.section-title-alt {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.about-content > p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-card {
  display: flex;
  gap: 1.25rem;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.value-icon {
  font-size: 2rem;
  line-height: 1;
}

.value-desc h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.value-desc p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.visual-card {
  background-color: var(--primary-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.visual-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.visual-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.about-stats-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.s-box {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.s-box strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.s-box span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* FAQ Accordion */
.faq-section {
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 300;
  margin-bottom: 3rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item.open {
  border-color: var(--primary-color);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.open .faq-content {
  padding: 0 1.25rem 1.25rem 1.25rem;
  max-height: 300px;
}

.faq-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   PRE-FOOTER BANNER (CTA)
   ========================================================================== */

.cta-banner-wrapper {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.cta-banner {
  background-color: var(--secondary-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

.cta-content {
  max-width: 600px;
  color: var(--text-inverse);
}

.cta-content h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.cta-content p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand-column .logo {
  margin-bottom: 1rem;
}

.brand-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-links-column h4 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.footer-links-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-column a {
  font-size: 0.85rem;
}

.footer-links-column a:hover {
  color: var(--primary-color);
}

.footer-contact-info {
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  font-size: 0.8rem;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.footer-socials a {
  background-color: var(--primary-light);
  color: var(--primary-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-socials a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* ==========================================================================
   MODAL WINDOWS & BACKDROP
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(43, 48, 58, 0.15);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: block;
  opacity: 1;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 201;
  width: 90%;
  max-width: 500px;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(43, 48, 58, 0.08);
}

.modal.show {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.modal.modal-sm {
  max-width: 380px;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-body {
  padding: 1.5rem;
}

.modal-campaign-meta {
  background-color: var(--primary-light);
  border: 1px solid var(--border-color);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.modal-campaign-meta p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.modal-campaign-meta strong {
  font-size: 0.9rem;
  color: var(--primary-color);
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.75rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-color);
  outline: none;
  font-size: 0.9rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: var(--surface-color);
}

/* Quick Amounts */
.quick-amounts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.quick-amt-btn {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
}

.quick-amt-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.quick-amt-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-inverse);
}

.custom-amount-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.currency-symbol {
  position: absolute;
  left: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

#input-donate-amount {
  padding-left: 2.25rem;
  width: 100%;
  height: 40px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
}

#input-donate-amount:focus {
  border-color: var(--primary-color);
}

/* Checkbox design */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 1.75rem;
  margin-top: 0.75rem;
  cursor: pointer;
  font-size: 0.8rem;
  user-select: none;
  font-weight: 500;
  color: var(--text-muted);
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-checkmark {
  position: absolute;
  top: 0.15rem;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.checkbox-container:hover input ~ .checkbox-checkmark {
  border-color: var(--primary-color);
}

.checkbox-container input:checked ~ .checkbox-checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkbox-checkmark::after {
  display: block;
}

.checkbox-container .checkbox-checkmark::after {
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* ==========================================================================
   NEW: MULTI-STEP DONATION MODAL UTILITIES
   ========================================================================== */

.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  background: var(--bg-color);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.step {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step.active {
  color: var(--primary-color);
}

.step.completed {
  color: var(--secondary-color);
  opacity: 0.6;
}

.step-line {
  height: 1px;
  background-color: var(--border-color);
  flex-grow: 1;
  margin: 0 0.4rem;
}

.step-line.active {
  background-color: var(--primary-color);
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Payment Selection list styling */
.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pay-method-option {
  cursor: pointer;
}

.pay-method-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pay-option-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  transition: var(--transition-normal);
}

.pay-method-option input:checked + .pay-option-card {
  border-color: var(--primary-color);
  background: #ffffff;
}

.pay-icon {
  font-size: 1.25rem;
}

.pay-details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pay-details strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.pay-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.payment-flow-pane {
  display: none;
}
.payment-flow-pane.active {
  display: block;
}

/* Kuitansi Digital Receipt */
.receipt-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
  font-family: monospace;
}

.receipt-header {
  text-align: center;
  margin-bottom: 0.75rem;
}

.receipt-header strong {
  display: block;
  font-size: 0.85rem;
  color: var(--primary-color);
}

.receipt-header span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.receipt-divider {
  border-top: 1px dashed var(--border-color);
  margin: 0.75rem 0;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.receipt-total {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.receipt-total strong {
  font-size: 1.05rem;
  font-weight: 700;
}

/* ==========================================================================
   NEW: TIMELINE VIEW IN DETAIL MODAL
   ========================================================================== */

.detail-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.25rem;
}

.detail-tab-btn {
  background: none;
  border: none;
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  text-align: center;
}

.detail-tab-btn.active {
  color: var(--primary-color);
}

.detail-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -0.35rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.detail-tab-panel {
  display: none;
}

.detail-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.timeline-wrapper {
  position: relative;
  padding-left: 1.5rem;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 4px;
  width: 1px;
  height: 100%;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.25rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 6px;
  width: 8px;
  height: 8px;
  background-color: var(--secondary-color);
  border: 1px solid #fff;
  border-radius: 50%;
}

.timeline-date {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--secondary-color);
  display: block;
}

.timeline-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.15rem;
}

.timeline-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Detail Donors list */
.detail-donor-node {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-color);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 0.4rem;
}

.detail-donor-node div strong {
  display: block;
  font-size: 0.8rem;
}

.detail-donor-node div span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.detail-donor-val {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.85rem;
}

/* ==========================================================================
   TOAST NOTIFICATION COMPONENT
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background-color: var(--primary-color);
  color: var(--text-inverse);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(46, 90, 95, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 260px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  background-color: var(--primary-color);
}

.toast-info {
  background-color: var(--secondary-color);
}

.toast-icon {
  font-size: 1.1rem;
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 0.85rem;
}

.toast-msg {
  font-size: 0.75rem;
  opacity: 0.85;
}

.toast-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.5;
}

.toast-close:hover {
  opacity: 1;
}

/* ==========================================================================
   MEDIA QUERIES & MOBILE OPTIMIZATIONS
   ========================================================================== */

@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-text-content {
    margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .desktop-nav {
    display: none;
  }
  
  .user-profile-badge-nav {
    display: none;
  }
  
  .header-actions {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .subpage-title {
    font-size: 1.85rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .quick-amounts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stats-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  
  .toast {
    min-width: unset;
    width: 100%;
  }
  
  .detail-tabs {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
