/* SEO 체크리스트 페이지 전용 스타일 */

/* 체크리스트 섹션 */
.checklist-section {
    padding: 80px 0;
}

.checklist-header {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.checklist-category {
    margin-bottom: 30px;
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.checklist-category:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.checklist-category h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.checklist-item {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checklist-item:last-child {
    margin-bottom: 0;
}

.checklist-item i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary);
}

/* 커스텀 체크박스 스타일 */
.form-check {
    padding-left: 0;
    margin-bottom: 15px;
}

.form-check-input {
    display: none; /* 기본 체크박스 숨기기 */
}

.form-check-label {
    padding-left: 35px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    transition: all 0.2s ease;
}

.form-check-label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border: 2px solid #e0e0e0;
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.form-check-input:checked + .form-check-label:before {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:checked + .form-check-label:after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 0;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.form-check-label:hover:before {
    border-color: var(--primary);
    transform: scale(1.05);
}

.checklist-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(252, 185, 19, 0.2);
}

.checklist-btn:hover {
    background-color: #e5a810;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(252, 185, 19, 0.4);
}

.action-btn {
    margin-top: 40px;
}

.progress {
    height: 12px;
    border-radius: 10px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    background-color: #f0f0f0;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary);
    transition: width 0.5s ease;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(252, 185, 19, 0.5);
}

.completed-section {
    display: none;
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

.category-title {
    background-color: #f8f9fa;
    padding: 12px 18px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
    border-left: 4px solid var(--primary);
}

.result-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.result-section.show {
    opacity: 1;
    transform: translateY(0);
}

.result-recommendations {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-top: 25px;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.recommendation-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recommendation-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
}

.completion-status {
    text-align: center;
    margin: 20px 0 30px;
}

.completion-status .status-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
}

.completion-status.good {
    color: #28a745;
}

.completion-status.average {
    color: #ffc107;
}

.completion-status.poor {
    color: #dc3545;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .checklist-header {
        padding: 30px 0;
    }

    .checklist-category {
        padding: 20px;
    }

    .checklist-btn {
        width: 100%;
    }

    .result-section {
        padding: 25px;
    }
}