/* HVAC Checks shared header and tab menu */
.mainTitle {
  display: block;
  width: fit-content;
  margin: 12px auto 6px;
  padding: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #1e3a8a;
  background: linear-gradient(135deg, #1e3a8a, #72a8ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease-in-out;
}

.mainTitle:hover {
  transform: scale(1.05);
}

.tabmenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: min(1180px, calc(100% - 24px));
  padding: 6px;
  margin: 0 auto;
  gap: 6px;
  list-style: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.tabmenu li {
  flex: 0 1 auto;
  text-align: center;
}

.tabmenu a {
  display: block;
  min-width: 96px;
  padding: 10px 14px;
  color: #2850a5;
  background: #eef4ff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #a9bee9;
  border-radius: 999px;
  box-shadow: none;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tabmenu a:hover,
.tabmenu a.active {
  background: #dbe8ff;
  color: #2850a5;
  border-color: #a9bee9;
  box-shadow: none;
}

@media (max-width: 600px) {
  .tabmenu {
    width: calc(100% - 16px);
    padding: 6px;
    gap: 4px;
  }

  .tabmenu li {
    flex: 1 1 auto;
  }

  .tabmenu a {
    min-width: 88px;
    padding: 9px 12px;
    font-size: 12px;
  }
}
