/* 리비전 상태 표시 컴포넌트 스타일 */

.revision-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.revision-status-indicator:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 크기별 스타일 */
.revision-status-small {
    font-size: 11px;
    padding: 2px 6px;
    gap: 2px;
}

.revision-status-small .status-icon {
    font-size: 10px;
}

.revision-status-medium {
    font-size: 12px;
    padding: 4px 8px;
    gap: 4px;
}

.revision-status-medium .status-icon {
    font-size: 12px;
}

.revision-status-large {
    font-size: 14px;
    padding: 6px 12px;
    gap: 6px;
}

.revision-status-large .status-icon {
    font-size: 14px;
}

/* 우선순위 배지 */
.revision-priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.priority-icon {
    font-size: 10px;
}

/* 진행률 바 */
.revision-progress-bar {
    width: 100%;
}

.progress-label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

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

.progress-track {
    flex: 1;
    height: 8px;
    background-color: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}

.progress-count {
    font-weight: 500;
}

.progress-percentage {
    font-weight: 600;
}

/* 카테고리 요약 */
.revision-category-summary {
    background: white;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e5e7eb;
}

.summary-header {
    margin-bottom: 16px;
}

.summary-header h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

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

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.category-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 120px;
}

.category-name {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.category-count {
    font-size: 11px;
    color: #6b7280;
}

.category-progress {
    flex: 1;
    height: 4px;
    background-color: #f3f4f6;
    border-radius: 2px;
    overflow: hidden;
}

.category-progress-bar {
    height: 100%;
    background-color: #3b82f6;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* 변경사항 요약 카드 */
.revision-change-summary {
    background: white;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e5e7eb;
}

.summary-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.summary-title h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.total-count {
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
}

.change-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
}

.change-item {
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.change-item:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.change-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.change-icon {
    font-size: 12px;
}

.change-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.change-count {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.change-percentage {
    font-size: 10px;
    color: #9ca3af;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .revision-status-indicator {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .progress-info {
        flex-direction: column;
        gap: 2px;
    }
    
    .category-item {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    
    .category-info {
        min-width: auto;
    }
    
    .change-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-title {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
}

/* 애니메이션 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.revision-status-indicator.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

.progress-fill {
    background: linear-gradient(90deg, 
        currentColor 0%, 
        currentColor 50%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0.3) 100%);
    background-size: 20px 100%;
    animation: progress-shine 2s linear infinite;
}

@keyframes progress-shine {
    0% {
        background-position: -20px 0;
    }
    100% {
        background-position: 100% 0;
    }
}
