/* Starby V24 — filtro de período do histórico da Operação */
.sop-history-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid rgba(112, 56, 189, .16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(122, 64, 205, .10), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(249,246,255,.98));
  box-shadow: 0 10px 28px rgba(49, 22, 82, .07);
}
.sop-history-filter-copy { margin-right: auto; min-width: 190px; }
.sop-history-filter-copy span,
.sop-history-period-select > span,
.sop-history-custom-range label > span {
  display: block;
  margin-bottom: 5px;
  color: #7a42bd;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sop-history-filter-copy strong { color: #24142f; font-size: 15px; }
.sop-history-period-select { min-width: 180px; }
.sop-history-period-select select,
.sop-history-custom-range input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(112,56,189,.18);
  border-radius: 12px;
  background: #fff;
  color: #2b1738;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.sop-history-period-select select:focus,
.sop-history-custom-range input:focus {
  border-color: #7a42bd;
  box-shadow: 0 0 0 3px rgba(122,66,189,.10);
}
.sop-history-custom-range {
  display: flex;
  align-items: end;
  gap: 8px;
}
.sop-history-custom-range[hidden] { display: none !important; }
.sop-history-custom-range label { min-width: 145px; }
.sop-history-custom-range i {
  padding-bottom: 13px;
  color: #8d8294;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}
@media (max-width: 900px) {
  .sop-history-toolbar { align-items: stretch; flex-wrap: wrap; }
  .sop-history-filter-copy { width: 100%; }
  .sop-history-period-select { flex: 1 1 180px; }
  .sop-history-custom-range { flex: 1 1 100%; }
  .sop-history-custom-range label { flex: 1; min-width: 0; }
}
@media (max-width: 560px) {
  .sop-history-toolbar { padding: 12px; border-radius: 14px; }
  .sop-history-period-select { width: 100%; }
  .sop-history-custom-range { display: grid; grid-template-columns: 1fr; width: 100%; }
  .sop-history-custom-range i { display: none; }
}
