/* Estilos propios de cada pantalla: inicio, gastos, cartilla, medicinas y acceso. */

.petcard {
  background: linear-gradient(115deg,#e1f7f4,#e9f6fc);
  border: none;
  display: flex;
  gap: 14px;
  align-items: center;
}

.avatar {
  width: 67px;
  height: 67px;
  object-fit: cover;
  border-radius: 19px;
  background: #c4e8e1;
  display: grid;
  place-items: center;
  font-size: 33px;
  flex: none;
}

.petTitle {
  font-size: 22px;
  font-weight: 800;
}

.quick {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
}

.quick button {
  min-height: 86px;
  border: 0;
  border-radius: 16px;
  background: #e0f4f0;
  color: #174344;
  font-weight: 700;
  padding: 8px 1px;
  font-size: 12px;
}

.quick button:nth-child(2) {
  background: #e4f0ff;
}

.quick button:nth-child(3) {
  background: #ffeae5;
}

.quick button:nth-child(4) {
  background: #eee9fe;
}

.quick span {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.illustration {
  height: 130px;
  border-radius: 17px;
  background: linear-gradient(120deg,#def7ee,#e3f4fe);
  display: grid;
  place-items: center;
  font-size: 65px;
  margin-bottom: 14px;
}

.quick button {
  min-height: 100px;
  padding: 10px 3px;
  line-height: 1.35;
}

.filterRow {
  margin: 14px 0 10px;
  align-items: end;
}

.filterRow .small {
  padding-bottom: 12px;
}

.filterRow .field {
  flex: 1;
  margin: 0;
}

.expenseFilters {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin: 8px 0 14px;
}

.expenseFilters .field {
  margin: 0;
}

.monthChart {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 4px;
  align-items: end;
  overflow: hidden;
  margin-top: 13px;
}

.monthBar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 4px 0;
  border-radius: 8px;
  color: #71858e;
}

.monthBar.selected {
  background: #e7f7f4;
  color: var(--teal);
}

.barAmount {
  display: none;
  font-size: 9px;
}

.column {
  width: 100%;
  height: 77px;
  display: flex;
  justify-content: center;
  align-items: end;
  border-bottom: 1px solid #d1e5e2;
}

.column span {
  display: block;
  width: 70%;
  background: #55b6af;
  border-radius: 4px 4px 0 0;
  min-height: 0;
}

.monthBar.selected .column span {
  background: var(--teal);
}

.monthLabel {
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.timeline {
  padding-left: 27px;
}

.timeline .item {
  border-left: 2px solid #d5ede8;
  padding-left: 18px;
  position: relative;
}

.timeline .item:before {
  content: '';
  width: 11px;
  height: 11px;
  background: var(--teal);
  border: 3px solid #def3ef;
  border-radius: 50%;
  position: absolute;
  top: 16px;
  left: -8px;
}

.medLogs {
  margin-top: 12px;
  padding: 12px;
  border-radius: 13px;
  background: #f3f8f8;
}

.doseRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #e0ebeb;
  padding: 9px 0;
  flex-wrap: wrap;
}

.doseRow:first-of-type {
  margin-top: 7px;
}

.doseRow .spread {
  margin-left: auto;
}

@media (max-width: 365px) {
  .monthChart {
    gap: 2px;
  }
  .monthLabel {
    font-size: 8px;
  }
  .monthBar {
    padding: 3px 0;
  }
}

.otpInput {
  text-align: center;
  font-size: 24px!important;
  letter-spacing: 8px;
  font-weight: 800;
}

.authError {
  font-size: 13px;
  color: #b12f39;
  line-height: 1.45;
  margin: 4px 0 10px;
}

.authError[hidden] {
  display: none;
}
