/* ── OS Costs Global ────────────────────────────────────────────────────── */

#os-costs-global-page {
  padding: 0 0 48px;
}

/* ── Filtros ── */
#os-costs-global-page .os-filters {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 20px;
}

#os-costs-global-page .os-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 160px;
}

#os-costs-global-page .os-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

#os-costs-global-page .os-input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-light-mode);
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: inherit;
  background: var(--background-color-main-light);
  color: var(--text-primary);
  box-sizing: border-box;
  width: 100%;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

#os-costs-global-page .os-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

html.dark-theme #os-costs-global-page .os-input {
  background-color: var(--background-main-dark-mode, #1e293b);
  border-color: var(--border-dark-mode, #334155);
  color: var(--text-primary);
}

/* ── Tabela — coluna Total real à direita ── */
#os-costs-global-page .os-table th:nth-child(6),
#os-costs-global-page .os-table td:nth-child(6) {
  text-align: right;
}

/* ── Botões de ação por linha ── */
.os-costs-actions {
  display: flex;
  gap: 6px;
}

/* ── Paginação oculta inicialmente ── */
#os-cg-pagination {
  display: none;
  padding: 12px 0;
}
