/* ===== Shared Header Styling (from Meter Portal) ===== */
body { margin:0; font-family:"Segoe UI", Arial, sans-serif; }

.main-header {
  width: 100%;
  background: linear-gradient(to right, #004aad, #0078ff, #8dc63f, #fbc02d);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 25px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.25rem;
}

.logo-img {
  height: 50px;
  width: auto;
  margin-right: 12px;
  border-radius: 6px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

/* ===== MENU ===== */
.navbar-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  opacity: 0.85;
  text-decoration: underline;
}

/* ===== ACCOUNT BUTTON ===== */
.user-dropdown {
  position: relative;
}

.user-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.user-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: #fff;
  min-width: 160px;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.dropdown-content a {
  color: #003366;
  text-decoration: none;
  padding: 10px 14px;
  display: block;
}

.dropdown-content a:hover {
  background: #f4f4f4;
}

.user-dropdown:hover .dropdown-content {
  display: block;
}