.black-menu {
  background: linear-gradient(135deg, #000000, #000000);
  padding: 15px 22px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  opacity: 0.9;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 42px;
}

.logo-link {
  text-decoration: none;
  color: #ffffff;
}

.company-logo {
  width: 80px;
  height: auto;
  margin-top: -10px;
}

.menu-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu-options > li {
  display: flex;
  align-items: center;
}

.menu-options > li > a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  font-weight: bold;
  position: relative;
  white-space: nowrap;
}

.menu-options > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #ccccff;
  transition: width 1s ease;
}

.menu-options > li > a:hover::after {
  width: 100%;
}

.menu-options > li > a:hover {
  color: #ccccff;
}

.nav-nowrap {
  white-space: nowrap;
}

.lang-switch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  white-space: nowrap;
  line-height: 1.1;
}

.translate {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
}

.translate::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #ccccff;
  transition: width 1s ease;
}

.translate:hover::after,
.translate.active::after {
  width: 100%;
}

.translate:hover,
.translate.active {
  color: #ccccff;
}

.account-slot {
  position: relative;
}

.profile-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #444444;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  color: #ffffff;
}

.profile-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.profile-btn:hover,
.profile-btn:focus-visible {
  border-color: #ccccff;
  color: #ccccff;
  outline: none;
}

.profile-btn.is-authenticated {
  border-color: #8dc18d;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 320px;
  max-width: calc(100vw - 24px);
  padding: 14px;
  border: 1px solid #2b2b2b;
  border-radius: 12px;
  background: #161616;
  color: #ffffff;
  text-transform: none;
  z-index: 1100;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.account-dropdown h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.account-dropdown label {
  display: block;
  margin: 8px 0 4px;
  font-size: 13px;
  text-transform: none;
}

.account-dropdown input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  background: #1f1f1f;
  color: #ffffff;
  padding: 10px;
}

.account-action {
  margin-top: 10px;
  width: 100%;
  border: 1px solid #ccccff;
  border-radius: 8px;
  background: #242424;
  color: #ffffff;
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}

.logout-action {
  border-color: #ff8d8d;
}

.account-link-btn {
  margin-top: 8px;
  border: 0;
  background: none;
  color: #ccccff;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  display: inline-block;
  text-transform: none;
}

.account-user-text {
  margin: 0 0 10px;
  font-size: 14px;
  word-break: break-word;
}

.account-msg {
  margin: 10px 0 0;
  min-height: 18px;
  font-size: 13px;
}

.account-msg.error {
  color: #ff9090;
}

.menu-toggle {
  display: none;
  font-size: 30px;
  color: #ffffff;
  cursor: pointer;
  margin-right: 12px;
  user-select: none;
}

.mobile-menu {
  display: none;
}

.hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .menu-options {
    display: none;
  }

  .black-menu {
    height: 45px;
    padding: 10px 14px;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 260px;
    background: rgba(0, 0, 0, 0.94);
    z-index: 1002;
    padding: 20px;
    box-sizing: border-box;
    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.26s ease, opacity 0.26s ease;
  }

  .mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .close-btn {
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    align-self: flex-end;
  }

  .mobile-menu nav ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu nav ul li {
    margin: 18px 0;
  }

  .mobile-menu nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    font-weight: bold;
    white-space: nowrap;
  }

  .mobile-menu .lang-switch {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 460px) {
  .logo h1 {
    font-size: 24px;
  }

  .black-menu {
    height: 32px;
  }

  .company-logo {
    width: 50px;
    height: 50px;
  }

  .mobile-menu nav ul li a {
    font-size: 18px;
  }
}
