/* ============================================================================
   wip-banner.css — Componente "Em construcao" (padrao U2)
   ============================================================================ */

/* ─── BANNER ──────────────────────────────────────────────────── */
.cf-wip-banner {
  --c: #F59E0B;
  --bg: #FEF3C7;
  --border: #FCD34D;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--c);
  border-radius: 10px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  animation: cf-wip-slide 200ms ease-out;
}
@keyframes cf-wip-slide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.cf-wip-icon {
  width: 32px; height: 32px;
  background: var(--c);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cf-wip-icon i { width: 16px; height: 16px; }
.cf-wip-text {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.cf-wip-text strong {
  font-size: 13.5px;
  color: #0F172A;
  line-height: 1.3;
}
.cf-wip-text small {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}
.cf-wip-x {
  background: transparent; border: 0;
  padding: 4px;
  cursor: pointer;
  color: #64748B;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}
.cf-wip-x:hover { background: rgba(0,0,0,.05); color: #0F172A; }
.cf-wip-x i { width: 14px; height: 14px; }

/* ─── OVERLAY (bloqueia interacao) ───────────────────────────── */
.cf-wip-overlay {
  --c: #F59E0B;
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  z-index: 50;
  border-radius: inherit;
  pointer-events: auto;
}
.cf-wip-overlay-card {
  background: #fff;
  border: 1px solid var(--c);
  border-radius: 12px;
  padding: 24px 32px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.cf-wip-overlay-card i {
  width: 36px; height: 36px;
  color: var(--c);
}
.cf-wip-overlay-card strong {
  font-family: 'IBM Plex Serif', serif;
  font-size: 16px;
  color: #0F172A;
}
.cf-wip-overlay-card p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 4px 0 0;
}
.cf-wip-overlay-card small {
  font-size: 11px;
  color: var(--c);
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
}

/* ─── BADGE inline em botao/link ─────────────────────────────── */
.cf-wip-badge {
  --c: #3B82F6;
  --bg: #DBEAFE;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg);
  color: var(--c);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-left: 6px;
  vertical-align: middle;
  font-family: 'Inter', sans-serif;
}
.cf-wip-badge i { width: 10px; height: 10px; }

/* Quando um elemento tem badge, adicionar opacity sutil pra distinguir */
.cf-wip-target { opacity: .85; }
.cf-wip-target:hover { opacity: 1; }
