:root {
  font-family: 'Pretendard Variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}

/* 카테고리 칩 활성 상태 */
#categoryChips .chip-active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
}

#categoryChips button:not(.chip-active) {
  background-color: #f1f5f9;
  color: #475569;
}

/* 주기 칩 활성 상태 */
#cadenceChips .chip-active {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
}

#cadenceChips button:not(.chip-active) {
  background-color: #f1f5f9;
  color: #475569;
}

/* 그룹 카드 호버 효과 */
[data-group-card] {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-group-card]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.15);
}

[data-group-card].focus-flash {
  outline: 2px solid #a5b4fc;
  outline-offset: 2px;
}

/* 비활성화된 참여 버튼 */
[data-quick-join][disabled] {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

/* 태그 스타일 */
.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #e0e7ff, #ede9fe);
  color: #4338ca;
  font-size: 0.6875rem;
  font-weight: 500;
}

.tag-item button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  color: #6366f1;
  transition: background-color 0.15s;
}

.tag-item button:hover {
  background-color: rgba(99, 102, 241, 0.2);
}

/* 모달 표시 */
#createModal.flex {
  display: flex;
}

/* 스크롤바 스타일 */
#groupList::-webkit-scrollbar {
  width: 4px;
}

#groupList::-webkit-scrollbar-track {
  background: transparent;
}

#groupList::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

#groupList::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
