/**
 * FundCore Frontend Stylesheet
 * Single unified design system for FundCore donor platform.
 *
 * Design Tokens:
 * Primary: #00A3AB (with variants: hover #008C94, dark #026873, light #E6F6F7)
 * Accent Green: #37C14B | WA Green: #25D266
 * Text: #1E293B (body), #64748B (muted), #94A3B8 (light)
 * Soft Greys: #F6F8FA (background), #FFFFFF (surface), #E2E8F0 (border)
 *
 * Responsive Breakpoints: 992px, 768px, 480px, 380px
 */

:root {
  --fc-color1: #00a3ab;
  --fc-color1-hover: #008c94;
  --fc-color1-dark: #026873;
  --fc-color1-light: #e6f6f7;
  --fc-color2: #37c14b;
  --fc-color3: #00a3ab;
  --fc-color4: #026873;
  --fc-wa-green: #25d266;
  --fc-bg: #f6f8fa;
  --fc-surface: #ffffff;
  --fc-text: #1e293b;
  --fc-text-muted: #64748b;
  --fc-text-light: #94a3b8;
  --fc-border: #e2e8f0;
  --fc-border-hover: #cbd5e1;
  --fc-radius: 12px;
  --fc-radius-sm: 8px;
  --fc-radius-pill: 9999px;
  --fc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --fc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --fc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

body.fund-standalone {
  margin: 0;
  padding: 0;
  background-color: var(--fc-bg);
  color: var(--fc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  line-height: 1.5;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* ==========================================================================
   Preview & Admin Badges
   ========================================================================== */
.fc-preview-banner {
  background: #fff3cd;
  color: #856404;
  border-bottom: 1px solid #ffeeba;
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}
.fc-admin-chip-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.fc-chip-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid var(--fc-border);
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--fc-radius-pill);
  text-decoration: none;
  transition: all 0.15s ease;
}
.fc-chip-admin:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* ==========================================================================
   Layout Containers & Cards
   ========================================================================== */
.fc-mobile-layout {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 12px 90px;
}

.fc-boxed-layout {
  width: 100%;
  padding-bottom: 80px;
}
.fc-boxed-layout .fc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}
.fc-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .fc-grid {
    flex-direction: row;
    align-items: flex-start;
  }
  .fc-col-main {
    flex: 1 1 65%;
    min-width: 0;
  }
  .fc-col-side {
    flex: 0 0 35%;
    position: sticky;
    top: 24px;
  }
}

.fc-card {
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--fc-shadow-sm);
}
.fc-not-found {
  text-align: center;
  padding: 48px 24px;
  margin-top: 40px;
}

/* ==========================================================================
   Hero Image & Header Badges
   ========================================================================== */
.fc-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e2e8f0;
  border-radius: var(--fc-radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.fc-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fc-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fc-text-light);
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.fc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--fc-radius-pill);
  background: #f1f5f9;
  color: #475569;
}
.fc-badge-cat {
  background: rgba(0, 163, 171, 0.12);
  color: var(--fc-color1);
}
.fc-badge-loc {
  background: #f8fafc;
  border: 1px solid var(--fc-border);
}
.fc-badge-days {
  background: #fef3c7;
  color: #92400e;
}

.fc-title {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--fc-text);
  margin: 0 0 16px;
}

/* ==========================================================================
   Progress Bar Component
   ========================================================================== */
.fc-progress {
  width: 100%;
}
.fc-progress-track {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 12px;
}
.fc-progress-fill {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--fc-fill-start, var(--fc-color1)) 0%, var(--fc-fill-end, var(--fc-color2)) 100%);
  transition: width 0.4s ease;
}
.fc-progress-amounts {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--fc-text);
}
.fc-progress-amounts strong {
  font-size: 20px;
  color: var(--fc-color1);
}
.fc-progress-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--fc-text-muted);
  margin: 0;
}
.fc-progress-percent {
  font-weight: 700;
  color: var(--fc-text);
}
.fc-progress-reached-label {
  margin-top: 10px;
  padding: 6px 10px;
  background: #dcfce7;
  color: #166534;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.fc-progress.is-limited .fc-progress-reached-label {
  background: #fee2e2;
  color: #991b1b;
}

/* ==========================================================================
   Share Buttons Bar
   ========================================================================== */
.fc-share-card {
  padding: 14px 18px;
}
.fc-share-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-text-muted);
  margin-bottom: 8px;
}
.fc-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fc-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--fc-radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, transform 0.1s ease;
}
.fc-share-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.fc-share-wa { background: #25d366; color: #fff; }
.fc-share-fb { background: #1877f2; color: #fff; }
.fc-share-x  { background: #0f1419; color: #fff; }
.fc-share-tg { background: #229ed9; color: #fff; }
.fc-share-copy { background: #f1f5f9; color: var(--fc-text); border-color: var(--fc-border); }

/* ==========================================================================
   Fundraiser Box CTA
   ========================================================================== */
.fc-fundraiser-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f0fdf4;
  border: 1px dashed #86efac;
}
.fc-fundraiser-cta-text strong {
  font-size: 14px;
  color: #166534;
}
.fc-fundraiser-cta-text p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #15803d;
}
.fc-box-heading {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fc-text);
}
.fc-box-desc {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--fc-text-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--fc-radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  line-height: 1.3;
}
.fc-btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}
.fc-btn-lg {
  padding: 14px 24px;
  font-size: 16px;
}
.fc-btn-block {
  display: block;
  width: 100%;
}
.fc-btn-donate,
.fc-btn-primary {
  background: linear-gradient(135deg, var(--fc-color1) 0%, var(--fc-color4) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 163, 171, 0.3);
}
.fc-btn-donate:hover,
.fc-btn-primary:hover {
  box-shadow: 0 6px 16px rgba(0, 163, 171, 0.4);
  transform: translateY(-1px);
}
.fc-btn-secondary {
  background: #f1f5f9;
  color: var(--fc-text);
  border: 1px solid var(--fc-border);
}
.fc-btn-secondary:hover {
  background: #e2e8f0;
}
.fc-btn-outline {
  background: transparent;
  border: 1px solid var(--fc-border);
  color: var(--fc-text-muted);
  width: 100%;
}
.fc-btn-outline:hover {
  background: #f8fafc;
  color: var(--fc-text);
}
.fc-btn-disabled, .fc-btn:disabled {
  background: #cbd5e1 !important;
  color: #64748b !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ==========================================================================
   Tabs Component & Active Underline
   ========================================================================== */
.fc-tab-nav {
  display: flex;
  border-bottom: 2px solid var(--fc-border);
  margin-bottom: 16px;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.fc-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-text-muted);
  cursor: pointer;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.fc-tab-btn:hover {
  color: var(--fc-text);
}
.fc-tab-btn.is-active,
.fc-tab-btn.active {
  color: var(--fc-color1);
  border-bottom-color: var(--fc-color1);
}
.fc-tab-pane {
  display: none;
}
.fc-tab-pane.is-active,
.fc-tab-pane.active {
  display: block;
}

/* Read-more fold */
.fc-readmore {
  position: relative;
}
.fc-readmore-content {
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
}
.fc-readmore-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--fc-radius-sm);
}
.fc-readmore:not(.is-expanded) .fc-readmore-content {
  max-height: 280px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent);
  mask-image: linear-gradient(180deg, #000 65%, transparent);
}
.fc-readmore-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-color1);
  cursor: pointer;
  margin-top: 12px;
  text-align: center;
}
.fc-readmore-btn:hover {
  background: #f1f5f9;
}

/* Timeline Updates */
.fc-section-title {
  font-size: 18px;
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--fc-text);
}
.fc-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.fc-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  background: var(--fc-border);
}
.fc-timeline-item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 20px;
}
.fc-timeline-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fc-color1);
}
.fc-timeline-date {
  font-size: 12px;
  color: var(--fc-text-muted);
  margin-bottom: 4px;
}
.fc-timeline-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}
.fc-timeline-body {
  font-size: 14px;
  color: #334155;
  line-height: 1.55;
}

/* ==========================================================================
   Donor Rows & Prayer Rows
   ========================================================================== */
.fc-donor-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.fc-donor-tab-btn {
  flex: 1;
  padding: 8px 12px;
  background: #f1f5f9;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.fc-donor-tab-btn.is-active {
  background: var(--fc-color1);
  color: #ffffff;
  border-color: var(--fc-color1);
}

.fc-donorlist, .fc-prayerlist, .fc-fundraiserlist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fc-donor, .fc-prayer, .fc-fundraiser {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--fc-border);
}
.fc-donor:last-child, .fc-prayer:last-child, .fc-fundraiser:last-child {
  border-bottom: none;
}

.fc-donor-avatar, .fc-fundraiser-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #475569;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-donor-main, .fc-fundraiser-main {
  flex: 1;
  min-width: 0;
}
.fc-donor-name, .fc-fundraiser-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--fc-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fc-donor-date, .fc-prayer-date {
  font-size: 12px;
  color: var(--fc-text-muted);
}
.fc-donor-comment {
  margin: 6px 0 0;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}
.fc-donor-amount, .fc-fundraiser-total {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--fc-color1);
  text-align: right;
}

/* Prayer Rows */
.fc-prayer {
  flex-direction: column;
  gap: 6px;
}
.fc-prayer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fc-prayer-name {
  font-weight: 600;
  font-size: 14px;
}
.fc-prayer-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: var(--fc-radius-sm);
}
.fc-prayer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.fc-love {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  color: #db2777;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.fc-love:hover {
  background: #fce7f3;
}
.fc-love.is-loved {
  background: #db2777;
  color: #ffffff;
  border-color: #db2777;
}
.fc-love-plus-one {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #db2777;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  pointer-events: none;
  animation: fcFloatUp 0.85s forwards ease-out;
  white-space: nowrap;
}
@keyframes fcFloatUp {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -24px); }
}
.fc-aminn {
  font-size: 13px;
  color: var(--fc-text-muted);
}

/* Fundraiser Leaderboard */
.fc-fundraiser-rank {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.fc-fundraiser:nth-child(1) .fc-fundraiser-rank { background: #fef08a; color: #854d0e; }
.fc-fundraiser:nth-child(2) .fc-fundraiser-rank { background: #e2e8f0; color: #475569; }
.fc-fundraiser:nth-child(3) .fc-fundraiser-rank { background: #fed7aa; color: #9a3412; }
.fc-fundraiser-count {
  display: block;
  font-size: 12px;
  color: var(--fc-text-muted);
}
.fc-loadmore-wrap {
  margin-top: 16px;
  text-align: center;
}

/* ==========================================================================
   Fixed Bottom CTA Bars
   ========================================================================== */
.fc-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--fc-border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
  padding: 10px 16px;
  z-index: 50;
}
.fc-bottom-bar-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fc-bottom-bar-meta {
  display: flex;
  flex-direction: column;
}
.fc-bottom-amounts {
  font-size: 16px;
  color: var(--fc-color1);
}
.fc-bottom-donors {
  font-size: 12px;
  color: var(--fc-text-muted);
}
.fc-bottom-bar .fc-btn-donate {
  flex: 0 0 auto;
  padding: 10px 24px;
}

/* Fixed bar for boxed layout after scroll */
.fc-fixed-scroll-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--fc-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 12px 20px;
  z-index: 60;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.fc-fixed-scroll-bar.is-visible {
  transform: translateY(0);
}
.fc-fixed-scroll-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fc-fixed-scroll-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fc-fixed-scroll-title {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-fixed-scroll-total {
  font-size: 13px;
  color: var(--fc-text-muted);
}
.fc-fixed-scroll-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   Floating WhatsApp Button
   Bottom-right, WA green #25D266 circle with bubble
   ========================================================================== */
.fc-flying-wa {
  position: fixed;
  bottom: 78px;
  right: 18px;
  background: var(--fc-wa-green);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 210, 102, 0.4);
  z-index: 80;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fc-flying-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 210, 102, 0.5);
  color: #ffffff;
}
.fc-flying-wa-icon {
  font-size: 18px;
  display: flex;
  align-items: center;
  line-height: 1;
}

/* ==========================================================================
   Toast Styles & Social Proof
   ========================================================================== */
.fc-socialproof-container {
  position: fixed;
  bottom: 84px;
  left: 16px;
  z-index: 75;
  pointer-events: none;
}
.fc-sp-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--fc-border);
  box-shadow: var(--fc-shadow-lg);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 8px;
  max-width: 300px;
  transform: translateX(-120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.fc-sp-toast.is-visible {
  transform: translateX(0);
  opacity: 1;
}
.fc-sp-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fc-color1);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-sp-body {
  font-size: 12px;
  line-height: 1.35;
}
.fc-sp-body strong {
  color: var(--fc-text);
}
.fc-sp-body p {
  margin: 2px 0 0;
  color: var(--fc-text-muted);
}
.fc-sp-body p strong {
  color: var(--fc-color1);
}

/* Unified Floating Toast Pill */
.fc-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--fc-radius-pill);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}
.fc-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Donation Form Layout & Form Types 1–8
   ========================================================================== */
.fc-form-layout {
  max-width: 580px;
  margin: 0 auto;
  padding: 16px 12px 60px;
}
.fc-form-topbar {
  margin-bottom: 12px;
}
.fc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fc-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.fc-back-btn:hover {
  color: var(--fc-color1);
}

.fc-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.fc-form-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--fc-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.fc-form-header-info {
  flex: 1;
}
.fc-form-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--fc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fc-form-campaign-title {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--fc-text);
}
.fc-form-card {
  padding: 20px;
  margin-bottom: 16px;
}
.fc-form-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fc-border);
}
.fc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fc-color1);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}
.fc-form-step-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--fc-text);
}

/* Card Radios: Preset Chips (Form 1) */
.fc-presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.fc-preset-chip {
  position: relative;
  padding: 12px 14px;
  border: 1.5px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  background: var(--fc-surface);
  color: var(--fc-text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.fc-preset-chip:hover {
  border-color: var(--fc-color1);
  background: rgba(0, 163, 171, 0.04);
}
.fc-preset-chip.is-selected {
  border-color: var(--fc-color1);
  background: rgba(0, 163, 171, 0.08);
  color: var(--fc-color1);
  box-shadow: 0 0 0 1px var(--fc-color1);
}

.fc-custom-amount-wrap,
.fc-free-amount-wrap {
  margin-top: 12px;
}
.fc-custom-amount-wrap label,
.fc-free-amount-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-text-muted);
  margin-bottom: 6px;
}

/* Form Inputs: 50px height & Focus Ring */
.fc-form-input {
  width: 100%;
  height: 50px;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  font-size: 15px;
  color: var(--fc-text);
  background: var(--fc-surface);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fc-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  font-size: 15px;
  color: var(--fc-text);
  background: var(--fc-surface);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fc-form-input:focus,
.fc-form-textarea:focus {
  border-color: var(--fc-color1);
  box-shadow: 0 0 0 3px rgba(0, 163, 171, 0.18);
}
.fc-input-prefix-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.fc-input-prefix {
  position: absolute;
  left: 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--fc-text-muted);
  pointer-events: none;
}
.fc-input-prefix-wrap .fc-form-input {
  padding-left: 44px;
}
.fc-input-lg .fc-form-input {
  font-size: 18px;
  font-weight: 700;
  padding-left: 48px;
}
.fc-input-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--fc-text-muted);
}

/* Stepper Component */
.fc-stepper-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fc-stepper-wrap label {
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-text);
  margin: 0;
}
.fc-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  background: var(--fc-surface);
  overflow: hidden;
}
.fc-step-btn,
.fc-qurban-step-btn,
.fc-p2-step-btn,
.fc-zf-step-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #f1f5f9;
  font-size: 18px;
  font-weight: 700;
  color: var(--fc-text);
  cursor: pointer;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-step-btn:hover,
.fc-qurban-step-btn:hover,
.fc-p2-step-btn:hover,
.fc-zf-step-btn:hover {
  background: #e2e8f0;
}
.fc-stepper-input {
  width: 54px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--fc-text);
  background: transparent;
  outline: none;
}

/* Package info box (Form 3) */
.fc-package-info-box {
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: var(--fc-radius-sm);
  border: 1px solid var(--fc-border);
  margin-bottom: 14px;
}
.fc-package-info-box h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fc-text);
}
.fc-package-price-tag {
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-color1);
}

/* Zakat Calculator (Form 4) */
.fc-calc-notice {
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--fc-radius-sm);
  font-size: 13px;
  color: #166534;
  margin-bottom: 14px;
}
.fc-zakat-result-box {
  background: #f8fafc;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  padding: 14px;
  margin-top: 14px;
}
.fc-zr-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--fc-text-muted);
}
.fc-zr-row:last-child {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--fc-border);
  font-size: 15px;
  font-weight: 700;
  color: var(--fc-text);
}
.fc-highlight {
  color: var(--fc-color1);
}

/* Card Radios: Qurban Animals (Form 5) */
.fc-qurban-animals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.fc-qurban-card {
  position: relative;
  padding: 12px 14px;
  border: 1.5px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  background: var(--fc-surface);
  cursor: pointer;
  transition: all 0.15s ease;
}
.fc-qurban-card:hover {
  border-color: var(--fc-color1);
}
.fc-qurban-card.is-selected {
  border-color: var(--fc-color1);
  background: rgba(0, 163, 171, 0.05);
  box-shadow: 0 0 0 1px var(--fc-color1);
}
.fc-qa-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--fc-text);
  margin-bottom: 4px;
}
.fc-qa-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-color1);
  margin-bottom: 4px;
}
.fc-qa-limit {
  font-size: 11px;
  color: var(--fc-text-muted);
}
.fc-qurban-names-wrap,
.fc-zf-names-wrap {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--fc-border);
}
.fc-qurban-names-wrap label,
.fc-zf-names-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.fc-qurban-name-row,
.fc-zf-name-row {
  margin-bottom: 8px;
}

/* Card Radios: Package 2 (Form 6) */
.fc-package2-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.fc-package2-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1.5px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  background: var(--fc-surface);
  cursor: pointer;
  transition: all 0.15s ease;
}
.fc-package2-card:hover {
  border-color: var(--fc-color1);
}
.fc-package2-card.is-selected {
  border-color: var(--fc-color1);
  background: rgba(0, 163, 171, 0.05);
  box-shadow: 0 0 0 1px var(--fc-color1);
}
.fc-p2-info strong {
  display: block;
  font-size: 14px;
  color: var(--fc-text);
}
.fc-p2-info span {
  font-size: 13px;
  color: var(--fc-color1);
  font-weight: 600;
}
.fc-p2-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--fc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fc-package2-card.is-selected .fc-p2-radio {
  border-color: var(--fc-color1);
}
.fc-package2-card.is-selected .fc-p2-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fc-color1);
}

/* Emoji Icons (Form 8) */
.fc-emoji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.fc-emoji-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  background: var(--fc-surface);
  cursor: pointer;
  transition: all 0.15s ease;
}
.fc-emoji-card:hover {
  border-color: var(--fc-color1);
}
.fc-emoji-card.is-selected {
  border-color: var(--fc-color1);
  background: rgba(0, 163, 171, 0.05);
  box-shadow: 0 0 0 1px var(--fc-color1);
}
.fc-ec-icon {
  font-size: 28px;
  line-height: 1;
}
.fc-ec-body strong {
  display: block;
  font-size: 14px;
  color: var(--fc-text);
}
.fc-ec-body p {
  margin: 2px 0 6px;
  font-size: 12px;
  color: var(--fc-text-muted);
}
.fc-ec-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--fc-color1);
}

/* Payment Selector & Strip */
.fc-payment-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-payment-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  background: var(--fc-surface);
  cursor: pointer;
  transition: all 0.15s ease;
}
.fc-payment-card:hover {
  border-color: var(--fc-color1);
}
.fc-payment-card.is-selected {
  border-color: var(--fc-color1);
  background: rgba(0, 163, 171, 0.05);
  box-shadow: 0 0 0 1px var(--fc-color1);
}
.fc-pm-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--fc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fc-payment-card.is-selected .fc-pm-radio {
  border-color: var(--fc-color1);
}
.fc-payment-card.is-selected .fc-pm-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fc-color1);
}
.fc-pm-info strong {
  display: block;
  font-size: 14px;
  color: var(--fc-text);
}
.fc-pm-info span {
  display: block;
  font-size: 12px;
  color: var(--fc-text-muted);
}

/* Form Fields & Radios */
.fc-form-group {
  margin-bottom: 16px;
}
.fc-form-group:last-child {
  margin-bottom: 0;
}
.fc-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-text);
  margin-bottom: 6px;
}
.fc-req {
  color: #dc2626;
}
.fc-sapaan-wrap {
  display: flex;
  gap: 16px;
}
.fc-radio-label,
.fc-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
  color: var(--fc-text);
}
.fc-checkbox-group {
  margin-top: -6px;
  margin-bottom: 14px;
}

/* Summary Breakdown Card */
.fc-breakdown-card {
  background: #f8fafc;
  border: 1px solid var(--fc-border);
}
.fc-breakdown-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--fc-text-muted);
}
.fc-unique-row {
  color: #ea580c;
}
.fc-unique-row strong {
  color: #ea580c;
}
.fc-total-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1.5px dashed var(--fc-border);
  font-size: 16px;
  font-weight: 700;
  color: var(--fc-text);
}
.fc-highlight-total {
  font-size: 20px;
  color: var(--fc-color1);
}
.fc-breakdown-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--fc-text-muted);
  line-height: 1.4;
}
.fc-submit-wrap {
  margin-top: 18px;
}
.fc-form-error {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--fc-radius-sm);
  color: #991b1b;
  font-size: 13px;
  font-weight: 600;
}
.fc-mt-4 {
  margin-top: 16px;
}

/* ==========================================================================
   Widgets, Campaign Cards, Search & Zakat
   ========================================================================== */
.fc-widget-wrap {
  width: 100%;
  margin: 20px 0;
}
.fc-widget-items.fc-widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.fc-widget-items.fc-widget-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fc-widget-items.fc-widget-expandable {
  display: flex;
  overflow-x: auto;
  gap: 18px;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.fc-widget-items.fc-widget-expandable .fc-campaign-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.fc-campaign-card {
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--fc-shadow-sm);
}
.fc-campaign-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--fc-shadow);
}
.fc-camp-thumb-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 170px;
  background: #e2e8f0;
  overflow: hidden;
}
.fc-camp-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.fc-campaign-card:hover .fc-camp-thumb {
  transform: scale(1.03);
}
.fc-camp-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fc-camp-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.fc-camp-title {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--fc-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fc-camp-title a {
  color: inherit;
  text-decoration: none;
}
.fc-camp-title a:hover {
  color: var(--fc-color1);
}
.fc-camp-progress-wrap {
  height: 6px;
  background: var(--fc-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.fc-camp-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--fc-color1), var(--fc-color2));
  border-radius: 3px;
  transition: width 0.4s ease;
}
.fc-camp-meta {
  font-size: 12px;
  color: var(--fc-text);
}
.fc-camp-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fc-camp-submeta {
  margin-top: 6px;
  color: var(--fc-text-muted);
}
.fc-camp-collected strong {
  color: var(--fc-color1);
}
.fc-camp-percent {
  font-weight: 700;
  color: var(--fc-text);
}
.fc-camp-cta-wrap {
  margin-top: 14px;
}

@media (min-width: 640px) {
  .fc-campaign-card.fc-card-layout-list {
    flex-direction: row;
    height: 180px;
  }
  .fc-campaign-card.fc-card-layout-list .fc-camp-thumb-wrap {
    width: 220px;
    height: 100%;
    flex-shrink: 0;
  }
  .fc-campaign-card.fc-card-layout-list .fc-camp-body {
    padding: 16px 20px;
  }
}

.fc-widget-categories,
.fc-search-cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.fc-cat-pill {
  display: inline-block;
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid var(--fc-border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fc-text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.fc-cat-pill:hover {
  background: #e2e8f0;
  color: var(--fc-text);
}
.fc-cat-pill.is-active {
  background: var(--fc-color1);
  border-color: var(--fc-color1);
  color: #fff;
  font-weight: 600;
}
.fc-widget-loadmore-wrap {
  text-align: center;
  margin-top: 24px;
}

.fc-campaign-float {
  position: fixed;
  z-index: 999;
  max-width: 320px;
  bottom: 20px;
  right: 20px;
  box-shadow: var(--fc-shadow-lg);
}
.fc-campaign-float.fc-float-left {
  right: auto;
  left: 20px;
}

.fc-total-widget {
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  padding: 24px;
  box-shadow: var(--fc-shadow-sm);
  margin: 20px 0;
}
.fc-total-widget-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--fc-text);
}
.fc-total-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.fc-total-item {
  text-align: center;
  padding: 16px;
  background: #f8fafc;
  border-radius: var(--fc-radius-sm);
  border: 1px solid #edf2f7;
}
.fc-total-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--fc-color1);
  line-height: 1.2;
}
.fc-total-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--fc-text-muted);
  margin-top: 6px;
}

/* Zakat Calculator */
.fc-zakat-calculator {
  max-width: 680px;
  margin: 20px auto;
  padding: 24px;
}
.fc-zakat-header {
  margin-bottom: 20px;
  text-align: center;
}
.fc-zakat-header h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--fc-text);
}
.fc-zakat-sub {
  margin: 0;
  font-size: 13px;
  color: var(--fc-text-muted);
}
.fc-zakat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.fc-zakat-summary {
  background: #f8fafc;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  padding: 18px;
  margin-top: 20px;
}
.fc-zakat-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--fc-text);
  border-bottom: 1px dashed var(--fc-border);
}
.fc-zakat-summary-row:last-child {
  border-bottom: none;
}
.fc-zakat-highlight {
  font-size: 16px;
  font-weight: 700;
  color: var(--fc-color1);
  padding-top: 12px;
  border-bottom: none;
}
.fc-zakat-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.fc-zakat-badge.is-unmet {
  background: #fef2f2;
  color: #dc2626;
}
.fc-zakat-badge.is-met {
  background: #ecfdf5;
  color: #059669;
}
.fc-zakat-action {
  margin-top: 16px;
}

/* Search Page */
.fc-search-page-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.fc-search-hero {
  text-align: center;
  margin-bottom: 28px;
}
.fc-search-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--fc-text);
}
.fc-search-subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--fc-text-muted);
}
.fc-search-bar {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--fc-border);
  border-radius: 30px;
  padding: 4px 6px 4px 18px;
  box-shadow: var(--fc-shadow-sm);
  transition: border-color 0.15s ease;
}
.fc-search-bar:focus-within {
  border-color: var(--fc-color1);
}
.fc-search-icon {
  color: var(--fc-text-muted);
  flex-shrink: 0;
  margin-right: 10px;
}
.fc-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--fc-text);
  outline: none;
  padding: 8px 0;
}
.fc-search-clear {
  color: var(--fc-text-muted);
  font-size: 20px;
  text-decoration: none;
  padding: 0 10px;
  cursor: pointer;
  line-height: 1;
}
.fc-search-clear:hover {
  color: var(--fc-text);
}
.fc-search-submit {
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
}
.fc-search-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 20px;
  font-size: 13px;
  color: var(--fc-text-muted);
}
.fc-search-toolbar strong {
  color: var(--fc-text);
}
.fc-search-view-toggle {
  display: flex;
  gap: 4px;
}
.fc-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--fc-border);
  background: #fff;
  color: var(--fc-text-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}
.fc-view-btn:hover {
  background: #f1f5f9;
  color: var(--fc-text);
}
.fc-view-btn.is-active {
  background: var(--fc-color1);
  border-color: var(--fc-color1);
  color: #fff;
}
.fc-search-empty {
  text-align: center;
  padding: 48px 20px;
  grid-column: 1 / -1;
}
.fc-search-empty .fc-empty-icon {
  font-size: 44px;
  margin-bottom: 12px;
}
.fc-search-empty h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fc-text);
}
.fc-search-empty p {
  margin: 0;
  font-size: 13px;
  color: var(--fc-text-muted);
}
.fc-inline-presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

/* ==========================================================================
   Auth Pages Layout (Login, Register, Reset, Change)
   ========================================================================= */
.fc-auth-layout {
  max-width: 440px;
  margin: 40px auto;
  padding: 0 16px;
}
.fc-auth-card {
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  padding: 32px 28px;
  box-shadow: var(--fc-shadow-sm);
}
.fc-auth-header {
  text-align: center;
  margin-bottom: 24px;
}
.fc-auth-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--fc-text);
  margin: 0 0 6px;
}
.fc-auth-subtitle {
  font-size: 13px;
  color: var(--fc-text-muted);
  margin: 0;
}
.fc-alert {
  padding: 12px 14px;
  border-radius: var(--fc-radius-sm);
  font-size: 13px;
  margin-bottom: 18px;
  line-height: 1.4;
}
.fc-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.fc-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.fc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.fc-auth-link-sm {
  font-size: 12px;
  color: var(--fc-color1);
  text-decoration: none;
}
.fc-auth-link-sm:hover {
  text-decoration: underline;
}
.fc-password-wrap {
  position: relative;
}
.fc-password-wrap .fc-form-input {
  padding-right: 42px;
}
.fc-toggle-pass {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--fc-text-muted);
  font-size: 16px;
}
.fc-slider-captcha {
  user-select: none;
  margin-top: 4px;
}
.fc-slider-track {
  position: relative;
  height: 44px;
  background: #f1f5f9;
  border-radius: var(--fc-radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fc-border);
}
.fc-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--fc-color2);
  opacity: 0.3;
}
.fc-slider-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 44px;
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  font-size: 16px;
  box-shadow: var(--fc-shadow-sm);
}
.fc-slider-text {
  font-size: 12px;
  color: var(--fc-text-muted);
  pointer-events: none;
  z-index: 1;
}
.fc-remember-row {
  margin-bottom: 20px;
}
.fc-auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  color: var(--fc-text-muted);
}
.fc-auth-link {
  color: var(--fc-color1);
  font-weight: 600;
  text-decoration: none;
}
.fc-auth-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints: 992px, 768px, 480px, 380px
   ========================================================================== */
@media (max-width: 992px) {
  .fc-boxed-layout .fc-container {
    padding: 16px 12px;
  }
}

@media (max-width: 768px) {
  .fc-title {
    font-size: 20px;
  }
  .fc-form-layout {
    padding: 12px 10px 60px;
  }
  .fc-presets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fc-flying-wa-label {
    display: none;
  }
  .fc-flying-wa {
    padding: 12px;
    border-radius: 50%;
    bottom: 74px;
    right: 14px;
  }
  .fc-flying-wa-icon {
    font-size: 20px;
  }
  .fc-form-card {
    padding: 16px 14px;
  }
  .fc-presets-grid {
    grid-template-columns: 1fr;
  }
  .fc-qurban-animals-grid {
    grid-template-columns: 1fr;
  }
  .fc-emoji-grid {
    grid-template-columns: 1fr;
  }
  .fc-auth-card {
    padding: 24px 18px;
  }
  .fc-toast {
    max-width: 90%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .fc-title {
    font-size: 18px;
  }
  .fc-form-campaign-title {
    font-size: 14px;
  }
  .fc-btn {
    font-size: 14px;
    padding: 10px 16px;
  }
  .fc-tab-btn {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Print Styles: Receipt & Certificate Friendly
   ========================================================================== */
@media print {
  .fc-flying-wa,
  .fc-bottom-bar,
  .fc-fixed-scroll-bar,
  .fc-socialproof-container,
  .fc-toast,
  .fund-foot,
  .fc-btn,
  .fc-form-topbar,
  .fc-preview-banner,
  .fc-admin-chip-container,
  .fc-share-card,
  .fc-donor-filter,
  .fc-loadmore-wrap,
  .fc-tab-nav {
    display: none !important;
  }
  body.fund-standalone {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .fc-card {
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
  }
  @page {
    margin: 12mm;
  }
}
