.top-bar {
  display: flex;
  gap: 8px;
  padding: 12px;
  align-items: center;
  justify-content: space-between;
}

.top-bar input[type="text"] {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.write-btn {
  background-color: #4c70ff;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.category-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  justify-content: center;
  border-bottom: 1px solid #eee;
}

.tab-btn {
  background: #f1f1f1;
  border: none;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

.tab-btn.active {
  background-color: #4c70ff;
  color: white;
  font-weight: bold;
}

.board-list-wrapper {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.board-item {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
}

.board-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.board-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.board-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.board-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

.board-meta-left {
  display: flex;
  gap: 6px;
  align-items: center;
}

.board-meta-right {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: #555;
}

.board-meta-right .icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


.dot {
  font-size: 10px;
  color: #aaa;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 5px;
}

.page-btn {
  padding: 5px 10px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}

.page-btn.active {
  background-color: #0066ff;
  color: white;
  font-weight: bold;
}

.sort-options {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.sort-btn {
  padding: 6px 14px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.sort-btn:hover {
  background-color: #e8f0ff;
  border-color: #4c70ff;
}

.sort-btn.active {
  background-color: #4c70ff;
  color: white;
  font-weight: bold;
  border: 1px solid #4c70ff;
}

.filter-btn {
  margin-left: auto;
  padding: 6px 12px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 18px;
  font-size: 13px;
  cursor: pointer;
}

.sort-options {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 8px;
}

.sort-btn {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #f1f1f1;
  font-size: 13px;
  cursor: pointer;
}

.sort-btn.active {
  background-color: #4c70ff;
  color: white;
  border: 1px solid #4c70ff;
  font-weight: bold;
}

