/*
 * 파일명: reviews.css
 * 위치: /assets/css/reviews.css
 * 기능: 고객 후기 페이지 전용 스타일시트
 * 작성일: 2025-06-27
 */

/* ===================================
 후기 리스트 스타일
 =================================== */

.list-group-item {
    transition: all 0.3s ease;
    border-left: 4px solid transparent !important;
    border-top: none !important;
    border-bottom: none !important;
    border-right: none !important;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    border-left-color: var(--bs-primary) !important;
    transform: translateX(5px);
}

.title-text {
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 12px !important;
}

.title-text a {
    transition: color 0.2s ease;
    display: block;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.title-text a:hover {
    color: var(--bs-primary) !important;
}

/* ===================================
 플랫폼 배지 스타일
 =================================== */

.platform-badge {
    font-size: 0.75rem;
    color: #FFFFFF;
	padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    display: inline-block;
}

/* ===================================
 버튼 스타일
 =================================== */

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary.btn-sm {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    min-height: 32px;
}

/* ===================================
 빈 상태 스타일
 =================================== */

.empty-state {
    padding: 80px 20px;
    text-align: center;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.empty-state h4 {
    color: #333;
    margin-bottom: 15px;
}

/* ===================================
 페이징 스타일
 =================================== */

.pagination {
    justify-content: center;
    margin-top: 40px;
}

.page-link {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
    padding: 0.5rem 0.75rem;
}

.page-link:hover {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.page-item.active .page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* ===================================
 모바일 반응형
 =================================== */

@media (max-width: 768px) {
    .list-group-item {
        padding: 20px 15px !important;
    }
    
    .list-group-item:hover {
        transform: translateX(2px);
    }
    
    .title-text {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
    }
    
    .platform-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .btn-outline-primary.btn-sm {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        min-height: 28px;
    }
}

@media (max-width: 576px) {
    .list-group-item {
        padding: 15px 10px !important;
    }
    
    .title-text {
        font-size: 1rem !important;
    }
    
    .platform-badge {
        font-size: 0.65rem;
        padding: 2px 5px;
    }
}

/* ===================================
 애니메이션
 =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
 접근성 및 성능
 =================================== */

@media (prefers-reduced-motion: reduce) {
    .list-group-item {
        transition: none;
    }
    
    @keyframes fadeInUp {
        from, to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.list-group-item:focus-within {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media print {
    .btn, .pagination {
        display: none !important;
    }
    
    .list-group-item {
        break-inside: avoid;
    }
}