/* ============================================================
   AUPHA PET SHOP — V35
   Filtro diário no Painel Operacional / Visão Geral
   ============================================================ */

.portal .aupha-v35-operational-panel > .live-list {
  display: none !important;
}

.aupha-v35-daily-filter {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.aupha-v35-date-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(0, 164, 160, .18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 164, 160, .08), rgba(255, 204, 26, .12));
}

.aupha-v35-calendar-copy {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 220px;
}

.aupha-v35-calendar-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  color: #fff;
  font-size: 22px;
  background: linear-gradient(145deg, #00aaa5, #087c79);
  box-shadow: 0 9px 22px rgba(0, 132, 128, .22);
}

.aupha-v35-calendar-copy small,
.aupha-v35-day-summary small {
  display: block;
  margin-bottom: 3px;
  color: #087c79;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.aupha-v35-calendar-copy strong {
  display: block;
  color: #123c3a;
  font-size: .94rem;
  line-height: 1.3;
}

.aupha-v35-calendar-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.aupha-v35-calendar-actions label {
  display: grid;
  gap: 4px;
  color: #315d5a;
  font-size: .75rem;
  font-weight: 800;
}

.aupha-v35-calendar-actions input[type="date"] {
  min-height: 42px;
  min-width: 158px;
  padding: 8px 11px;
  border: 1px solid rgba(0, 121, 117, .24);
  border-radius: 12px;
  color: #123c3a;
  background: #fff;
  font: 700 .9rem/1.2 Manrope, sans-serif;
  color-scheme: light;
  outline: none;
}

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

.aupha-v35-calendar-actions button {
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  color: #0a514e;
  background: #fff;
  font: 800 .82rem/1 Manrope, sans-serif;
  box-shadow: inset 0 0 0 1px rgba(0, 121, 117, .18), 0 6px 14px rgba(6, 50, 48, .08);
  cursor: pointer;
}

.aupha-v35-calendar-actions button[data-prev],
.aupha-v35-calendar-actions button[data-next] {
  width: 42px;
  padding: 0;
  font-size: 1.45rem;
}

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

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

.aupha-v35-calendar-actions button:hover {
  transform: translateY(-1px);
}

.aupha-v35-day-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px;
}

.aupha-v35-day-summary strong {
  color: #123c3a;
  font-size: 1rem;
}

.aupha-v35-day-summary > span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #087c79;
  background: rgba(0, 164, 160, .1);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.aupha-v35-day-list {
  display: grid;
  gap: 9px;
  max-height: 520px;
  overflow: auto;
  padding-right: 3px;
}

.aupha-v35-appointment {
  display: grid;
  grid-template-columns: 66px 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(9, 73, 70, .1);
  border-left: 4px solid #efb60b;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(6, 50, 48, .06);
}

.aupha-v35-appointment.is-confirmed { border-left-color: #00a4a0; }
.aupha-v35-appointment.is-service { border-left-color: #1d7bd8; }
.aupha-v35-appointment.is-completed { border-left-color: #30a46c; }
.aupha-v35-appointment.is-cancelled { border-left-color: #ba6670; opacity: .78; }

.aupha-v35-appointment time {
  color: #063f3c;
  font: 800 1rem/1 Manrope, sans-serif;
}

.aupha-v35-pet-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(255, 204, 26, .16);
  font-size: 20px;
}

.aupha-v35-appointment-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.aupha-v35-appointment-copy strong {
  overflow: hidden;
  color: #123c3a;
  font-size: .92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aupha-v35-appointment-copy span {
  color: #315d5a;
  font-size: .84rem;
  font-weight: 700;
}

.aupha-v35-appointment-copy small {
  overflow: hidden;
  color: #718986;
  font-size: .76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aupha-v35-appointment > i {
  padding: 7px 9px;
  border-radius: 999px;
  color: #8a6300;
  background: #fff2bd;
  font-size: .72rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.aupha-v35-appointment.is-confirmed > i,
.aupha-v35-appointment.is-service > i {
  color: #08615e;
  background: #dff7f5;
}

.aupha-v35-appointment.is-completed > i {
  color: #1c7149;
  background: #dcf5e7;
}

.aupha-v35-appointment.is-cancelled > i {
  color: #87323d;
  background: #fae3e6;
}

.aupha-v35-loading,
.aupha-v35-empty,
.aupha-v35-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 130px;
  padding: 24px;
  border: 1px dashed rgba(0, 121, 117, .22);
  border-radius: 16px;
  color: #456c69;
  background: rgba(248, 253, 252, .8);
  text-align: left;
}

.aupha-v35-empty > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: #fff;
  background: #00a4a0;
  font-size: 1.1rem;
}

.aupha-v35-empty strong,
.aupha-v35-error strong {
  display: block;
  color: #123c3a;
  font-size: .94rem;
}

.aupha-v35-empty p,
.aupha-v35-error p,
.aupha-v35-loading p {
  margin: 3px 0 0;
  font-size: .8rem;
  line-height: 1.45;
}

.aupha-v35-loading span {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(0, 164, 160, .2);
  border-top-color: #00a4a0;
  border-radius: 50%;
  animation: aupha-v35-spin .8s linear infinite;
}

.aupha-v35-error {
  display: grid;
  justify-items: center;
  text-align: center;
}

.aupha-v35-error button {
  padding: 9px 13px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #087c79;
  font-weight: 800;
  cursor: pointer;
}

@keyframes aupha-v35-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .aupha-v35-date-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .aupha-v35-calendar-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .aupha-v35-date-toolbar { padding: 12px; }

  .aupha-v35-calendar-actions {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .aupha-v35-calendar-actions label {
    grid-column: 2;
    grid-row: 1;
  }

  .aupha-v35-calendar-actions input[type="date"] {
    width: 100%;
    min-width: 0;
  }

  .aupha-v35-calendar-actions button[data-prev] { grid-column: 1; grid-row: 1; align-self: end; }
  .aupha-v35-calendar-actions button[data-next] { grid-column: 3; grid-row: 1; align-self: end; }
  .aupha-v35-calendar-actions .aupha-v35-today { grid-column: 1 / 2; }
  .aupha-v35-calendar-actions .aupha-v35-refresh { grid-column: 2 / 4; }

  .aupha-v35-day-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .aupha-v35-appointment {
    grid-template-columns: 55px 38px minmax(0, 1fr);
  }

  .aupha-v35-appointment > i {
    grid-column: 2 / 4;
    justify-self: start;
  }
}
