/* MyIndex application styles (Bootstrap 5 overrides go here). */

/* One colour per index type, reused by badges (and later by charts). */
.counter-type { color: #fff; }
.counter-type-electricity { background-color: #946200; }
.counter-type-gas { background-color: #b33c0b; }
.counter-type-water { background-color: #1864ab; }
.counter-type-heating { background-color: #a61e4d; }

/* Bigger tap targets on phones (readings are usually entered in front of the meter). */
@media (max-width: 575.98px) {
  .btn { padding-top: .5rem; padding-bottom: .5rem; }
  input[type="datetime-local"], input[type="number"] { font-size: 1.125rem; }
}

/* Charts & figures */
.chart-card { background: #fff; border: 1px solid rgba(11, 11, 11, .1); border-radius: .5rem; padding: 1rem; }
.chart { width: 100%; height: 300px; }
.stat-tile { background: #fff; border: 1px solid rgba(11, 11, 11, .1); border-radius: .5rem; padding: .75rem 1rem; height: 100%; }
.stat-label { font-size: .8125rem; color: #52514e; }
.stat-value { font-size: 1.5rem; font-weight: 600; color: #0b0b0b; }
[data-table] { font-variant-numeric: tabular-nums; }
