/* ==========================================
   LIST GROUPS
   Стилі для списків
   ========================================== */

/* ==========================================
   BASE LIST GROUP
   ========================================== */
.list-group {
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ==========================================
   LIST GROUP ITEM
   ========================================== */
.list-group-item {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-left: 0;
  border-right: 0;
  border-color: var(--border);
  transition: var(--transition);
}

.list-group-item:first-child {
  border-top: 0;
}

.list-group-item:last-child {
  border-bottom: 0;
}

/* ==========================================
   LIST GROUP ITEM LINKS
   ========================================== */
.list-group-item a {
  color: var(--text);
  transition: var(--transition);
}

.list-group-item:hover {
  background: var(--light);
}

.list-group-item:hover a {
  color: var(--primary);
  transform: translateX(5px);
  display: inline-block;
}

/* ==========================================
   DARK MODE - LIST GROUPS
   ========================================== */
body.dark-mode .list-group {
  background: var(--dark-surface);
  border-color: rgba(var(--rgb-white), 0.1);
}

body.dark-mode .list-group-item {
  background: var(--dark-surface);
  border-color: rgba(var(--rgb-white), 0.05);
  color: var(--text-dark);
}

body.dark-mode .list-group-item a {
  color: var(--text-dark);
}

body.dark-mode .list-group-item:hover {
  background: var(--dark-hover);
}

body.dark-mode .list-group-item:hover a {
  color: var(--light);
}
