/* Reviewer Page Styles - Sleek Modern Design */

.reviewer-container {
  min-height: 100vh;
  background: #fafafa;
  padding-top: 80px;
}

.reviewer-hero {
  text-align: center;
  color: var(--text-primary);
  padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-xl);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.reviewer-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.reviewer-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 560px;
  line-height: 1.6;
  font-weight: 400;
}

/* Progress Indicator - Minimal and Sleek */
.progress-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: var(--spacing-xl) 0;
  padding: 0 var(--spacing-lg);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 100px;
}

.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  right: -50px;
  width: 100px;
  height: 1px;
  background: var(--border-light);
  z-index: 1;
}

.progress-step.active:not(:last-child)::after,
.progress-step.completed:not(:last-child)::after {
  background: var(--text-primary);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: var(--spacing-xs);
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
  border: 2px solid var(--border-light);
}

.progress-step.active .step-number {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}

.progress-step.completed .step-number {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}

.step-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.progress-step.active .step-label {
  color: var(--text-primary);
  font-weight: 600;
}

.progress-step.completed .step-label {
  color: var(--text-secondary);
}

/* Step Content */
.step-content {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.step-content.active {
  display: block;
}

.step-content h2 {
  color: var(--text-primary);
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.01em;
}

.step-content p {
  color: var(--text-secondary);
  text-align: center;
  font-size: 16px;
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
}

/* Upload Section - Ultra Sleek */
.upload-section {
  max-width: 600px;
  margin: 0 auto;
}

.upload-intro {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  transition: opacity 0.3s ease, height 0.3s ease;
}

.upload-intro.hidden {
  display: none !important;
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.upload-intro h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.01em;
}

.upload-intro p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.upload-area {
  background: white;
  border: 2px dashed #e5e7eb;
  border-radius: 20px;
  padding: 64px 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.upload-area:hover {
  background: #fafafa;
  border-color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.upload-area.drag-over {
  background: #f0f9ff;
  border-color: #0ea5e9;
  border-style: solid;
  transform: scale(1.02);
}

.upload-area.disabled {
  opacity: 0.7;
  cursor: pointer;
  background: #fafafa;
}

.upload-area.disabled:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
}

.upload-area.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.upload-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-lg);
  color: var(--text-primary);
  opacity: 0.5;
}

.upload-icon svg {
  width: 100%;
  height: 100%;
}

.upload-text {
  font-size: 19px;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  line-height: 1.4;
}

.upload-formats {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Progress - Clean and Minimal */
.upload-progress,
.review-progress {
  background: white;
  border-radius: 20px;
  padding: var(--spacing-2xl);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  max-width: 600px;
  margin: 0 auto;
}

.upload-progress.hidden,
.review-progress.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.upload-result {
  background: white;
  border-radius: 20px;
  padding: var(--spacing-2xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  max-width: 600px;
  margin: 0 auto;
}

.review-result {
  background: white;
  border-radius: 20px;
  padding: var(--spacing-2xl) var(--spacing-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  max-width: 1100px;
  margin: 0 auto;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--text-primary) 0%, #4b5563 100%);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 3px;
}

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

/* Circular Progress Display */
.progress-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
}

.progress-circle-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-circle {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.progress-circle-bg {
  fill: none;
  stroke: #f3f4f6;
  stroke-width: 8;
}

.progress-circle-fill {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.progress-text {
  text-align: left;
  max-width: 300px;
}

.progress-text strong {
  display: block;
  font-size: 19px;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  font-weight: 700;
}

.progress-stage {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: var(--spacing-xs);
}

/* Result Icons */
.result-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--spacing-lg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0fdf4;
}

.result-icon.success {
  background: #f0fdf4;
  color: #059669;
}

.result-icon svg {
  width: 40px;
  height: 40px;
}

.result-text strong {
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 600;
}

/* Review Header */
.review-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid #e5e7eb;
}

.review-header h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.02em;
}

.review-header p {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Review Comments - Beautiful Cards */
.review-comments-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--spacing-md);
}

.review-comment-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: var(--spacing-2xl);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-comment-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: #d1d5db;
}

.review-comment-header {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.review-comment-number {
  background: var(--text-primary);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.review-comment-title {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  flex: 1;
  letter-spacing: -0.01em;
}

.review-comment-quote {
  background: #f8f9fa;
  border-left: 4px solid var(--text-primary);
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  border-radius: 10px;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.review-comment-message {
  color: var(--text-primary);
  line-height: 1.8;
  white-space: pre-wrap;
  font-size: 16px;
}

/* Actions */
.review-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-2xl);
  border-top: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 1024px) {
  .step-content {
    max-width: 100%;
    padding: var(--spacing-lg);
  }
  
  .review-result {
    max-width: 100%;
    padding: var(--spacing-xl) var(--spacing-lg);
  }
  
  .review-comments-list {
    max-width: 100%;
    padding: 0;
  }
  
  .review-comment-item {
    padding: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  .reviewer-title {
    font-size: 32px;
  }
  
  .reviewer-subtitle {
    font-size: 16px;
  }
  
  .progress-container {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .progress-step:not(:last-child)::after {
    display: none;
  }
  
  .step-content {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .upload-area {
    padding: 48px 24px;
  }
  
  .progress-display {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .progress-text {
    text-align: center;
  }
  
  .review-comment-header {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .review-comment-item {
    padding: var(--spacing-lg);
  }
  
  .review-comment-title {
    font-size: 18px;
  }
  
  .review-comment-message,
  .review-comment-quote {
    font-size: 15px;
  }
  
  .upload-section {
    max-width: 100%;
  }
  
  .review-header h3 {
    font-size: 28px;
  }
  
  .review-header p {
    font-size: 16px;
  }
}

/* Hidden utility */
.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
