/* ============================================================
   AUPHA PET SHOP — V37
   FILTRO DIÁRIO DENTRO DA AGENDA OPERACIONAL
   ============================================================ */

body .portal .dashboard .aupha-v37-agenda-filter {
  display: grid;
  gap: 13px;
  margin: 0 0 16px;
  padding: 15px;
  border: 1px solid rgba(0, 164, 160, .18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 164, 160, .075), rgba(255, 204, 26, .12));
  box-shadow: 0 10px 28px rgba(6, 50, 48, .065);
}

body .portal .aupha-v37-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body .portal .aupha-v37-filter-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

body .portal .aupha-v37-filter-copy > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #00aaa5, #087c79);
  box-shadow: 0 8px 20px rgba(0, 132, 128, .22);
  font-size: 22px;
}

body .portal .aupha-v37-filter-copy small,
body .portal .aupha-v37-filter-summary small {
  display: block;
  margin-bottom: 3px;
  color: #087c79;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .075em;
}

body .portal .aupha-v37-filter-copy strong {
  display: block;
  color: #123c3a;
  font-size: 16px;
  line-height: 1.3;
}

body .portal .aupha-v37-filter-copy p {
  margin: 4px 0 0;
  color: #557773;
  font-size: 13.5px;
  line-height: 1.45;
}

body .portal .aupha-v37-filter-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

body .portal .aupha-v37-filter-actions label {
  display: grid;
  gap: 5px;
  color: #315d5a;
  font-size: 13px;
  font-weight: 800;
}

body .portal .aupha-v37-filter-actions input[type="date"] {
  min-width: 170px;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 121, 117, .25);
  border-radius: 12px;
  outline: none;
  color: #123c3a;
  background: #fff;
  font: 750 15px/1.2 Manrope, sans-serif;
  color-scheme: light;
}

body .portal .aupha-v37-filter-actions input[type="date"]:focus {
  border-color: #00a4a0;
  box-shadow: 0 0 0 3px rgba(0, 164, 160, .13);
}

body .portal .aupha-v37-filter-actions button {
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: #0a514e;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 121, 117, .18), 0 6px 14px rgba(6, 50, 48, .08);
  font: 850 13.5px/1 Manrope, sans-serif;
  cursor: pointer;
}

body .portal .aupha-v37-filter-actions button[data-prev],
body .portal .aupha-v37-filter-actions button[data-next] {
  width: 46px;
  padding: 0;
  font-size: 24px;
}

body .portal .aupha-v37-filter-actions .aupha-v37-today {
  color: #073f3c;
  background: linear-gradient(145deg, #ffd83f, #ffc410);
  box-shadow: 0 8px 18px rgba(255, 190, 0, .22);
}

body .portal .aupha-v37-filter-actions .aupha-v37-refresh {
  color: #fff;
  background: linear-gradient(145deg, #00aaa5, #087c79);
}

body .portal .aupha-v37-filter-actions button:hover {
  transform: translateY(-1px);
}

body .portal .aupha-v37-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(0, 121, 117, .12);
}

body .portal .aupha-v37-filter-summary strong {
  color: #123c3a;
  font-size: 15.5px;
  line-height: 1.35;
}

body .portal .aupha-v37-filter-summary > span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #087c79;
  background: rgba(0, 164, 160, .1);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

body .portal .aupha-v37-filter-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px dashed rgba(0, 121, 117, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .75);
}

body .portal .aupha-v37-filter-empty[hidden],
body .portal .aupha-v37-filter-error[hidden] {
  display: none !important;
}

body .portal .aupha-v37-filter-empty > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  color: #fff;
  background: #00a4a0;
  font-size: 18px;
}

body .portal .aupha-v37-filter-empty strong {
  display: block;
  color: #123c3a;
  font-size: 15px;
}

body .portal .aupha-v37-filter-empty p {
  margin: 3px 0 0;
  color: #557773;
  font-size: 13.5px;
  line-height: 1.45;
}

body .portal .aupha-v37-filter-error {
  padding: 10px 12px;
  border-radius: 11px;
  color: #805600;
  background: #fff2bd;
  font-size: 13px;
  line-height: 1.45;
}

body .portal .operation-list.aupha-v37-filtered-operation-list > article[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  body .portal .aupha-v37-filter-head {
    align-items: stretch;
    flex-direction: column;
  }

  body .portal .aupha-v37-filter-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  body .portal .dashboard .aupha-v37-agenda-filter {
    padding: 13px;
    border-radius: 15px;
  }

  body .portal .aupha-v37-filter-copy {
    align-items: flex-start;
    min-width: 0;
  }

  body .portal .aupha-v37-filter-copy > span {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  body .portal .aupha-v37-filter-copy strong {
    font-size: 15px;
  }

  body .portal .aupha-v37-filter-copy p {
    font-size: 13px;
  }

  body .portal .aupha-v37-filter-actions {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: end;
    width: 100%;
  }

  body .portal .aupha-v37-filter-actions label {
    min-width: 0;
  }

  body .portal .aupha-v37-filter-actions input[type="date"] {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  body .portal .aupha-v37-filter-actions button[data-prev],
  body .portal .aupha-v37-filter-actions button[data-next] {
    width: 44px;
  }

  body .portal .aupha-v37-filter-actions .aupha-v37-today,
  body .portal .aupha-v37-filter-actions .aupha-v37-refresh {
    grid-column: span 3;
    width: 100%;
  }

  body .portal .aupha-v37-filter-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}
