:root {
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card: #ffffff;
  --accent: #c9a24d; /* line vàng */
  --head: #b23b3b; /* tiêu đề đỏ */
  --bg: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

.utilities_weather {
  max-width: 760px;
  margin: 0 auto;
}

.utilities__header {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  font-weight: bold;
  font-size: 17px;
}
.utilities__header {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-top: 11px;
}
.utilities__line {
  height: 2px;
  background: var(--accent);
  flex: 1;
  transform: translateY(-6px);
  border-radius: 999px;
}
.utilities__clock {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.utilities__clock strong {
  color: var(--text);
}

.card-weather {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  margin-top: 20px;
}
.card__inner {
  padding: 14px;
}

.gold-table {
  width: 100%;
  border-collapse: collapse;
}
.gold-table thead th {
  text-align: left;
  color: var(--head);
  font-weight: 700;
  padding: 10px 10px;
  font-size: 14px;
}
.gold-table tbody td {
  padding: 10px 10px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.gold-table tbody td:nth-child(2),
.gold-table tbody td:nth-child(3) {
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.req {
  color: var(--head);
  margin-left: 2px;
}

.card__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.muted {
  color: var(--muted);
}

.weather__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.weather__temp {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}
.weather__temp .deg {
  font-size: 34px;
  vertical-align: top;
}
.weather__range {
  margin-top: 6px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.weather__select select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  background: #fff;
}

.weather__days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid var(--border);
}
.day {
  padding: 10px 8px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.day:last-child {
  border-right: none;
}
.day__date {
  font-weight: 700;
  font-size: 12px;
}
.day__temp {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.day__text {
  margin-top: 4px;
  font-size: 12px;
}

.pulse {
  animation: pulse 0.55s ease;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    background: transparent;
  }
  35% {
    transform: scale(1.02);
    background: rgba(201, 162, 77, 0.12);
  }
  100% {
    transform: scale(1);
    background: transparent;
  }
}
