.reviewModal--open {
  display: flex !important;
  z-index: 130 !important;
}
#reviewModal[aria-hidden="true"] {
  display: none !important;
}
#reviewModal[aria-hidden="false"] {
  display: flex !important;
}

/* Full-page review overlay */
#reviewOverlay[aria-hidden="false"] {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(5px);
  overflow-y: auto;
}
#reviewOverlay[aria-hidden="true"] {
  display: none !important;
}

body.reviewing-uploads #app > *:not(#reviewOverlay) {
  display: none !important;
}

#reviewOverlay .filterMenu__content {
  width: 100vw;
  max-width: 1600px;
  min-height: 80vh;
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 32px 24px;
}

/* Review Grid - Reuse main grid responsive vars if possible, else defaults */
#reviewGrid {
  display: grid;
  /* Use a slightly larger minimum for review to see details */
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  width: 100%;
}

/* Ensure card matches standard aspect but in review context */
#reviewGrid .card {
  /* inherit .card styles from style.css, ensure overrides for review context */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  aspect-ratio: 1/1; /* Force square for grid uniformity */
  display: block;
  position: relative;
  background: #181818;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

#reviewGrid .card__media {
  width: 100%;
  height: 100%;
  position: relative;
}

#reviewGrid img.review-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover Actions Overlay */
.review-actions {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none; /* Let clicks pass unless on buttons? No, buttons catch events */
}

/* Show actions on hover */
#reviewGrid .card:hover .review-actions {
  opacity: 1;
  pointer-events: auto;
}

/* Approve/Reject Buttons (Icons) */
.review-btn {
  all: unset;
  pointer-events: auto; /* Ensure clickable */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.review-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}
.review-btn:active {
  transform: scale(0.95);
}

.review-btn svg {
  width: 32px;
  height: 32px;
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approve-btn {
  color: #4ade80; /* Green */
  border: 2px solid rgba(74, 222, 128, 0.2);
}
.approve-btn:hover {
  background: rgba(74, 222, 128, 0.15);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.reject-btn {
  color: #f87171; /* Red */
  border: 2px solid rgba(248, 113, 113, 0.2);
}
.reject-btn:hover {
  background: rgba(248, 113, 113, 0.15);
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.3);
}
