/* ── Widget ─────────────────────────────────────────────────────────────── */

.dks-rating {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}

.dks-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dks-rating-stars {
  display: flex;
  gap: 3px;
}

.dks-star {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  color: #d1d5db;
  transition: color 0.12s, transform 0.12s;
}

.dks-star.filled {
  color: #f59e0b;
}

.dks-star.hover {
  color: #f59e0b;
  transform: scale(1.18);
}

.dks-star:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
  border-radius: 2px;
}

.dks-rating[data-submitted] .dks-star {
  cursor: default;
  pointer-events: none;
}

.dks-rating-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.dks-rating-avg {
  font-size: 18px;
  font-weight: 700;
  color: inherit;
}

.dks-rating-count {
  font-size: 12px;
  opacity: 0.55;
  min-height: 1em;
}

/* ── Bildirim (yıldızların üstünde) ──────────────────────────────────────── */

.dks-notice {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 99px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  font-size: 13px;
  font-weight: 500;
  color: #166534;
  white-space: nowrap;
  animation: dks-notice-in 0.22s ease forwards;
}

.dks-notice--out {
  animation: dks-notice-out 0.22s ease forwards;
}

.dks-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

@keyframes dks-notice-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dks-notice-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-6px); }
}
