/* V1512 — Estoque › Fornecedores: lista com busca, filtros e indicadores */
.fl-acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.fl-import { margin-bottom: 4px; }
.fl-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.fl-kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 1px solid #e3e8ef; border-left: 4px solid #1d5fbf; border-radius: 10px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.fl-kpi:hover { box-shadow: 0 4px 14px rgba(22, 48, 79, .08); }
.fl-kpi.is-on { border-color: #1d5fbf; background: #f3f7fe; }
.fl-kpi strong { font-size: 22px; line-height: 1.1; color: #16304f; }
.fl-kpi span { font-size: 12px; color: #5b6676; }
.fl-kpi--total { border-left-color: #16304f; }
.fl-kpi--alerta { border-left-color: #e0a100; }
.fl-kpi--info { border-left-color: #8592a3; cursor: default; }
.fl-card { padding-top: 14px; }
.fl-filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.fl-busca { flex: 1 1 320px; position: relative; }
.fl-busca input { width: 100%; padding-left: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238592a3' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 11px center; }
.fl-filtros select { flex: 0 0 200px; width: 200px !important; min-width: 0; }
.fl-busca input { margin: 0; }
.fl-seg { display: inline-flex; border: 1px solid #d6dee9; border-radius: 8px; overflow: hidden; }
.fl-seg button { min-height: 36px; padding: 0 14px; border: 0; border-right: 1px solid #d6dee9; border-radius: 0; background: #fff; color: #3b4757; font: inherit; font-size: 13px; cursor: pointer; }
.fl-seg button:last-child { border-right: 0; }
.fl-seg button.is-on { background: #16304f; color: #fff; }
.fl-total { margin-left: auto; font-size: 12.5px; color: #5b6676; white-space: nowrap; }
.fl-wrap { overflow-x: auto; }
.fl-tabela { width: 100%; min-width: 940px; table-layout: fixed; border-collapse: collapse; }
.fl-tabela th { white-space: nowrap; }
.fl-tabela td { vertical-align: middle; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.fl-tabela tbody tr[data-forn-id] { cursor: pointer; }
.fl-tabela tbody tr[data-forn-id]:hover td { background: #f5f8fd; }
.fl-tabela tr.is-inativo td { color: #8592a3; }
.fl-nome { font-weight: 600; color: #1d2a3a; line-height: 1.3; }
.fl-sub { font-size: 11.5px; color: #6b7686; line-height: 1.35; }
.fl-mail { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-doc { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; white-space: nowrap; }
.fl-num { text-align: right; white-space: nowrap; }
.fl-vazio { color: #a3adba; font-family: inherit; font-size: 12px; }
.fl-tipo { display: inline-block; max-width: 100%; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #eef2f7; color: #3b4757; }
.fl-tipo--c1 { background: #e6f4ea; color: #1f7a3d; }
.fl-tipo--c2 { background: #e7f0ff; color: #1d5fbf; }
.fl-tipo--c3 { background: #f3e8ff; color: #7b3fbf; }
.fl-tipo--c4 { background: #fff1e3; color: #b25a00; }
.fl-tipo--c5 { background: #e3f6f8; color: #0e7c86; }
.fl-tipo--c6 { background: #fde8ef; color: #b0305a; }
.fl-tipo--sem { background: #fff; color: #8592a3; border: 1px dashed #c3ccd8; }
.fl-sit { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.fl-sit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.fl-sit--on { color: #1f7a3d; }
.fl-sit--on::before { background: #2fa774; }
.fl-sit--off { color: #8592a3; }
.fl-sit--off::before { background: #c3ccd8; }
.fl-acao { text-align: right; overflow: visible !important; text-overflow: clip !important; padding-left: 4px !important; }
.fl-editar { display: inline-grid; place-items: center; width: 34px; height: 34px; min-height: 34px; padding: 0; border: 1px solid #bcd0ee; border-radius: 8px; background: #fff; color: #1d5fbf; cursor: pointer; }
.fl-editar:hover { background: #eef3fd; border-color: #1d5fbf; }
.fl-nada { padding: 28px 10px !important; text-align: center; color: #5b6676; }
.fl-nada .link { border: 0; background: none; color: #1d5fbf; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 720px) { .fl-total { margin-left: 0; } .fl-filtros select { flex: 1 1 100%; } }

/* V1513 — importação em janela e produto controlado */
.fl-modal-fundo { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(15, 25, 45, .45); }
.fl-modal-fundo[hidden] { display: none; }
.fl-modal { width: min(820px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(10, 20, 40, .3); overflow: hidden; }
.fl-modal-topo { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #eef1f5; }
.fl-modal-topo h3 { margin: 0; font-size: 17px; color: #16304f; }
.fl-modal-x { width: 34px; height: 34px; min-height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #5b6676; font-size: 24px; line-height: 1; cursor: pointer; }
.fl-modal-x:hover { background: #f1f4f8; color: #16304f; }
.fl-modal-abas { display: flex; gap: 4px; padding: 10px 18px 0; border-bottom: 1px solid #e3e8ef; }
.fl-modal-abas button { min-height: 38px; padding: 0 16px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; color: #5b6676; font: inherit; font-weight: 600; cursor: pointer; }
.fl-modal-abas button.is-on { color: #16304f; border-bottom-color: #f07f1a; }
.fl-modal-corpo { padding: 16px 18px; overflow-y: auto; }
.fl-imp h4 { margin: 0 0 6px; font-size: 15px; color: #16304f; }
.fl-modal-rodape { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid #eef1f5; }
.fl-modal-rodape button { min-width: 110px; min-height: 38px; }
.ins-controlado { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #fdecec; color: #b42318; font-size: 10.5px; font-weight: 700; vertical-align: middle; }
