.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.overlayIn { animation: overlayFadeIn 0.22s ease forwards; }
.overlayOut { animation: overlayFadeOut 0.22s ease forwards; }

.modal {
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(31, 38, 135, 0.15);
}

.modalIn { animation: modalFadeIn 0.25s ease forwards; }
.modalOut { animation: modalFadeOut 0.22s ease forwards; }

.header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 24px 0;
  flex-shrink: 0;
}

.title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.closeBtn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}

.closeBtn:hover {
  background: rgba(var(--primary-rgb) / 0.1);
  color: var(--primary);
}

.body {
  padding: 16px 24px 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.emptyText {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  padding: 32px 12px;
}

.errorText {
  font-size: 13px;
  color: #dc2626;
  margin-bottom: 12px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-sm);
}

.commentApproved {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.04);
}

.commentHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.commentMeta {
  min-width: 0;
}

.author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.dateTime {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.likes {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 4px 10px;
  background: rgba(148, 163, 184, 0.12);
  border-radius: 50px;
}

.text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.commentActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.approveBtn,
.rejectBtn,
.removeBtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.approveBtn {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.1);
}

.approveBtn:hover {
  background: rgba(34, 197, 94, 0.18);
}

.rejectBtn {
  color: #d97706;
  background: rgba(245, 158, 11, 0.1);
}

.rejectBtn:hover {
  background: rgba(245, 158, 11, 0.18);
}

.removeBtn {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.removeBtn:hover {
  background: rgba(239, 68, 68, 0.15);
}

.paginationWrap {
  margin-top: 16px;
  padding-top: 8px;
}

.paginationWrap nav {
  margin-top: 0;
  padding-top: 0;
}

@keyframes overlayFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes overlayFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modalFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(8px) scale(0.98); }
}
