/* 환급제도 안내 페이지 전용 CSS */

/* 컨테이너 */
.refund-guidelines-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fff;
    line-height: 1.6;
}

/* 메인 타이틀 */
.main-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.main-title .lead {
    font-size: 1.1rem;
    color: #6c757d;
}

/* 섹션 헤더 */
.section-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* 콘텐츠 박스 */
.content-box {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.content-box.border-danger {
    border-color: #dc3545;
    background-color: #fff5f5;
}

/* 리드 텍스트 */
.lead-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #495057;
}

/* 유의사항 카드 */
.precaution-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card-body {
    padding: 25px;
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-card-text {
    font-size: 1rem;
    color: #495057;
    line-height: 1.7;
}

/* 수료 기준 카드 */
.criteria-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #2c3e50;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 35px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: var(--brand-color);
}

.criteria-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--brand-color);
}
.criteria-icon i {
    font-size: 3rem;
}

.criteria-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.criteria-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--brand-color);
    letter-spacing: -1px;
}

.criteria-desc {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 10px;
    font-weight: 500;
}

/* 제한 사항 */
.restriction-item {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--brand-color);
}

.restriction-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.restriction-desc {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 10px;
}

/* 평가 항목 */
.eval-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.eval-item:hover {
    background-color: #e9ecef;
}

.eval-item i {
    font-size: 1.25rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.eval-item span {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.4;
}

/* 평가 테이블 */
.evaluation-table {
    margin-bottom: 0;
}

.evaluation-table th {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    font-weight: 600;
    color: #495057;
    text-align: center;
    padding: 15px 10px;
}

.evaluation-table td {
    padding: 15px 10px;
    vertical-align: middle;
    border-color: #dee2e6;
}

.evaluation-table td:first-child {
    text-align: center;
    background-color: #f8f9fa;
    font-weight: 500;
}

/* 프로세스 플로우 */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.process-step {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.process-step.final .step-number {
    background-color: #dc3545;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--brand-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-content h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

.process-arrow {
    color: #6c757d;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 연락처 카드 */
.contact-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--brand-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-color) 0%, #003a73 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.2s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-info {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--brand-color);
    margin-bottom: 5px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .refund-guidelines-container {
        padding: 20px 15px;
    }
    
    .main-title h1 {
        font-size: 1.8rem;
    }
    
    .content-box {
        padding: 20px;
    }
    
    .criteria-card {
        padding: 25px 15px;
    }
    
    .criteria-value {
        font-size: 1.5rem;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .process-step {
        min-width: auto;
    }
    
    .contact-card {
        padding: 25px 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.25rem;
    }
}

/* 색상 유틸리티 */
.text-primary { color: var(--brand-color) !important; }
.text-success { color: #28a745 !important; }
.text-info { color: #17a2b8 !important; }
.text-warning { color: #ffc107 !important; }
.text-danger { color: #dc3545 !important; }

/* Bootstrap 보완 */
.me-2 { margin-right: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }

.h-100 { height: 100% !important; }
.text-center { text-align: center !important; }
.text-muted { color: #6c757d !important; }

.border-start { border-left: 1px solid #dee2e6 !important; }
.border-primary { border-color: var(--brand-color) !important; }
.border-success { border-color: #28a745 !important; }
.border-danger { border-color: #dc3545 !important; }
.border-4 { border-width: 4px !important; }

.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }

/* 알림 박스 Bootstrap 스타일 */
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #b6d4dc;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* 반응형 그리드 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6, .col-lg-4, .col-lg-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
}

/* 테이블 반응형 */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

.table-light {
    background-color: #f8f9fa;
}

/* 리스트 스타일 */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* 타이틀 볼드 및 폰트 크기 */
.fw-bold {
    font-weight: 700 !important;
}

/* 콘텐츠 박스 내부 h5, h6 타이틀 스타일 */
.content-box h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.content-box h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

/* 일반 텍스트와 리스트 항목 */
.content-box p,
.content-box li,
.content-box span {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}

/* 리스트 내 강조 텍스트 높낮이 통일 */
.content-box li b,
.content-box li strong,
.list-unstyled li b,
.list-unstyled li strong {
    font-weight: 700;
    font-size: inherit;
    line-height: inherit;
    vertical-align: baseline;
}

/* 유의사항 카드 타이틀 */
.info-card-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* 평가 항목 텍스트 */
.eval-item span {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.5;
}

/* 제한 사항 타이틀 */
.restriction-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #2c3e50;
    margin-bottom: 10px;
}

.restriction-desc {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 10px;
}

/* 프로세스 플로우 텍스트 */
.step-content h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

/* small 태그 및 기타 텍스트 */
.criteria-card small,
.content-box small {
    font-size: 0.9rem;
    color: #6c757d;
}

/* alert 내부 텍스트 */
.alert strong {
    font-weight: 700;
    font-size: inherit;
    line-height: inherit;
    vertical-align: baseline;
    display: inline;
}

.alert p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.7;
}

/* 베낀답안 처리기준 섹션 - 다른 섹션과 통일된 스타일 */
.plagiarism-box {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.plagiarism-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.plagiarism-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.plagiarism-card:hover {
    border-color: var(--brand-color);
}

.plagiarism-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.plagiarism-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.plagiarism-list li {
    padding: 8px 0;
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.plagiarism-list li::before {
    content: "•";
    color: var(--brand-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.plagiarism-result {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--brand-color);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
    font-size: 1.05rem;
    color: #2c3e50;
    font-weight: 600;
}

.plagiarism-result strong {
    font-weight: 700;
    color: var(--brand-color);
}

.plagiarism-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 30px 0 20px 0;
}

.plagiarism-process {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.process-item {
    flex: 1;
    min-width: 140px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.process-item:hover {
    border-color: var(--brand-color);
    transform: translateY(-2px);
}

.process-badge {
    display: inline-block;
    background: var(--brand-color);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.process-item p {
    font-size: 0.9rem;
    color: #495057;
    margin: 0;
    line-height: 1.5;
}

/* 반응형: 베낀답안 섹션 */
@media (max-width: 768px) {
    .plagiarism-box {
        padding: 20px;
    }

    .plagiarism-title {
        font-size: 1.1rem;
    }

    .plagiarism-process {
        flex-direction: column;
    }

    .process-item {
        min-width: 100%;
    }
}

/* 문의 및 지원 섹션 (훈련진행절차와 동일한 스타일) */
.info-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #fff;
}

.info-title {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    color: var(--brand-color);
    margin: 0;
}

.info-title i {
    margin-right: 0.75rem;
}

.info-body {
    padding: 1.5rem;
}

.info-body .info-description {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #374151;
}

.contact-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.contact-list strong {
    margin-right: 3px;
}

.contact-list li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #374151;
}

.contact-list li i {
    margin-right: 0.75rem;
    color: var(--brand-color);
}

/* 반응형: 문의 및 지원 */
@media (max-width: 768px) {
    .info-title {
        font-size: 1.1rem;
        padding: 1rem 1.25rem;
    }

    .info-body {
        padding: 1.25rem;
    }

    .contact-list li {
        font-size: 0.95rem;
    }

    .criteria-icon {
        font-size: 3rem;
    }
}