#header {
  display: flex;
  background-color: #444;
  justify-content: space-between;
  align-items: center;
  padding: 0px 15px;
  min-width: 100%;
  border-bottom: 1px solid #221b1b;
}

.brand {
  display: flex;
  align-items: center;
  color: #00ff9d;
  font-weight: 700;
  font-size: 20px;
  gap: 10px;
  text-decoration: none;
}
.logo {
  height: 40px;
}

.header-list ul {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
}

.header-list ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
}

.header-list ul li a:hover,
.header-list ul li a.active {
  color: #00ff9d;
}

.auth-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
}

.auth-buttons .login {
  text-decoration: none;
  color: white;
  font-weight: bold;
  margin: 0 0 0 10px;
}
.auth-buttons .login:hover {
  color: #00ff9d;
}

.profile-button {
  width: 38px;
  height: 38px;
  border: 2px solid #00ff9d;
  border-radius: 50%;
  background: #2f2f2f;
  color: #00ff9d;
  cursor: pointer;
  font-weight: 700;
}

.profile-button:hover {
  background: #00ff9d;
  color: #2f2f2f;
}

.profile-popup {
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
  padding: 16px;
  border: 1px solid #00ff9d;
  border-radius: 10px;
  background: #2f2f2f;
  color: white;
  text-align: left;
}

.profile-popup[hidden] {
  display: none;
}

.profile-popup span {
  color: #d8d8d8;
  font-size: 14px;
}

.delete-account-button {
  margin-top: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: #d93025;
  color: white;
  cursor: pointer;
  font-weight: 700;
}

.delete-account-button:hover {
  background: #b3261e;
}

.logout-account-button {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #00ff9d;
  border-radius: 6px;
  background: #2f2f2f;
  color: #00ff9d;
  cursor: pointer;
  font-weight: 700;
}

.logout-account-button:hover {
  background: #00ff9d;
  color: #2f2f2f;
}
