
        .table-items { width: 100%; border-collapse: collapse; font-size: 11.5px; margin-bottom: 10px; }
        .table-items th { background: #f8fafc; border: 1px solid #cbd5e1; padding: 6px; text-align: left; }
        .table-items td { border: 1px solid #cbd5e1; padding: 4px; vertical-align: top; }
        
        /* Campos editáveis visíveis e textarea */
        .table-items textarea, .table-items input { 
            width: 100%; border: 1px solid #cbd5e1; border-radius: 4px; padding: 6px; 
            font-size: 12px; outline: none; background: #fff; font-family: inherit;
            transition: 0.2s; resize: vertical;
        }
        .table-items textarea { min-height: 45px; }
        .table-items textarea:focus, .table-items input:focus { 
            background: #f0f9ff; border-color: #0284c7; box-shadow: 0 0 0 2px rgba(2,132,199,0.15);
        }
        
        .btn-add-item { background: #f1f5f9; color: #0f172a; border: 1px dashed #94a3b8; padding: 6px; width: 100%; text-align: center; border-radius: 4px; cursor: pointer; font-size: 11px; font-weight: bold; transition: 0.2s;}
        .btn-add-item:hover { background: #e2e8f0; border-color: #64748b; }
        
        .template-box { background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px; padding: 12px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }

/* =========================================================
   MELHORIAS 2025 — Filtros / Busca / Status inline / Modelos
   ========================================================= */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 12px 15px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 12px; }
.filter-group { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #cbd5e1; border-radius: 6px; padding: 6px 10px; font-size: 12px; transition: 0.2s; }
.filter-group:focus-within { border-color: #0284c7; box-shadow: 0 0 0 2px rgba(2,132,199,0.15); }
.filter-group i { color: #64748b; font-size: 12px; }
.filter-group label { font-size: 11px; color: #64748b; font-weight: 700; white-space: nowrap; }
.filter-group input, .filter-group select { border: none; outline: none; background: transparent; font-size: 12px; font-family: inherit; color: #0f172a; min-width: 150px; }
.filter-group input[type="date"] { min-width: 130px; }
.status-select { padding: 5px 10px; font-size: 11px; font-weight: 700; border-radius: 12px; border: 1px solid #cbd5e1; cursor: pointer; outline: none; background: #fff; transition: 0.2s; min-width: 160px; font-family: inherit; }
.status-select:disabled { opacity: 0.6; cursor: wait; }
.status-select:focus { box-shadow: 0 0 0 2px rgba(2,132,199,0.25); }
.status-select.sel-azul     { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.status-select.sel-verde    { background: #dcfce7; color: #166534; border-color: #86efac; }
.status-select.sel-vermelho { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.status-select.sel-roxo     { background: #f3e8ff; color: #6b21a8; border-color: #d8b4fe; }
.tpl-item-actions { display: flex; gap: 6px; }
.tpl-edit-btn { color: #0284c7 !important; border-color: #7dd3fc !important; }
@media (max-width: 768px) {
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-group { width: 100%; }
    .filter-group input, .filter-group select { flex: 1; min-width: 0; }
    .status-select { min-width: 130px; }
}

