/* =========================
   Bộ lọc
========================= */
.tvs-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.tvs-filter-form label {
  font-weight: 500;
  font-size: 14px;
}

.tvs-filter-form select,
.tvs-filter-form input[type="text"] {
  padding: 8px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 180px;
}

/* Ô tìm kiếm lớn hơn */
#filter-search {
  min-width: 260px;
  padding: 10px 14px;
  font-size: 15px;
}

.tvs-filter-form button {
  padding: 10px 18px;
  font-size: 15px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.tvs-filter-form button:hover {
  background: #005f8d;
}

/* =========================
   Grid & Card hiển thị sách
========================= */
.tvs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.tvs-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tvs-card h3.tvs-title {
  font-size: 18px;
  margin: 0 0 10px;
}

.tvs-card h3.tvs-title a {
  color: #0073aa;
  text-decoration: none;
}

.tvs-card h3.tvs-title a:hover {
  text-decoration: underline;
}

.tvs-thumb {
  margin-bottom: 10px;
  text-align: center;
}

.tvs-thumb img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.tvs-excerpt {
  font-size: 14px;
  color: #444;
  margin-bottom: 10px;
}

.tvs-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.tvs-meta p {
  margin: 3px 0;
}

.tvs-meta a {
  color: #0073aa;
  text-decoration: none;
}

.tvs-meta a:hover {
  text-decoration: underline;
}

/* =========================
   Trạng thái & Nút
========================= */
.tvs-status {
  margin-bottom: 8px;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 3px;
  font-weight: bold;
}

.badge-done {
  background: #4caf50;
  color: #fff;
}

.badge-published {
  background: #2196f3;
  color: #fff;
}

.br-wrap {
  margin-top: 10px;
}

.br-btn {
  display: inline-block;
  padding: 8px 14px;
  background: #0073aa;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

.br-btn:hover {
  background: #005f8d;
}

.br-status,
.br-done {
  font-size: 14px;
  font-weight: 500;
  color: #444;
}
