/* FollowNow Design System — warm organic theme */

/* ── CSS Custom Properties (matching ui-examples) ── */
:root {
  --fn-bg: #FDFBF7;
  --fn-cloud: #F6F3EC;
  --fn-warm: #EDE8DD;
  --fn-ink: #1C1A15;
  --fn-ink2: #3D3930;
  --fn-mute: #8A8477;
  --fn-sub: #C4BFB3;
  --fn-border: rgba(28,26,21,.06);
  --fn-green: #1B9E6B;
  --fn-green-surface: #E5F7EE;
  --fn-green-dark: #127A50;
  --fn-peach: #FDEBD0;
  --fn-peach-strong: #D4652E;
  --fn-lavender: #EDE4FC;
  --fn-lavender-strong: #7B58CF;
  --fn-sky: #E0F0FD;
  --fn-sky-strong: #2E7DB8;
  --fn-rose: #FCE4E4;
  --fn-rose-strong: #C44B4B;
  --fn-radius: 16px;
  --fn-radius-lg: 24px;
  --fn-ease: cubic-bezier(.22,1,.36,1);
}

/* ── Global Overrides ── */
::selection { background: var(--fn-green); color: #fff; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Glassmorphism Cards ── */
.fn-glass {
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 2px 8px rgba(0,0,0,.02);
  border-radius: var(--fn-radius);
}

.fn-card {
  background: var(--fn-bg);
  border: 1px solid var(--fn-border);
  border-radius: var(--fn-radius);
  padding: 1.25rem;
  transition: transform .3s var(--fn-ease), box-shadow .3s;
}

.fn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

/* ── Colored Surface Cards (matching Bento grid) ── */
.fn-surface-green { background: var(--fn-green-surface); border: 1px solid rgba(27,158,107,.1); border-radius: var(--fn-radius); }
.fn-surface-peach { background: var(--fn-peach); border: 1px solid rgba(212,101,46,.1); border-radius: var(--fn-radius); }
.fn-surface-lav   { background: var(--fn-lavender); border: 1px solid rgba(123,88,207,.1); border-radius: var(--fn-radius); }
.fn-surface-sky   { background: var(--fn-sky); border: 1px solid rgba(46,125,184,.1); border-radius: var(--fn-radius); }
.fn-surface-rose  { background: var(--fn-rose); border: 1px solid rgba(196,75,75,.1); border-radius: var(--fn-radius); }
.fn-surface-warm  { background: var(--fn-warm); border: 1px solid rgba(0,0,0,.04); border-radius: var(--fn-radius); }

/* ── Primary Button (green pill) ── */
.fn-btn {
  padding: .6rem 1.6rem;
  border-radius: 100px;
  background: var(--fn-green);
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  border: none;
  cursor: pointer;
  transition: all .25s var(--fn-ease);
  box-shadow: 0 2px 8px rgba(27,158,107,.12);
}

.fn-btn:hover {
  background: var(--fn-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,158,107,.2);
}

/* ── Secondary/Outline Button ── */
.fn-btn-outline {
  padding: .6rem 1.6rem;
  border-radius: 100px;
  background: transparent;
  color: var(--fn-ink);
  font-weight: 600;
  font-size: .875rem;
  border: 1.5px solid var(--fn-sub);
  cursor: pointer;
  transition: all .25s var(--fn-ease);
}

.fn-btn-outline:hover {
  border-color: var(--fn-ink);
  background: rgba(0,0,0,.02);
}

/* ── Score Badge Colours ── */
.score-green { background-color: #1B9E6B; }
.score-yellow { background-color: #eab308; }
.score-red { background-color: #C44B4B; }

/* ── Kanban ── */
.kanban-col.drag-over {
  background-color: var(--fn-green-surface);
  border-color: var(--fn-green);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--fn-sub); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--fn-mute); }

/* ── Alpine ── */
[x-cloak] { display: none !important; }

/* ── Table rows warm hover ── */
tbody tr:hover { background-color: var(--fn-cloud) !important; }

/* ── Input focus ring (green instead of blue) ── */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--fn-green) !important;
  box-shadow: 0 0 0 3px rgba(27,158,107,.12) !important;
}

/* ── Serif headings utility ── */
.fn-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}
