.property-dashboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.property-dashboard-date {
  text-align: right;
  font-size: 16px;
  color: black;
  letter-spacing: 5px;
  border-bottom: 1px solid #aaa;
  padding-bottom: 10px;
}

.property-dashboard-date-label {
  font-size: 16px;
  color: #5c5c5c;
}

.property-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 350px;
  gap: 20px;
}

.property-dashboard-card {
  overflow: hidden;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  gap: 5px;
}

.property-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.property-dashboard-title {
  max-width: 50%;
  overflow: hidden;
  text-wrap: nowrap;
  text-overflow: ellipsis;
}

.property-dashboard-head-value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex: 1;
  overflow: hidden;

  padding-right: 10px;

  text-wrap: nowrap;
}

.property-dashboard-tabs {
  display: flex;
  gap: 2px;
}

.property-dashboard-tab {
  padding: 5px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-color: #e0e0e0;
  color: #535353;
  cursor: pointer;

  transition-duration: 300ms;
  transition-property: transform, color, background-color;
  transition-timing-function: ease;
}

.property-dashboard-tab:hover {
  transform: translateY(-5px);
}
.property-dashboard-tab.active {
  background-color: #696969;
  color: #fff;
}

.property-dashboard-body {
  flex: 1;
  min-height: 0;
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 5px;
}

.property-dashboard-chart-container {
  flex: 1;
  min-height: 0;
  min-width: 0;

  display: flex;
  align-items: center;
}
.property-dashboard-chart {
  width: 100%;
  height: 254px;
  display: none;
}
.property-dashboard-chart.active {
  display: unset;
}

.empty-parent {
  position: relative;
}
.empty-box {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;

  font-size: 20px;
}

.property-dashboard-values {
  --grid-gap: 10px;
  display: flex;
  justify-content: space-between;
  gap: var(--grid-gap);
}

.property-dashboard-item {
  max-width: 200px;
  padding: 5px 10px;
  border-radius: 6px;
  background: #f4f4f4;

  display: flex;
  flex-direction: column;
  gap: 6px;
}

.property-dashboard-item-label {
  margin: 0;
  font-size: 16px;
  color: #9e9e9e;
}

.property-dashboard-item-body {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 5px;
}

.property-dashboard-item-value {
  font-size: 18px;
  color: #404357;
  font-weight: bold;

  text-overflow: ellipsis;
  text-wrap: nowrap;
  overflow: hidden;
}

.property-dashboard-item-unit {
  font-size: 14px;
  color: #9e9e9e;
}
