
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: none;
  position: relative;
  top: 0;
  z-index: 1000;
  flex-wrap: nowrap; 
  gap: 15px;
  overflow: visible; 
}


header img {
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0; 
}

.header-btn-right {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-shrink: 1; 
  white-space: nowrap;
  align-items: center;
}

.login-btn {
  background: #0070ba;
  color: #f1f1f1;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 1;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #005c99;
}

.register {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  color: white;
  border: none;
  margin-top: 0;
  white-space: nowrap;
  flex-shrink: 1;
  font-size: 16px;
  cursor: pointer;
}

.lang-dropdown {
  margin-top: 12px;
  position: relative; 
  display: inline-block;
  font-family: sans-serif;
  white-space: nowrap;
  flex-shrink: 1;
}

.lang-toggle {
  background-color: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  white-space: nowrap;
}

.lang-toggle img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}

.lang-menu {
  display: none; 
  position: absolute;
  right: 0; 
  top: 100%;
  background-color: #333;
  border: 1px solid #000;
  border-radius: 4px;
  min-width: 100px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
  z-index: 99999; 
  margin-top: 5px;
}

.lang-menu .lang-option {
  color: white;
  font-size: 14px;
  padding: 8px 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.lang-menu .lang-option:hover {
  background-color: #585858;
}

.lang-option img {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  header {
    padding: 10px 15px;
    gap: 10px;
  }
}
