.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo {
  cursor: pointer;
  flex-shrink: 0;
}

.header-logo-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff00;
  color: white;
  font-size: 32px;
  font-weight: bold;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.header-logo-icon:hover {
  transform: scale(1.05);
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  width: 40%;
  flex-grow: 1;
}

.header-nav a {
  color: #161925;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.header-nav a:hover {
  background: #EFEFF9;
  color: #0062FF;
}

.header-run-button {
  background: #28a745;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 8px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3);
}

.header-run-button:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
}

.header-dropdown {
  position: relative;
  display: inline-block;
}

.header-dropdown-toggle {
  background: none;
  border: none;
  color: #161925;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-dropdown-toggle:hover {
  background: #EFEFF9;
  color: #0062FF;
}

.header-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 10px 0;
  z-index: 100;
  animation: header-dropdown-appear 0.3s ease;
}

@keyframes header-dropdown-appear {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.header-dropdown-item {
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.header-dropdown-item:hover {
  background: #EFEFF9;
}

.header-dropdown-item a {
  display: block;
  width: 100%;
  color: #333;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.header-user-email {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.header-user-email:hover {
  background: #EFEFF9;
  color: #0062FF;
}

.header-signin-button,
.header-signup-button,
.header-logout-button {
  padding: 8px 20px;
  border-radius: 25px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-signin-button {
  background: transparent;
  border: 1px solid #0062FF;
  color: #0062FF;
}

.header-signin-button:hover {
  background: #0062FF;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 98, 255, 0.3);
}

.header-signup-button {
  background: #0062FF;
  color: white;
  border: none;
}

.header-signup-button:hover {
  background: #0051d1;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 98, 255, 0.3);
}

.header-logout-button {
  background: #f8f9fa;
  border: 1px solid #dc3545;
  color: #dc3545;
}

.header-logout-button:hover {
  background: #dc3545;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}