/* Star Rating Table Styles */
.srt-wrapper {
  --srt-star-filled: #f4f01e;
  --srt-star-empty: #d9d9d9;
  overflow-x: auto;
}

.srt-table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
  font-size: 16px;
}

.srt-table thead th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid #e5e7eb;
  background: #fafafa;
  position: sticky;
  top: 0;
  z-index: 1;
}

.srt-table tbody th,
.srt-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.srt-label {
  font-weight: 600;
}

.srt-stars {
  white-space: nowrap;
  font-size: 18px;
  letter-spacing: 2px;
}

.srt-star {
  display: inline-block;
  line-height: 1;
  margin-right: 2px;
}

.srt-star--filled { color: var(--srt-star-filled); }
.srt-star--empty  { color: var(--srt-star-empty); }

/* Editor helpers */
.srt-editor .srt-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #e5e7eb;
}
.srt-editor .srt-stars-picker span {
  cursor: pointer;
  font-size: 20px;
  margin-right: 2px;
}
.srt-editor .srt-row-actions button {
  margin-left: 6px;
}

/* Accessibility helper */
.screen-reader-text {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
