.lw-sitebar {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(11, 18, 32, 0.94);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #243041;

  position: sticky;
}

.lw-sitebar__inner {
  position: relative;   /* ← ΑΥΤΟ ΛΕΙΠΕΙ */
}

.lw-sitebar__inner {
  width: 100%;
  box-sizing: border-box;
  min-height: 78px;
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.lw-sitebar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.lw-sitebar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.lw-sitebar__logo {
  height: 50px !important;
  width: auto;
  display: block;
}

.lw-sitebar__context {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.lw-sitebar__eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3c7;
}

.lw-sitebar__meta {
  font-size: 14px;
  color: #dbe7f3;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.lw-sitebar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lw-sitebar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lw-sitebar__link {
  color: #c9d5e3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lw-sitebar__link:hover {
  text-decoration: none;
  background: #172132;
  color: #ffffff;
  border-color: #2b3a4d;
}

.lw-sitebar__link.is-active {
  background: #172132;
  color: #ffffff;
  border: 1px solid #2b3a4d;
}

.lw-sitebar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lw-sitebar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: filter 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lw-sitebar__button:hover {
  text-decoration: none;
}

.lw-sitebar__button--primary {
  background: #14b8a6;
  color: #ffffff;
  border-color: #12998a;
}

.lw-sitebar__button--primary:hover {
  filter: brightness(1.05);
}

.lw-sitebar__button--secondary {
  background: #111827;
  color: #e2e8f0;
  border-color: #334155;
}

.lw-sitebar__button--secondary:hover {
  border-color: #475569;
}

.lw-telegram-status {
  font-size: 13px;
  font-weight: 600;
}

.lw-telegram-status--on {
  color: #22c55e;
}

.lw-telegram-status--off {
  color: #ef4444;
}

.lw-sitebar__menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #334155;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.lw-sitebar__menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e2e8f0;
}

@media (max-width: 900px) {
  .lw-sitebar__context {
    display: none;
  }

  .lw-sitebar__menu-toggle {
    display: inline-flex;
  }

  .lw-sitebar__inner {
    min-height: 72px;
    padding: 12px 18px;
    align-items: center;
  }

  .lw-sitebar__logo {
    height: 38px !important;
  }

  .lw-sitebar__right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px 18px;
    border-top: 1px solid #243041;
    border-bottom: 1px solid #243041;
    border-left: 0;
    border-right: 0;
    border-radius: 0 0 20px 20px;
    background: rgba(11, 18, 32, 0.98);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 2000;
  }

  .lw-sitebar.is-open .lw-sitebar__right {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .lw-sitebar__nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .lw-sitebar__link {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .lw-sitebar__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .lw-sitebar__button {
    width: 100%;
    min-height: 46px;
  }

    .lw-sitebar__menu-toggle {
    transition: border-color 0.18s ease, background 0.18s ease;
  }

  .lw-sitebar__menu-toggle span {
    transition: transform 0.22s ease, opacity 0.22s ease;
    transform-origin: center;
  }

  .lw-sitebar.is-open .lw-sitebar__menu-toggle {
    background: rgba(255, 255, 255, 0.07);
    border-color: #475569;
  }

  .lw-sitebar.is-open .lw-sitebar__menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .lw-sitebar.is-open .lw-sitebar__menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .lw-sitebar.is-open .lw-sitebar__menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}