@charset "UTF-8";
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.filter-toolbar .filter-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-toolbar .filter-right {
  display: flex;
  align-items: center;
}
.filter-toolbar .form-select {
  width: auto;
}
.filter-toolbar .btn-filter {
  min-height: auto;
  white-space: nowrap;
}

.classified-categories-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  gap: 24px;
}
.classified-categories-wrapper .listings-wrapper {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 1px;
}
.classified-categories-wrapper .classified-categories-sidebar {
  flex-shrink: 0;
  width: 100%;
  height: -moz-max-content;
  height: max-content;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.classified-categories-wrapper .box-wrapper {
  padding: 24px 24px;
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #dee2e6;
}
.classified-categories-wrapper .box-wrapper .box-title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.classified-categories-wrapper .box-wrapper .box-title svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.classified-categories-wrapper .box-wrapper .box-title svg path {
  fill: var(--bs-blue);
}

.latest-classified-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

.sidebar-categories-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 406px;
  overflow: auto;
  padding-right: 24px;
}
.sidebar-categories-list .category-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: transparent;
  border: none;
  text-decoration: none;
  color: #212529;
  transition: all 0.15s ease-in-out;
}
.sidebar-categories-list .category-box .category-box-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-categories-list .category-box .category-name {
  font-size: 14px;
  font-weight: 600;
}
.sidebar-categories-list .category-box:hover {
  color: var(--bs-blue);
  background-color: #e7f1ff;
}
.sidebar-categories-list .category-box.active {
  background-color: var(--bs-blue);
  color: #ffffff;
}
.sidebar-categories-list .category-box.active:hover {
  background-color: #0b5ed7;
}
.sidebar-categories-list .category-box .badge {
  background-color: #ff350a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 6px 2px 6px;
  border-radius: 4px;
  z-index: 2;
  width: auto;
  height: auto;
  animation: pulse-hot 1.5s infinite;
  /* Định nghĩa hiệu ứng tỏa sáng */
}
@keyframes pulse-hot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }
  50% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

.pagination-wrapper .page-numbers {
  margin-top: 0;
}

@media (max-width: 991px) {
  .classified-categories-wrapper {
    flex-direction: column;
  }
  .classified-categories-wrapper .listings-wrapper,
  .classified-categories-wrapper .classified-categories-sidebar {
    max-width: 100%;
  }
}
@media (max-width: 575px) {
  .classified-categories-wrapper {
    gap: 32px;
  }
  .classified-categories-wrapper .box-wrapper {
    padding: 16px;
  }
  .classified-categories-wrapper .box-wrapper .box-title {
    padding-right: 16px !important;
  }
  .classified-categories-wrapper .classified-categories-sidebar {
    gap: 32px;
  }
  .sidebar-categories-list {
    max-height: 100%;
    padding-right: 16px;
  }
}
.classified-item {
  position: relative;
  text-decoration: none;
  display: flex;
  padding: 12px;
  gap: 12px;
  height: 100%;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #dee2e6;
  transition: all 0.15s ease-in-out;
}
.classified-item .thumbnail {
  position: relative;
  flex-shrink: 0;
}
.classified-item .thumbnail img {
  border-radius: 10px;
  overflow: hidden;
  width: 60px;
  height: 60px;
  -o-object-fit: cover;
     object-fit: cover;
}
.classified-item .classified-info {
  padding: 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.classified-item .classified-info .category {
  font-weight: 500;
  font-size: 12px;
}
.classified-item .classified-info .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.classified-item .classified-info .meta > * {
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  color: var(--gray-700);
}
.classified-item .classified-info .title {
  font-size: 14px;
  line-height: 24px;
  color: #212429;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0;
  padding-right: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
  transition: all 0.15s ease-in-out;
}
.classified-item .expired-label {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.classified-item .btn-favorite {
  position: absolute;
  right: 8px;
  top: 8px;
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: all 0.15s ease-in-out;
}
.classified-item .btn-favorite svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: all 0.15s ease-in-out;
}
.classified-item .btn-favorite svg path {
  transition: all 0.15s ease-in-out;
  fill: none;
  stroke: #dee2e6;
  stroke-width: 2px;
}
.classified-item .btn-favorite:not(.active):hover {
  background-color: rgba(255, 147, 98, 0.5);
  border-color: rgba(255, 147, 98, 0.5);
}
.classified-item .btn-favorite:not(.active):hover svg {
  width: 18px;
  height: 18px;
}
.classified-item .btn-favorite:not(.active):hover svg path {
  fill: #ffffff;
  stroke: #ffffff;
  opacity: 0.5;
}
.classified-item .btn-favorite.active {
  background-color: #f44336;
  border-color: #f44336;
}
.classified-item .btn-favorite.active svg {
  width: 18px;
  height: 18px;
}
.classified-item .btn-favorite.active svg path {
  fill: #ffffff;
  stroke: #ffffff;
  opacity: 1;
}
@media (min-width: 576px) {
  .classified-item:hover {
    border: 1px solid var(--bs-blue);
  }
  .classified-item:hover .classified-info .title {
    color: var(--bs-blue);
  }
}

@media (max-width: 575px) {
  .classified-item {
    padding: 0;
    border-radius: 0;
    border: none;
    background-color: transparent;
  }
  .classified-item:not(:last-child) {
    padding-bottom: 16px;
    border-bottom: 1px solid #dee2e6;
  }
  .classified-item .btn-favorite {
    top: 0;
    right: 0;
  }
  .classified-item .classified-info .title {
    position: relative;
    padding-right: 0;
    display: block;
  }
  .classified-item .classified-info .title::before {
    content: "";
    float: right; /* Đẩy khối tàng hình sang góc phải */
    width: 28px; /* Tương đương khoảng padding-right bạn muốn */
    height: 16px; /* Quan trọng: Chiều cao phải bằng đúng line-height của thẻ .title */
  }
}/*# sourceMappingURL=classified-categories.css.map */