  /* Content */
  .content {
    padding: 2rem 0;
  }
  
  .topics-header {
    display: flex;
    align-items: baseline; /* теперь по базовой линии текста */
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.title_jem {
    font-size: 24px;
    margin: 0;
    padding: 0;
    line-height: 1.2; /* можно чуть уменьшить, если текст «всплывает» */
    align-self: baseline;
}

.tabs {
    position: relative;
    display: flex;
    gap: 15px;
    padding-top: 4px; /* можно добавить небольшой отступ сверху для выравнивания */
}
.tab {
    text-decoration: none;
    color: #888;
    font-size: 16px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.tab:hover,
.tab.active {
    color: #6a0dad;
}

/* Фиолетовая линия под вкладками */
.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: #6a0dad;
    width: 0;
    transition: all 0.3s ease;
}

  
  .topic-card {
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  
  .topic-card h3 {
    margin-bottom: 1rem;
    color: var(--accent);
  }
  
  .topic-card p {
    color: #b3b3b3;
    margin-bottom: 1.5rem;
  }
  
  .topic-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
  }
  /* resources/css/app.css */
:root {
  --primary-bg: #1a1a2e;
  --secondary-bg: #16213e;
  --accent: #8a2be2;
  --text-color: #e0e0e0;
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: var(--primary-bg);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: var(--secondary-bg);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}

.nav-links a:hover {
  background: var(--accent);
  border-radius: var(--border-radius);
}

/* Стили для логотипа с 3D кубом */
/* Стили для логотипа с 3D кубом */
.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
    gap: 8px;
    position: relative;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.logo-cube {
    width: 24px;
    height: 24px;
    perspective: 500px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 8s infinite linear;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(138, 43, 226, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0.9;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.2),
        0 0 5px rgba(138, 43, 226, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px; /* Маленький размер шрифта */
    font-weight: bold;
    color: white;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.front  { transform: rotateY(0deg) translateZ(12px); }
.back   { transform: rotateY(180deg) translateZ(12px); }
.right  { transform: rotateY(90deg) translateZ(12px); }
.left   { transform: rotateY(-90deg) translateZ(12px); }
.top    { transform: rotateX(90deg) translateZ(12px); }
.bottom { transform: rotateX(-90deg) translateZ(12px); }

@keyframes rotate {
    from { transform: rotateX(-15deg) rotateY(0deg) rotateZ(0deg); }
    to { transform: rotateX(345deg) rotateY(360deg) rotateZ(360deg); }
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .logo-cube {
        width: 20px;
        height: 20px;
    }
    
    .face {
        font-size: 8px; /* Еще меньше на мобильных */
    }
}

.profile.desktop img {
  border-radius: 50%;
  border: 2px solid var(--accent);
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.profile.desktop a {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}
.profile.desktop a:hover {
  background: var(--accent);
  border-radius: var(--border-radius);
}


/* Бургер меню */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
  padding: 20px;
}

.burger .line {
  width: 25px;
  height: 3px;
  background: var(--accent);
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: var(--secondary-bg);
  transition: left 0.3s;
  padding: 60px 20px 20px;
  z-index: 999;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mobile-profile {
  margin-bottom: 2rem;
  text-align: center;
}

.mobile-profile a{
  display: inline-block; /* Делаем ссылки блочными элементами */
    padding: 8px 10px; /* Внутренние отступы */
    margin: 2px 0; /* Отступы между кнопками */
    font-size: 14px; /* Размер шрифта */
    text-decoration: none; /* Убираем подчеркивание */
    color: #ffffff; /* Цвет текста */
    text-align:center; /* Выравнивание текста */
    transition: background-color 0.3s ease; /* Плавный переход при наведении */

}








.mobile-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  margin-bottom: 10px;
}

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav a {
  color: var(--text-color);
  padding: 12px;
  border-radius: var(--border-radius);
  transition: background 0.3s;
}

.mobile-nav a:hover {
  background: var(--accent);
}

/* Адаптив */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .profile.desktop { display: none; }
  .logo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
  }
}

@media (min-width: 769px) {
  .burger, .mobile-menu { display: none !important; }
}

.username {
  font-weight: 600;
  color: var(--accent);
  margin-top: 10px;
}

.mobile-profile {
  cursor: pointer;
  padding: 15px;
  transition: background 0.3s;
}

.mobile-profile:hover {
  background: rgba(138,43,226,0.1);
}

/* Profile dropdown */
.profile.desktop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.profile.desktop img {
  transition: border-color 0.3s;
}

.profile.desktop:hover img {
  border-color: #fff;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--secondary-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 0.5rem 0;
  min-width: 180px;
  display: none;
  z-index: 1000;
  margin-top: 0.5rem;
}


.dropdown-menu a {
  color: var(--text-color);
  padding: 0.8rem 1.5rem;
  display: block;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--accent);
}

.profile.desktop.active .dropdown-menu {
  display: block;
}

@media (max-width: 768px) {
  .profile.desktop {
      display: none;
  }
}


.topics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.topic-card {
  background: var(--secondary-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: transform 0.3s;
}

.topic-card:hover {
  transform: translateY(-5px);
}

.topic-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.topic-title a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.topic-title a:hover {
  color: #8a2be2;
}

.topic-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
  color: #888;
}

.subscribe-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s;
  margin-left: auto;
}

.subscribe-btn:hover {
  background: #731cad;
}


.pagination-custom {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  width: 100%;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: scale(0.9);
  transform-origin: center;
}

/* Общие стили для всех элементов */
.pagination-wrapper > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

/* Кнопки страниц */
.pagination-wrapper a,
.pagination-wrapper span:not(.prev):not(.next) {
  min-width: 36px;
  color: #6f42c1;
  background-color: white;
  border: 1.5px solid #e2e8f0;
}

/* Кнопки навигации */
.pagination-wrapper .prev,
.pagination-wrapper .next {
  min-width: 80px;
  color: white;
  background-color: #6f42c1;
  border: 1.5px solid #6f42c1;
}

/* Состояния */
.pagination-wrapper a:hover {
  background-color: #f8f9fa;
  border-color: #6f42c1;
}

.pagination-wrapper .prev:hover,
.pagination-wrapper .next:hover {
  background-color: #5a32c0;
  border-color: #5a32c0;
}

/* Активная страница */
.pagination-wrapper .active span {
  background-color: #6f42c1;
  color: white;
  border-color: #6f42c1;
  font-weight: 600;
}

/* Неактивные элементы */
.pagination-wrapper .disabled,
.pagination-wrapper .disabled span {
  color: #a0aec0;
  background-color: #edf2f7;
  border-color: #e2e8f0;
  pointer-events: none;
}

/* Точки разделения */
.pagination-wrapper .dots {
  color: #718096;
  background: transparent;
  border: none;
  cursor: default;
}

/* Адаптивность */
@media (max-width: 640px) {
  .pagination-wrapper {
    gap: 0.3rem;
    transform: scale(0.8);
  }
  
  .pagination-wrapper .prev,
  .pagination-wrapper .next {
    min-width: 70px;
    padding: 0 8px;
  }
}
.pagination-custom .hidden {
  display: none !important;
}


.viewed {
  color: #8a2be2;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}


/* Основной контейнер уведомлений */
.notifications-dropdown {
  position: relative;
  display: inline-block;
}

/* Кнопка колокольчика */
.notifications-button {
  font-size: 1.5rem;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  outline: none;
}

/* Иконка колокольчика */
.notifications-button i {
  transition: color 0.3s ease;
}

.notifications-button:hover i {
  color: #007bff;
}

/* Бейдж с количеством непрочитанных уведомлений */
.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4d4d;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
}

/* Выпадающее меню уведомлений */
.notifications-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: 300px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
  overflow: hidden;
}

.notifications-button:hover + .notifications-menu,
.notifications-menu:hover {
  display: block;
}

/* Элементы уведомлений */
.notification-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

.notification-link {
  display: inline-block;
  margin-top: 5px;
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
}


.notification-link:hover {
  text-decoration: underline;
}

/* Кнопка "Прочитано" */
.mark-as-read {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
}

.mark-as-read:hover {
  background-color: #0056b3;
}

/* Сообщение об отсутствии уведомлений */
.no-notifications {
  text-align: center;
  padding: 10px;
  color: #666;
  font-size: 0.9rem;
}

/* Подсказка для неавторизованных пользователей */
.login-prompt {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}


/* Основной контейнер уведомлений */
.notifications-dropdown {
  position: relative;
  display: inline-block;
  margin-left: auto; /* Размещаем колокольчик справа */
}

/* Кнопка колокольчика */
.notifications-button {
  font-size: 1.5rem;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  outline: none;
}

/* Иконка колокольчика */
.notifications-button i {
  transition: color 0.3s ease;
}

.notifications-button:hover i {
  color: #007bff;
}

/* Бейдж с количеством непрочитанных уведомлений */
.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4d4d;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
}

/* Выпадающее меню уведомлений */
.notifications-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: 300px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
  overflow: hidden;
}

.notifications-button:hover + .notifications-menu,
.notifications-menu:hover {
  display: block;
}

/* Элементы уведомлений */
.notification-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}



.notification-link:hover {
  text-decoration: underline;
}

/* Кнопка "Прочитано" */
.mark-as-read {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
}

.mark-as-read:hover {
  background-color: #0056b3;
}

/* Сообщение об отсутствии уведомлений */
.no-notifications {
  text-align: center;
  padding: 10px;
  color: #666;
  font-size: 0.9rem;
}

/* Подсказка для неавторизованных пользователей */
.login-prompt {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}
.title_jem{
  color: var(--accent);
  margin: 2rem 0 1.5rem;
  font-size: 1.5rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
}

/* Скрытый меню */
.notifications-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000; /* Убедитесь, что меню выше других элементов */
}

/* Показанное меню */
.notifications-menu.show {
  display: block;
}

.delete-notification {
  background-color: #dc3545; /* Красный цвет */
  color: #fff;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-left: 5px;
}

.delete-notification:hover {
  background-color: #c82333; /* Темно-красный при наведении */
}

.delete-all-btn {
  width: 100%;
  padding: 0.5rem;
  background-color: #dc3545;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 10px;
}

.delete-all-btn:hover {
  background-color: #c82333;
}


.search-panel {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    
    /* Плавная анимация */
    background: linear-gradient(-45deg, #667eea, #764ba2, rgba(169, 135, 255, 1), rgba(255, 117, 145, 1));
    background-size: 400% 400%;
    animation: smoothGradient 12s ease infinite;
}

@keyframes smoothGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.search-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.search-input:focus {
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.search-hint {
    text-align: center;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.search-result-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f3f4;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    color: black;
}

.search-result-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.search-result-item:last-child {
    border-bottom: none;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9ecef;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
    font-size: 16px;
}

.user-id {
    color: #718096;
    font-size: 14px;
    font-weight: 500;
}

.result-type {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}

.topic-result {
    padding: 20px;
    color: black;
}



.no-results {
    padding: 30px 20px;
    text-align: center;
    color: #000000;
    font-size: 16px;
}

.search-section {
    border-bottom: 2px solid #f1f3f4;
}

.section-header {
    padding: 12px 20px;
    background: #f8f9fa;
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Анимации */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results.show {
    display: block;
    animation: slideDown 0.3s ease;
}

/* Полоса прокрутки */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
.result-color{
  color: black;
}
.search-text{
padding-bottom: 4px;
text-align: center;
font-size: 24px;
line-height: 30px;
color: linear-gradient(187deg,rgba(169, 135, 255, 1) 37%, rgba(255, 117, 145, 1) 100%);
}

/* Добавьте эти стили в ваш style.css */

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    transition: left 0.3s ease;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: var(--primary-bg); /* #1a1a2e */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-profile {
    padding: 20px;
    background: var(--secondary-bg); /* #16213e */
    border-bottom: 1px solid rgba(138, 43, 226, 0.3); /* accent color with opacity */
    flex-shrink: 0;
}

.mobile-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 2px solid var(--accent); /* #8a2be2 */
}

.mobile-profile .username {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color); /* #e0e0e0 */
    font-size: 18px;
}

.mobile-profile a {
    display: block;
    margin: 8px 0;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    padding: 5px 0;
}

.mobile-profile a:hover {
    color: var(--accent);
}

.mobile-nav {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
    transition: all 0.3s;
    font-size: 16px;
}

.mobile-nav a:hover {
    background: var(--secondary-bg);
    color: var(--accent);
    padding-left: 25px;
}

.mobile-nav a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--accent);
}

/* Стили для скроллбара */
.mobile-nav::-webkit-scrollbar {
    width: 6px;
}

.mobile-nav::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

.mobile-nav::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.mobile-nav::-webkit-scrollbar-thumb:hover {
    background: #7a25d9;
}

/* Для Firefox */
.mobile-nav {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--secondary-bg);
}

/* Анимация появления меню */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.mobile-menu.active .mobile-menu-content {
    animation: slideIn 0.3s ease;
}

/* Стили для админской кнопки в мобильном меню */
.mobile-profile .admin-button {
    background: var(--accent);
    color: white !important;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 10px;
}

.mobile-profile .admin-button:hover {
    background: #7a25d9;
    color: white !important;
}

/* Индикатор количества джемов */
.mobile-profile a[href*="top-up"] {
    color: #ffd700 !important; /* золотой цвет для джемов */
    font-weight: bold;
}

.mobile-profile a[href*="top-up"]:hover {
    color: #ffed4e !important;
}