.mp-topbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #1f2937;
  border-bottom: 1px solid #374151;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.mp-topbar__inner {
  max-width: 1600px;
  margin: 0 auto;
  min-height: 60px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.mp-topbar__left,
.mp-topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mp-topbar__link,
.mp-topbar__logout {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #4b5563;
  outline: none;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: Calibri Light, Calibri, Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  transition: 0.2s ease;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
  position: relative;
  z-index: 10000;
}

.mp-topbar__link {
  color: #f9fafb;
  background: transparent;
}

.mp-topbar__link:hover {
  background: #374151;
}

.mp-topbar__link.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.mp-topbar__logout {
  color: #ffffff;
  background: #dc2626;
  border-color: #dc2626;
}

.mp-topbar__logout:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.mp-topbar button::-moz-focus-inner {
  border: 0;
}

@media (max-width: 768px) {
  .mp-topbar__inner {
    min-height: auto;
    padding: 10px 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .mp-topbar__left,
  .mp-topbar__right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .mp-topbar__link,
  .mp-topbar__logout {
    width: 100%;
  }
}
