#navbar {
  height: 100vh;
  /* Высота на весь экран */
  background-color: #08090a;
  /* Цвет фона для навбара */

  /* Разделительная линия */

}

@media (max-width: 768px) {
  #navbar {
    display: none;
    /* Скрываем боковое меню на мобильных устройствах */
  }
}

@media (max-width: 1000px) {
  #navbar {
    width: 60px;
  }
}

@media (min-width: 1000px) {
  #navbar {
    width: 200px;
    /* Скрываем буковки меню на мобильных устройствах */
  }
}

.btn-nav {
  background-color: #08090a;
  color: #ffffff;
  border: none;
}

.g-menu-item {
  margin-left: 2%;
}

.menu-item {
  list-style-type: none;
  width: 180px;
  height: 42px;
  font-size: 16px;
  padding-left: 16px;
  padding-top: 10px;
  padding-bottom: 0px;

  margin: 0;
}

.mobile-menu-item {
  list-style-type: none;
  width: 180px;
  height: 42px;
  font-size: 16px;
  padding-left: 16px;
  padding-top: 10px;
  padding-bottom: 0px;

  margin: 0;
}

.menu-item:hover,
.mobile-menu-item:hover {
  border-radius: 8px;
  background-color: #1E1E1E;
  color: #FFFFFF;
}


.text-menu-item {
  font-family: "Roboto", sans-serif;
  margin-top: 4px;
}

@media (max-width: 769px) {
  #nav-main {
    display: none;
  }

  .uk-navbar-left {
    display: none;
  }

}

@media (max-width: 960px) {
  #nav-main {
    width: 80px;
  }

  .uk-navbar-left {
    width: 80px;
  }

}


@media (max-width: 1000px) {
  #nav-main {
    width: 141px;
  }

  .uk-navbar-left {
    width: 141px;
  }



  .menu-item {
    display: grid;
    place-items: center;

    height: 60px;
    width: 48px;

    margin: 0px;
    padding: 10%;
  }

  .text-menu-item {
    display: none;
  }
}

@media (min-width: 1000px) {
  #navbar {
    width: 200px;
    /* Скрываем буковки меню на мобильных устройствах */
  }

  .uk-navbar-left {
    width: 281px;
    border-bottom: 1px, #ffffff;
  }

  #btn-minus {
    display: none;
  }
}

.button-menu {
  border: none;
  background-color: #272F36;
  font-size: 20px;
}

.button-menu:active,
.button-menu:focus {
  background-color: #272F36;
  text-shadow: none;
}

.button-menu:hover {
  color: #E0E0E0;
  background-color: #404653;
  text-shadow: 0 0 5px #e2e2e2, 0 0 10px #afe0fd, 0 0 15px #afe0fd;
}



/* === ПРАВАЯ ПАНЕЛЬ / OFFCANVAS === */

.custom-offcanvas {
  width: 360px;
  background: #2a2a2a;
  color: #eee;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 16px;
  box-sizing: border-box;
}

/* === ТАБЫ Биржа / Маркет === */

.uk-tab>li>a {
  color: #ccc;
}

.uk-tab>li.uk-active>a {
  color: #fff;
  border-color: #d6752f;
}

/* === ОБЁРТКА ДЛЯ ТАБОВ (Биржа / Маркет) === */
#activity-tabs>li {
  flex: 1;
}

.activity-tab-container {
  height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}

.activity-tab-container::-webkit-scrollbar {
  display: none;
}

.activity-tab-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* === КАРТОЧКИ === */
.activity-card {
  background-color: #2f2f2f;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.activity-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

.activity-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.activity-info .title {
  font-size: 15px;
  font-weight: bold;
  color: #f5f5f5;
}

.activity-info .meta {
  font-size: 13px;
  color: #bbb;
}

.activity-info .rating {
  font-size: 14px;
  color: #f4d03f;
}

.activity-button-small {
  padding: 4px 10px;
  font-size: 13px;
  background-color: #444;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.activity-button-small:hover {
  background-color: #666;
}

/* === РАЗДЕЛИТЕЛЬ === */
.activity-divider {
  border-top: 1px solid #5555558a;
  margin: 8px 0;
}

/* === КОМАНДА === */
.team-header {
  position: sticky;
  top: 0;
  background: #2a2a2a;
  z-index: 2;
  padding-top: 8px;
}

.team-section {
  height: 40%;
  overflow-y: auto;
  padding-top: 4px;
  padding-right: 4px;
}

.team-section::-webkit-scrollbar {
  display: none;
}

.team-section {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-member {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #393939;
  padding: 6px 10px;
  border-radius: 8px;
}

.team-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.team-name {
  font-size: 14px;
  color: #fff;
}

.team-status {
  font-size: 12px;
}

.team-status.online {
  color: #43c463;
}

.team-status.offline {
  color: #c44343;
}





.product-card {
  position: relative;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Бейдж типа */
.product-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.product-type-badge.offer {
  background-color: #2ecc71;
  color: white;
}

.product-type-badge.request {
  background-color: #e74c3c;
  color: white;
}

/* Изображение */
.product-image-container {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image {
  transform: scale(1.03);
}

.product-status {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.product-status.verified {
  background-color: rgba(46, 204, 113, 0.9);
}

/* Основная информация */
.product-info {
  padding: 16px;
}

.product-title {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.product-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #7f8c8d;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Параметры */
.product-params {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.param {
  padding: 2px 6px;
  background-color: #f5f7fa;
  border-radius: 4px;
  font-size: 12px;
  color: #34495e;
}

/* Активность */
.product-activity {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.activity-item.matches {
  color: #3498db;
}

.activity-item.counteroffers {
  color: #e67e22;
}

.activity-item.rating {
  color: #f1c40f;
}

.rating-count {
  color: #95a5a6;
  font-size: 11px;
}

/* Кнопки */
.product-actions {
  display: flex;
  padding: 0 16px 16px;
  gap: 8px;
}

.btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
}

.btn-secondary {
  background-color: #ecf0f1;
  color: #34495e;
}

.btn-secondary:hover {
  background-color: #d5dbdb;
}