* {
    -webkit-user-select: text !important;
    user-select: text !important;
}

body {
  user-select: text !important;
  -webkit-user-select: text !important;
}

/* Контейнер ключа без ограничения по высоте и без прокрутки */
.config-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    font-family: monospace;
    font-size: 11px;
    color: #cbd5e1;
    
    /* Важнейшие свойства для отображения без скролла: */
    word-break: break-all;     /* Разрывать ссылку в любом месте */
    overflow-wrap: break-word; /* Переносить на новую строку */
    white-space: pre-wrap;     /* Сохранять пробелы, но переносить */
    height: auto !important;   /* Высота по контенту */
    max-height: none !important; 
}

button, .nav-item {
    -webkit-user-select: none !important;
    user-select: none !important;
}

.card-gradient {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

#app {
  display: flex;
  flex-direction: column;
  height: 100vh; /* Ровно высота экрана */
  width: 100%;
  overflow: hidden; /* Главный контейнер не скроллится */
}

.tab-content {
  flex: 1; /* Занимает всё оставшееся место */
  overflow-y: auto !important; /* Включаем скролл */
  -webkit-overflow-scrolling: touch; /* Плавность для iOS */
  padding-bottom: 120px; /* Отступ для нижнего меню */
}

/* Сделаем скроллбар видимым */
.tab-content::-webkit-scrollbar {
  width: 4px;
}
.tab-content::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 10px;
}

#admin-tickets-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
