/* 통계 섹션 구분선 */
.stats-divider {
    height: 1px;
    background-color: #676767;
    margin: 30px 0;
    width: 100%;
}

/* 설문 섹션 구분선 */
.survey-item-divider {
    height: 1px;
    background-color: #E0E5EB;
    margin: 16px 0;
    width: 100%;
}


/* MARK: 통계 정보 섹션 */
.spec-info-section {
    background: #fff;
    border-radius: 8px;
}

.spec-info-header h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.spec-info-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.spec-info-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

/* MARK: 합격 정보 섹션 */
.pass-info-section {
    background: #fff;
    border-radius: 8px;
}

.pass-info-header h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pass-info-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.pass-info-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 40px;
    padding: 13px 16px 13px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    background: #f8f9fa;
    border-color: #666;
}

.new-badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -13px;
    right: -27px;
    width: 36px;
    height: 17px;
    padding: 3px 5px 3px 5px;
    background: #F14040;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 11px;
    border-radius: 2px;
    z-index: 1;

/* 말풍선 모양을 위한 추가 스타일 */
&::after {
     content: '';
     position: absolute;
     bottom: -2px;
     left: 25%;
     border-left: 4px solid transparent;
     border-right: 4px solid transparent;
     border-top: 4px solid #F14040;
     width: 0;
     height: 0;
     transform: rotate(135deg);
 }
}

.spec-item {
    margin-top: 20px;
}

.spec-label {
    font-size: 14px;
    color: #414141;
}

/* MARK: 각 섹션별 타이틀 */
.pass-info-content-title {
    margin-top: 50px;
    margin-bottom: 20px;
}

/* MARK: 성별 통계 차트 섹션 */
/* 스펙 차트 영역 */
.spec-charts {
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    gap: 40px;
}

/* 차트 섹션 제목 */
.chart-section-title {
    font-size: 16px;
    font-weight: 500;
    color: #414141;
    padding: 20px;
    border-bottom: 1px solid #E0E5EB;
}

/* 차트 컨테이너 공통 스타일 */
.chart-container {
    width: 100%;
    border: 1px solid #E0E5EB;
    border-radius: 8px;
    background: #fff;
}

/* 성별/연령 차트 레이아웃 */
.chart-content {
    padding: 20px;
    display: flex;
    width: 100%;
    gap: 40px;
}

/* 성별 분포 차트 */
.gender-chart-container {
    width: 35%;
}

#genderChart {
    max-width: 250px;
    margin: 0 auto;
}

/* 연령 차트 컨테이너 */
.age-charts-container {
    width: 65%;
    display: flex;
    gap: 20px;
}

.age-chart-wrapper {
    flex: 1;
    width: 50%;
}

.age-chart-wrapper h4 {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: normal;
}

.gender-chart-container {
    flex: 0 0 300px;
    height: 300px;
}

.age-charts-container {
    flex: 1;
    display: flex;
    gap: 40px;
}

.age-chart-wrapper {
    flex: 1;
}

.age-chart-wrapper h4 {
    font-size: 15px;
    color: #414141;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}

.age-chart-wrapper canvas {
    width: 100% !important;
    height: 262px !important;
}

/* MARK: 학교/전공 통계 섹션 */
.university-major {
    margin-top: 20px;
}

.stats-container {
    display: flex;
    gap: 20px;
}

.stats-box {
    flex: 1;
    background: #fff;
    border: 1px solid #E0E5EB;
    border-radius: 8px;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #E0E5EB;
}

.stats-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: #414141;
}

.more-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.more-link:hover {
    text-decoration: underline;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stats-list li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
}

.stats-list .rank {
    width: 40px;
    color: #666;
    font-size: 14px;
}

.stats-list .name {
    flex: 1;
    color: #414141;
    font-size: 14px;
}

.stats-list .name.highlight {
    color: #4F78FF;
}

.stats-list .percentage {
    color: #414141;
    font-size: 14px;
}

/* MARK: 학점 차트 섹션 */
.grade-charts {
    margin-top: 20px;
}

.grade-chart-content {
    padding: 20px;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
}

/* 평균 점수 영역 */
.grade-average {
    width: 120px;
    text-align: center;
    padding-right: 20px;
}

.grade-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.grade-label {
    color: #666;
    font-size: 14px;
}

.grade-value {
    color: #4F78FF;
    font-size: 24px;
    font-weight: 500;
}

/* 차트 영역 */
.chart-wrapper {
    flex: 1;
    position: relative;
}

.stats-header span {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin-left: 4px;
}

/* 차트 캔버스 크기 조정 */
.chart-wrapper canvas {
    width: 100% !important;
    height: 280px !important;
}

/* MARK: 최종학력 & 공백기 차트 섹션 */
.final-grade {
    margin-top: 20px;
}
/* 공백기 설명 텍스트 */
.stats-header span {
    font-size: 10px;
    word-spacing: -1px;
    color: #999;
    font-weight: normal;
    margin-left: 8px;
}

/* 차트 컨테이너 높이 조정 */
.final-grade .grade-chart-content {
    height: 280px;
}

/* 공백기 차트 특수 스타일 */
#gapChart {
    padding-top: 20px;
}

/* 최종학력 차트 특수 스타일 */
#educationChart {
    padding-right: 20px;
}

/* 합격자 정보 섹션 스타일 */
.pass-info-content h3 {
    font-size: 18px;
    font-weight: 500;
    color: #414141;
}

/* MARK: 토익 차트 섹션 */
.language-toeic {
    margin-top: 20px;
}

/* 토익 평균 점수 영역 */
.toeic-average {
    width: 138px;
    padding-right: 20px;
}

.toeic-average .grade-value {
    color: #21B0C9;
    font-size: 24px;
    font-weight: 500;
    margin: 8px 0;
}

.toeic-range {
    margin-top: 12px;
}

.range-item {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}

/* 토익 차트 컨테이너 */
.language-toeic .grade-chart-content {
    height: 280px;
    display: flex;
    align-items: center;
}

.language-toeic .chart-wrapper {
    flex: 1;
    height: 100%;
}

.language-toeic canvas {
    width: 100% !important;
    height: 220px !important;
}

/* MARK: 토스/오픽 차트 섹션 */
.language-tos-opic {
    margin-top: 20px;
}

.language-tos-opic .grade-chart-content {
    height: 280px;
    padding: 20px;
}

.language-tos-opic canvas {
    width: 100% !important;
    height: 220px !important;
}

/* 차트 막대 색상 */
.language-tos-opic .stats-box {
    background: #fff;
}

/* 차트 레이블 스타일 */
.language-tos-opic .stats-header h3 {
    font-size: 16px;
    font-weight: 500;
}

/* MARK: 자격증 목록 섹션 */
.certificate-list {
    margin-top: 20px;
    width: 49%;
}

.certificate-list .stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certificate-list .stats-list li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f3f5;
}

.certificate-list .stats-list li:last-child {
    border-bottom: none;
}

.certificate-list .rank {
    width: 40px;
    color: #666;
    font-size: 14px;
}

.certificate-list .name {
    flex: 1;
    color: #414141;
    font-size: 14px;
}

.certificate-list .percentage {
    color: #414141;
    font-size: 14px;
    margin-left: 20px;
}

.more-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

/* 모달창 내부의 certificate-list에만 적용되는 스타일 */
.stats-list-container .certificate-list {
    width: 100%;
}

/* 공모전/대외활동 및 수상내역 모달 스타일 */
.stats-list-container .stats-list .stats-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f3f5;
}

.stats-list-container .stats-list .stats-item:last-child {
    border-bottom: none;
}

.contest-info, .award-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contest-info .name, .award-info .name {
    flex: 1;
    font-weight: 500;
    color: #414141;
}

.contest-info .company {
    color: #666;
    min-width: 150px;
}

.contest-info .year, .award-info .year {
    color: #666;
    min-width: 80px;
}

.contest-info .type {
    color: #666;
    min-width: 80px;
}

.no-data {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* MARK: 경력/인턴 차트 섹션 */
.career-section {
    margin-top: 20px;
}

.career-section .grade-chart-content {
    height: 280px;
    padding: 20px;
}

.career-section canvas {
    width: 100% !important;
    height: 220px !important;
}

.career-section .stats-header .more-link {
    color: #6B7684;
    font-size: 13px;
}

/* MARK: 공모전/수상내역 차트 섹션 */
.extra-activity {
    margin-top: 20px;
}

.extra-activity .grade-chart-content {
    height: 280px;
    padding: 20px;
}

.extra-activity canvas {
    width: 100% !important;
    height: 220px !important;
}

.extra-activity .stats-header .more-link {
    color: #6B7684;
    font-size: 13px;
}

/* 학부연구생/외부교육 차트 섹션 */
.extra-education {
    margin-top: 20px;
}

.extra-education .grade-chart-content {
    height: 280px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.extra-education canvas {
    max-width: 100% !important;
    height: 220px !important;
}

.extra-education .stats-header .more-link {
    color: #6B7684;
    font-size: 13px;
}

/* 도넛 차트 컨테이너 특별 스타일 */
#researchChart {
    max-width: 220px !important;
}

/* MARK: 합격자 설문 섹션 */
.final-applicants-survey {
    margin-top: 40px;
    padding: 0;
}

.final-applicants-survey-header h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.final-applicants-survey-header .final-applicants-survey-header-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.survey-date {
    margin-bottom: 20px;
}

.survey-date span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.section-title {
    margin-bottom: 20px;
}

.section-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #183EA0;
    position: relative;
    padding-left: 12px;
}

.section-title h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #183EA0;
}

.section-title .survey-title-highlight {
    font-weight: 600;
    color: #2561FA;
}

.survey-container {
    display: flex;
    gap: 20px;
}

.survey-left {
    flex: 1;
    background: #fff;
}

.survey-right {
    flex: 1;
    background: #fff;
}

.survey-left h3,
.survey-right h3 {
    font-size: 16px;
    font-weight: 500;
    color: #414141;
    margin: 0 0 20px;
}

/* 자소서 항목 리스트 */
.essay-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.essay-item {
    display: flex;
    gap: 12px;
}

.essay-content {
    flex: 1;
    color: #414141;
    font-size: 14px;
    line-height: 1.6;
}

.word-limit {
    color: #666;
    font-size: 13px;
    margin-top: 6px;
}

.essay-note {
    color: #999;
    font-size: 12px;
    margin-top: 20px;
}

/* 글자수 리스트 */
.word-count-list {
    line-height: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.word-count-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.word-count-list .rank {
    width: 35px;
}

.word-count-list .count {
    color: #414141;
    font-weight: 500;
}

.word-count-list .limit {
    color: #999;
    margin-left: 4px;
}

.word-count-list .range {
    color: #999;
    font-size: 13px;
    margin-left: 12px;
}

/* 시간 정보 */
.time-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #fff;
}

.time-badge.average {
    background-color: #414141;
}

.time-badge.max {
    background-color: #666;
    margin-left: 12px;
}

.time-value {
    font-size: 14px;
    color: #414141;
}

/* 자소서 항목 스타일 */
.cover-letter-items {
    position: relative;
    background: #fff;
    padding: 30px 20px;
    border: 1px solid #E0E5EB;
}

.letter-item {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid #E0E5EB;
    position: relative;
}

.letter-item:last-child {
    border-bottom: none;
}

.item-number {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    min-width: 30px;
}

.item-content {
    flex: 1;
    color: #414141;
    font-size: 14px;
    line-height: 1.6;
}

.word-count {
    color: #666;
    font-size: 13px;
    margin-top: 4px;
}

.note-text {
    color: #999;
    font-size: 13px;
    margin-top: 12px;
    margin-left: 4px;
}

/* 설문 섹션 스타일 수정 */
.survey-section {
    margin-bottom: 30px;
}

.survey-section h3 {
    font-size: 15px;
    color: #414141;
    margin-bottom: 20px;
}

.survey-section .surver-question-number {
    font-weight: 600;
    color: #2561FA;
}

.survey-chart-wrapper {
    height: 200px;
    margin: 20px 0;
}

.survey-rank {
    color: #282D37;
    font-size: 13px;
    width: 24px;
    height: 24px;
    background-color: #EBEEF2;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

/* MARK: 공모전 모달 리스트 스타일 */
.contest-container .stats-list li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f3f5;
}

.contest-container .stats-list li:first-child {
    border-top: 1px solid #E0E5EB;
}

.contest-container .stats-list li:last-child {
    border-bottom: 1px solid #E0E5EB;
}

.contest-container .stats-list .list-header {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #282D37;
    font-size: 14px;
}

.contest-container .stats-list .name {
    flex: 1;
    color: #282D37;
    font-size: 14px;
    padding-right: 20px;
}

.contest-container .stats-list .year-title,
.contest-container .stats-list .year {
    width: 120px;
    text-align: right;
    color: #626F87;
    font-size: 14px;
}

.contest-container .stats-list .year {
    color: #858585;
}

.contest-container .no-data {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* MARK: 수상내역 모달 리스트 스타일 */
.award-container .stats-list li {
    display: flex;
    align-items: center;
    /* padding: 12px 20px; */
    border-bottom: 1px solid #f1f3f5;
}

.award-container .stats-list li:first-child {
    border-top: 1px solid #E0E5EB;
}

.award-container .stats-list li:last-child {
    border-bottom: 1px solid #E0E5EB;
}

.award-container .stats-list .list-header {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #282D37;
    font-size: 14px;
}

.award-container .stats-list .name {
    flex: 1;
    color: #282D37;
    font-size: 14px;
    padding-right: 20px;
}

.award-container .stats-list .year-title,
.award-container .stats-list .year {
    width: 120px;
    text-align: right;
    color: #626F87;
    font-size: 14px;
}

.award-container .stats-list .year {
    color: #858585;
}

.award-container .no-data {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* MARK: 학부연구생 모달 스타일 */
.research-container .stats-list li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f3f5 !important;
}

.research-container .stats-list li:last-child {
    border-bottom: none;
}

.research-container .stats-list .list-header {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #626F87;
    font-size: 12px;
    text-align: center;
}

.research-container .stats-list .research-title {
    flex: 2;
    font-size: 14px;
    padding-right: 20px;
}

.research-container .stats-list .research-org {
    flex: 1;
    font-size: 14px;
    padding-right: 20px;
    text-align: center;
    color: #626F87;
}

.research-container .stats-list .year-title,
.research-container .stats-list .year {
    width: 120px;
    text-align: center;
    font-size: 14px;
    color: #626F87;
}

.research-container .no-data {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* MARK: 외부교육 모달 스타일 */
.edu-container .stats-list li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.edu-container .stats-list li.list-header {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #495057;
}

.edu-container .stats-list li .edu-title {
    flex: 2;
    color: #414141;
    font-size: 14px;
    padding-right: 20px;
}

.edu-container .stats-list li .edu-org {
    flex: 1;
    color: #414141;
    font-size: 14px;
    padding-right: 20px;
}

.edu-container .stats-list li .year-title,
.edu-container .stats-list li .year {
    width: 120px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.edu-container .stats-list li .edu-type {
    width: 100px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* MARK: 차트 블라인드 오버레이 스타일 */
.gender-chart-container,
.age-chart-wrapper {
    position: relative;
}

.chart-blind-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-weight: bold;
    color: #666;
}

/*모바일*/
@media screen and (max-width: 1024px) {
    .age-charts-container {
        width: 100%;
    }
    .grade-chart-content {
        padding: 0;
        justify-content: center;
    }
    #educationChart, #gapChart {
        height: 270px !important;
        padding-right: 0;
    }
    #researchChart {
        margin: 10px auto;
    }
    .edu-container .stats-list li .edu-title {
        flex: inherit !important;
        width: 100% !important;
        padding-right: 10px !important;
    }
    .edu-container .stats-list li .year {
        width: 100px;
    }
    .stats-box {
        border: none;
    }
}

/*pc*/
@media screen and (min-width: 1024px) {

}
