.star-rating {
  cursor: pointer;
  display: inline-block;
  font-size: 1.2rem;
}

.star-rating .fa {
  color: #ffc107;
  margin-right: 2px;
}

.star-rating .fa.checked {
  color: #ffc107;
}

.user-avatar-md {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
  margin-right: 5px;
  vertical-align: middle;
}

/* #loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
} */

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* --- สไตล์สำหรับแถบแจ้งเตือน (Notification Bar) --- */
#customNotification {
  position: fixed;
  top: 30px; /* ระยะห่างจากขอบบน */
  right: 30px; /* ระยะห่างจากขอบขวา */

  background-color: #fffbe6; /* สีพื้นหลังเหลืองอ่อน */
  color: #856404; /* สีตัวอักษรน้ำตาลเข้ม */
  border: 2px solid #ffc107; /* สีขอบเหลืองเข้ม */

  padding: 15px 25px;
  border-radius: 50px; /* ขอบมนแบบแคปซูล */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* เงาฟุ้งๆ */
  z-index: 99999; /* ให้อยู่บนสุดเสมอ */

  display: none; /* ซ่อนไว้ก่อน */
  align-items: center;
  font-size: 1.1rem;
  font-weight: bold;
}

#customNotification i {
  margin-right: 10px;
  font-size: 1.3rem;
  color: #ffc107; /* สีไอคอนหัวใจ */
}

/* ปุ่มย้อนกลับ (ปรับปรุงใหม่) */
.btn-back-custom {
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  padding: 10px 25px;
  border-radius: 50px;
  transition: 0.2s;
  display: block;
  text-align: center;
  font-weight: 600;
}

.btn-back-custom:hover {
  background: #680268;
  text-decoration: none;
  color: #fff;
  border-color: #ccc;
}