/* [Client] /skin/board/WL_PromoCity_v2/style.verification.css
 * Version: v5.0.0 - 검증게시판 전용 스타일
 * Date: 2025-01-08
 * Author: Web-lease_Integrated_Solution
 */

/* ========================================
   검증 대시보드
   ======================================== */
.verification-dashboard {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.dashboard-item {
  padding: 1rem;
  transition: transform 0.2s ease;
}

.dashboard-item:hover {
  transform: translateY(-2px);
}

.dashboard-icon {
  margin-bottom: 0.5rem;
}

.dashboard-label {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
}

.dashboard-value {
  font-size: 1.75rem;
  font-weight: bold;
  color: #212529;
}

/* ========================================
   검증 카드
   ======================================== */
.verification-card {
  border: 1px solid #dee2e6;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  height: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.verification-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.verification-card.current {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* 상태별 좌측 보더 */
.verification-card.status-safe {
  border-left: 4px solid #28a745;
}

.verification-card.status-warning {
  border-left: 4px solid #ffc107;
}

.verification-card.status-danger {
  border-left: 4px solid #dc3545;
}

.verification-card.status-progress {
  border-left: 4px solid #007bff;
}

.verification-card.status-pending {
  border-left: 4px solid #6c757d;
}

/* 카드 헤더 */
.verification-header {
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  color: white;
}

.new-badge {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: bold;
}

.verification-category {
  background: #6c757d;
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6875rem;
}

.domain-info {
  font-size: 0.75rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* 이미지 영역 */
.verification-image-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f8f9fa;
}

.verification-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.verification-image:hover {
  transform: scale(1.05);
}

.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lock-content {
  text-align: center;
  color: white;
}

.lock-content i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* 정보 영역 */
.verification-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px);
}

.verification-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.verification-title a {
  color: #212529;
  text-decoration: none;
}

.verification-title a:hover {
  color: #007bff;
}

.lock-badge {
  background: #dc3545;
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  margin-left: 0.5rem;
}

/* 통계 */
.verification-stats {
  margin-bottom: 0.75rem;
}

.score-display {
  margin-bottom: 0.5rem;
}

.verification-rating {
  font-size: 0.875rem;
}

.rating-score {
  color: #6c757d;
  font-size: 0.75rem;
}

.engagement-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: #6c757d;
}

.engagement-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* 이슈 및 금액 */
.main-issue {
  font-size: 0.875rem;
  padding: 0.5rem;
  background: #fff3cd;
  border-left: 3px solid #ffc107;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.issue-label {
  font-weight: bold;
  color: #856404;
}

.issue-text {
  color: #856404;
}

.report-amount {
  font-size: 0.875rem;
  padding: 0.5rem;
  background: #f8d7da;
  border-left: 3px solid #dc3545;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.report-amount i {
  color: #721c24;
  margin-right: 0.25rem;
}

.report-amount strong {
  color: #721c24;
}

/* 액션 버튼 */
.verification-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-action {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.btn-detail {
  background: #007bff;
  color: white;
}

.btn-detail:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
}

.btn-vote {
  background: #28a745;
  color: white;
}

.btn-vote:hover {
  background: #1e7e34;
}

.checkbox-wrap {
  margin-top: 0.5rem;
  text-align: center;
}

/* ========================================
   상세보기 (view)
   ======================================== */
.verification-summary-section {
  margin-bottom: 2rem;
}

.verification-summary-card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.summary-header {
  border-bottom: 1px solid #dee2e6;
}

.status-badge-large {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: bold;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* 타임라인 */
.timeline-wrapper {
  padding: 1rem 0;
}

.timeline-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0 2rem;
}

.timeline-progress::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #dee2e6;
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  background: white;
  border: 3px solid #dee2e6;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #6c757d;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
}

.timeline-step.active .step-circle {
  border-color: #007bff;
  background: #007bff;
  color: white;
  transform: scale(1.1);
}

.timeline-step.active .step-label {
  color: #007bff;
  font-weight: bold;
}

/* 요약 그리드 */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.summary-item:hover {
  transform: translateY(-2px);
}

.item-icon {
  flex-shrink: 0;
}

.item-content {
  flex: 1;
}

.item-label {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.item-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #212529;
}

/* 증거 자료 */
.evidence-section h5 {
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 0.5rem;
}

/* 투표 섹션 */
.verification-vote-section {
  border: 2px dashed #dee2e6;
}

/* 유저 참여 섹션 */
.user-participation {
  border-radius: 8px;
}

/* 빈 상태 */
.empty-state {
  padding: 3rem 1rem;
}

/* ========================================
   모바일 최적화
   ======================================== */
@media (max-width: 768px) {
  .verification-card {
    margin-bottom: 1rem;
  }

  .verification-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .verification-actions {
    flex-direction: column;
  }

  .summary-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .summary-item {
    padding: 0.75rem;
  }

  .timeline-progress {
    margin: 0 1rem;
  }

  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }

  .step-label {
    font-size: 0.75rem;
  }

  .user-participation .row {
    flex-direction: column;
  }

  .user-participation .col-md-4 {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .dashboard-item {
    padding: 0.75rem 0.5rem;
  }

  .dashboard-value {
    font-size: 1.5rem;
  }

  .verification-title {
    font-size: 0.9375rem;
  }

  .engagement-stats {
    gap: 0.75rem;
    font-size: 0.6875rem;
  }

  .item-value {
    font-size: 1rem;
  }
}
