.rating-dropdown-container {
  padding-top: 20px;
  position: absolute;
  top: 60px;
  display: none;
}

.ratings-dropdown-modal {
  max-width: 340px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  background: white;
  padding: 16px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 20px;
  color: #444;
}

.ratings-header {
  display: flex;
  align-items: baseline;
  margin-bottom: 6px;
}

.rating-stars {
  color: #ff9529;
  margin-right: 8px;
}

.rating-value {
  font-size: 18px;
  font-weight: 600;
  margin-right: 6px;
}

.rating-max {
  font-size: 16px;
  color: #555;
  font-weight: 400;
}

.rating-count {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
}

.rating-bars {
  margin-bottom: 16px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.star-label {
  min-width: 45px;
  text-align: left;
  font-size: 14px;
  color: #444;
}

.progress {
  flex-grow: 1;
  height: 12px;
  margin: 0 10px;
  border-radius: 4px;
  background-color: #f0f0f0;
}

.progress-bar {
  background-color: #ff9529;
  border-radius: 4px;
}

.percentage {
  min-width: 35px;
  text-align: right;
  font-size: 14px;
  color: #444;
}

.reviews-link {
  text-align: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

.reviews-link a {
  color: #0066c0;
  text-decoration: none;
  font-size: 14px;
}

.reviews-link a:hover {
  color: #c45500;
  text-decoration: underline;
}

.half-star {
  position: relative;
}
