/* Reviews widget shared styles */
.reviews-section {
  margin-top: 24px;
}
.reviews-section .reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.reviews-section .reviews-head .title {
  font-size: 28px;
  font-weight: 700;
}
.reviews-section .desc {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 12px;
}
.reviews-section .rating-input .star {
  cursor: pointer;
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #d8d8d8;
  -webkit-mask: url("/assets/frontend/img/personal/left-sidebar/star.svg")
    no-repeat center/contain;
  mask: url("/assets/frontend/img/personal/left-sidebar/star.svg") no-repeat
    center/contain;
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.reviews-section .rating-input .star.is-active {
  background: #f59e0b;
}
.reviews-section .rating-input .star:hover {
  transform: scale(1.04);
}
.review-form {
  background: #fff;
  max-width: 500px;
  margin-bottom: 16px;
}
.review-form .submit-btn {
  margin-top: 12px;
}
.review-form .single-col .col-md-4 {
  max-width: 320px;
}
.review-form .single-col .form-group {
  margin-bottom: 12px;
}
.review-form .rlabel {
  display: block;
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 6px;
}
.review-form .form-control {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
}
.review-form textarea.form-control {
  min-height: 140px !important;
  resize: none;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card {
  background: #f6f6f6;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-card .content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.review-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card .author .meta {
  display: flex;
  flex-direction: column;
}
.review-card .author .meta .name {
  font-weight: 600;
  line-height: 1;
}
.review-card .author .meta .date {
  font-size: 12px;
  color: #6b7280;
}
.review-card .author .stars {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.review-card .author .stars .star {
  width: 24px;
  height: 24px;
  background: #d8d8d8;
  -webkit-mask: url("/assets/frontend/img/personal/left-sidebar/star.svg")
    no-repeat center/contain;
  mask: url("/assets/frontend/img/personal/left-sidebar/star.svg") no-repeat
    center/contain;
}
.review-card .author .stars .star.is-active {
  background: #f59e0b;
}
.review-card .text {
  margin-top: 0px;
}
#reviews .reviews-pagination .pagination {
  gap: 6px;
  justify-content: flex-end;
}
#reviews .reviews-pagination .pagination li {
  display: inline-block;
}
#reviews .reviews-pagination .pagination .page-link {
  border-radius: 50%;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
