/* 체크리스트 섹션 스타일 */
.checklist-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* 체크리스트 헤더 스타일 */
.checklist-header {
    text-align: center;
    margin-bottom: 40px;
}

.checklist-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.checklist-header .subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* 진행률 표시 영역 스타일 */
.progress-wrapper {
    margin-bottom: 30px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-text {
    font-size: 1rem;
    color: #666;
}

.progress-percentage {
    font-weight: 700;
    color: #0d6efd;
}

.progress {
    height: 10px;
    border-radius: 5px;
}

/* 체크리스트 컨트롤 버튼 영역 스타일 */
.checklist-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.checklist-controls .btn {
    padding: 8px 20px;
}

.checklist-controls .btn i {
    margin-right: 5px;
}

/* 카테고리 영역 스타일 */
.category-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-header {
    margin-bottom: 20px;
}

.category-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.category-description {
    color: #666;
    font-size: 1rem;
}

/* 체크리스트 항목 스타일 */
.checklist-item {
    margin-bottom: 15px;
}

/* 커스텀 체크박스 스타일 */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: #0d6efd;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 항목 내용 스타일 */
.item-content {
    display: flex;
    flex-direction: column;
}

.item-text {
    color: #333;
    margin-bottom: 5px;
}

.item-description {
    font-size: 0.9rem;
    color: #666;
}

/* 모달 스타일 */
.modal-content {
    border-radius: 10px;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 20px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 20px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .checklist-section {
        padding: 40px 0;
    }

    .checklist-header h1 {
        font-size: 2rem;
    }

    .category-wrapper {
        padding: 20px;
    }

    .checklist-controls {
        flex-direction: column;
    }

    .checklist-controls .btn {
        width: 100%;
    }
}

/* 인쇄 스타일 */
@media print {
    /* 페이지 설정 */
    @page {
        size: A4 portrait;
        margin: 1.5cm;
    }

    /* 전체 페이지 설정 */
    body {
        margin: 0;
        padding: 0;
        background: none;
        font-size: 11pt;
        width: 100%;
        max-width: 100%;
    }

    /* 불필요한 요소 숨기기 */
    .header,
    .footer,
    .checklist-controls,
    .btn,
    .modal,
    .progress-wrapper {
        display: none !important;
    }

    /* 컨테이너 최대 너비 설정 */
    .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 체크리스트 섹션 스타일 */
    .package-list {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: none !important;
        min-height: auto !important;
    }

    /* 섹션 헤더 */
    .section-header {
        margin-bottom: 2cm !important;
    }

    .section-header h1 {
        font-size: 18pt !important;
    }

    .section-header p {
        font-size: 11pt !important;
    }

    /* 카테고리 스타일 */
    .category-wrapper {
        break-inside: avoid;
        page-break-inside: avoid;
        margin: 1cm 0 !important;
        padding: 0.5cm !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        background: none !important;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .card-header {
        padding: 0 0 0.5cm 0 !important;
    }

    .card-header h2 {
        font-size: 14pt !important;
    }

    .card-body {
        padding: 0 !important;
    }

    /* 체크리스트 항목 스타일 */
    .checklist-item {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 0.3cm !important;
        width: 100% !important;
    }

    /* 체크박스 스타일 */
    .custom-checkbox {
        padding-left: 25px !important;
        margin-bottom: 0.2cm !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .checkmark {
        border: 1.5px solid #000 !important;
        background: none !important;
        width: 16px !important;
        height: 16px !important;
    }

    .custom-checkbox input:checked ~ .checkmark {
        background-color: #fff !important;
    }

    .custom-checkbox input:checked ~ .checkmark:after {
        border-color: #000 !important;
    }

    /* 텍스트 스타일 */
    .item-text {
        font-size: 11pt !important;
        color: #000 !important;
        width: 100% !important;
    }

    .item-description {
        font-size: 10pt !important;
        color: #333 !important;
    }

    /* 링크 URL 표시 */
    a[href]:after {
        content: none !important;
    }

    /* 페이지 나누기 방지 */
    .checklist-items {
        width: 100% !important;
    }
} 