/**
 * flutcom.css — Framework core styles
 *
 * Minimal styling required by the Flutcom engine:
 *   · Navigation progress bar (#fc-bar) — Vercel minimal black style
 *   · View transition animations (.fc-fade-in / .fc-fade-out)
 *   · Custom semantic layout tags display rules
 */

/* ─── Navigation Progress Bar (Vercel Minimal Black) ─────────────────────── */
#fc-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #000000;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: width 0.3s ease, opacity 0.2s ease;
}

/* ─── View Transitions ───────────────────────────────────────────────────── */
.fc-fade-out {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.fc-fade-in {
  animation: fcFadeIn 0.25s ease both;
}

@keyframes fcFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Semantic Layout Elements ───────────────────────────────────────────── */
flut-navbar,
flut-header,
flut-main,
flut-content,
flut-footer {
  display: block;
}
