.glucose-value-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trend-icon {
  font-size: 50px;
  margin-left: 10px;
  vertical-align: middle;
}

.a1c-value {
  font-weight: bold;
}

@media (max-width: 600px) {
  .content-wrapper {
    max-width: 100vw;
    padding: 0 0.2em;
  }
  .glucose-value {
    font-size: 60px;
  }
  .glucose-unit {
    font-size: 18px;
  }
  .update-status-wrapper {
    font-size: 14px;
  }
  #glucose-graph {
    max-width: 100vw;
    height: 120px;
  }
}

@media (min-width: 900px) {
  .content-wrapper {
    max-width: 700px;
    padding: 0 2em;
  }
  #glucose-graph {
    max-width: 680px;
    height: 220px;
  }
  .glucose-value {
    font-size: 140px;
  }
  .glucose-unit {
    font-size: 36px;
  }
  .update-status-wrapper {
    font-size: 20px;
  }
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.glucose-display {
  text-align: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.glucose-value {
  font-size: 120px;
  font-weight: bold;
  line-height: 1;
  color: #333;
}

.glucose-unit {
  font-size: 30px;
  margin-top: -10px;
  margin-bottom: 5px;
}

.update-status-wrapper {
  margin-top: 5px;
  color: #888;
  font-size: 13px;
  font-weight: normal;
  opacity: 0.8;
}

.timestamp-label {
  font-weight: normal;
  color: #888;
}

.timestamp {
  font-size: 13px;
  color: #888;
  font-weight: normal;
  display: inline-block;
  margin-left: 5px;
}

#refresh-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 12px;
  width: 100vw;
  background: #b3e5ff;
  z-index: 1000;
}

#glucose-graph {
  position: fixed;
  bottom: 0;
  width: 100%;
}

@media (max-width: 600px) {
  .content-wrapper {
    max-width: 100vw;
    padding: 0 0.2em;
  }
  #glucose-graph {
    width: 100vw;
    max-width: 100vw;
    height: 120px;
  }
}
