* {
    box-sizing: border-box;
}

.visa-score-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--size-20);
}

/* ── 상단 타이틀 ── */
.visa-score-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: var(--size-20) var(--size-40);
    align-self: stretch;
    border-radius: var(--size-20);
    background: rgb(var(--theme2-600));
}

.visa-score-title .title-left {
    display: flex;
    align-items: center;
    font-family: Pretendard;
    font-size:  var(--size-16);
    font-style: normal;
    font-weight: 400;
    line-height:  var(--size-26);
    letter-spacing: -0. var(--size-32);
    color: var(--theme2-450);
}

.visa-score-title .detail {
    display: inline-flex;
    align-items: center;
    color: rgb(var(--primary-WT));
    margin-right:  var(--size-16);
    font-size:  var(--size-20);
    font-weight: 600;
    line-height:  var(--size-30);
    letter-spacing: -0. var(--size-4);
}

.visa-score-title .remarks {
    color: rgb(var(--primary-WT));
    font-size:  var(--size-15);
    font-weight: 400;
    line-height:  var(--size-24);
    letter-spacing: -0.3px;
}

.visa-score-title .title-right {
    color: rgb(var(--theme2-200));
    font-size:  var(--size-14);
    font-weight: 400;
    line-height:  var(--size-22);
    letter-spacing: -0.2 var(--size-8);
    opacity: 0.5;
}

/* ── 본문 ── */
.visa-score-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--size-20);
    align-self: stretch;
}

.visa-score-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap:  var(--size-20);
    align-self: stretch;
    border-radius: var(--size-20);
}

.visa-score-section > .title {
    display: flex;
    width: 100%;
    padding: var(--size-16) 0;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--size-20);
    background: rgb(var(--theme2-50));
}

.visa-score-section > .title .section-name {
    margin-left: var(--size-16);
    color: rgb(var(--theme2-800));
    font-size:  var(--size-20);
    font-weight: 700;
    line-height:  var(--size-30);
    letter-spacing: -0. var(--size-4);
}

.visa-score-section > .title .section-name .tag {
    display: inline-flex;
    align-items: center;
    margin-left:  var(--size-8);
    color: rgb(var(--theme2-800));
    font-size:  var(--size-12);
    font-weight: 600;
    letter-spacing: -0. var(--size-24);
    vertical-align: middle;
}


.visa-score-section > .title .remarks {
    margin-right: var(--size-16);
    color: rgb(var(--theme2-450));
    font-size:  var(--size-16);
    font-style: normal;
    font-weight: 400;
    line-height:  var(--size-26);
    letter-spacing: -0. var(--size-32);
}

/* 라벨 + 선택지들을 좌우로 배치하는 행 */
.section-row {
    padding-left: var(--size-16);
    display: flex;
    align-items: flex-start;
    gap:  var(--size-20);
    align-self: stretch;
    width: 100%;
}

.left-body {
    display: flex;
    width: 140px;
    align-items: flex-start;
    flex-shrink: 0;
    padding-top:  var(--size-12);
}

.left-body p {
    color: rgb(var(--gary-800));
    font-size: 1 var(--size-8);
    font-weight: 600;
    line-height: 2 var(--size-8);
    letter-spacing: -0. var(--size-36);
    margin: 0;
}

/* 서브 라벨(취업경력의 국내/국외 등 depth가 있는 라벨) */
.left-body.sub p {
    font-size:  var(--size-15);
    font-weight: 500;
    line-height:  var(--size-24);
}

.left-body .unit-note {
    display: inline-block;
    margin-top: 2px;
    color: rgb(var(--gary-500));
    font-size:  var(--size-12);
    font-weight: 400;
}

.right-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap:  var(--size-10);
    flex: 1 0 0;
    min-width: 0;
}

.body-frame {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-wrap: wrap;
    width: 100%;
}

/* ── 선택 박스 ── */
.selection {
    display: flex;
    flex-direction: row;
    flex: 1 1 2 var(--size-20);
    min-width: 300px;
    max-width: 300px;
    margin :var(--size-10);
    height:  var(--size-60);
    padding:  var(--size-14)  var(--size-20);
    align-items: center;
    justify-content: space-between;
    gap:  var(--size-12);
    border-radius:  var(--size-16);
    background: rgb(var(--gary-50));
    cursor: pointer;
}

.selection .title {
    color: rgb(var(--gary-800));
    font-size:  var(--size-16);
    font-weight: 500;
    line-height:  var(--size-24);
    letter-spacing: -0. var(--size-32);
    overflow-wrap: break-word;
    word-break: keep-all;
}

.selection .score {
    flex-shrink: 0;
    color: rgb(var(--gary-800));
    font-size:  var(--size-16);
    font-weight: 500;
    line-height:  var(--size-26);
    letter-spacing: -0. var(--size-32);
    white-space: nowrap;
}

.selection.selected {
    border:  var(--size-1) solid rgb(var(--theme2-600));
}

.selection.selected .title {
    color: rgb(var(--theme2-800));
    font-weight: 600;
}

.selection.selected .score {
    color: rgb(var(--theme2-600));
    font-weight: 600;
}

/* 감점(음수) 선택 박스 */
.selection.negative .score {

}

.selection.negative.selected {
    color: rgb(var(--theme2-600));
}

.selection.negative.selected .title {
    color: rgb(var(--theme2-600));
    font-weight: 600;
}

.selection.negative.selected .score {
    color: rgb(var(--theme2-600));
    font-weight: 600;
}

.right-body .remarks {
    display: flex;
    align-items: center;
    gap:  var(--size-6);
    color: rgb(var(--gary-500));
    font-size:  var(--size-14);
    font-weight: 400;
    line-height:  var(--size-22);
    letter-spacing: -0.2 var(--size-8);
}

.right-body .remarks::before {
    content: "•";
}

/* ── 선택항목/감점처럼 하위 그룹이 여럿 있는 섹션용 ── */
.sub-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap:  var(--size-16);
    align-self: stretch;
    padding:  var(--size-20) 0;
}

.divider {
    width: 100%;
    height: var(--size-1);
    background: rgb(var(--gary-200));
}

.visa-score-section > .sub-block:first-of-type {
    border-top: none;
    padding-top: 0;
}

.sub-title {
    padding-left: var(--size-16);
    display: flex;
    align-items: baseline;
    gap:  var(--size-8);
}

.sub-title .sub-title-name {
    color: rgb(var(--gary-800));
    font-size:  var(--size-16);
    font-weight: 700;
    letter-spacing: -0. var(--size-32);
}

.sub-title .sub-title-note {
    color: rgb(var(--gary-500));
    font-size:  var(--size-13);
    font-weight: 400;
    letter-spacing: -0. var(--size-26);
}

/* 불릿이 여러 줄인 유의사항 리스트 */
.notice-list {
    display: flex;
    flex-direction: column;
    gap:  var(--size-4);
    margin: 0;
    padding: 0;
    list-style: none;
    align-self: stretch;
}

.notice-list li {
    position: relative;
    padding-left:  var(--size-14);
    color: rgb(var(--gary-500));
    font-size:  var(--size-13);
    font-weight: 400;
    line-height:  var(--size-20);
    letter-spacing: -0. var(--size-26);
}

.notice-list li::before {
    content: "•";
    position: absolute;
    left: 0;
}

/* ── 하단 안내 문구 ── */
.visa-score-guide {
    align-self: stretch;
    color: rgb(var(--gary-500));
    font-size:  var(--size-14);
    font-weight: 400;
    line-height:  var(--size-22);
    letter-spacing: -0.2 var(--size-8);
}

/* ── 하단 합계 ── */
.visa-footer-add {
    display: flex;
    margin:  var(--size-20) 0  var(--size-20) 0;
    padding:  var(--size-24)  var(--size-32);
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius:  var(--size-20);
    background: rgb(var(--theme-900));
}

.visa-footer-add .content {
    color: rgb(var(--theme-500));
    font-size:  var(--size-16);
    font-weight: 400;
    line-height:  var(--size-26);
    letter-spacing: -0. var(--size-32);
}

.visa-footer-add .score-text {
    color: rgb(var(--theme-500));
    font-family: Pretendard;
    font-size:  var(--size-20);
    font-style: normal;
    font-weight: 500;
    line-height:  var(--size-30); /* 150% */
    letter-spacing: -0. var(--size-4);
}

.visa-footer-add .score {
    color: rgb(var(--primary-WT));
    font-family: Pretendard;
    font-size:  var(--size-36);
    font-style: normal;
    font-weight: 700;
    line-height:  var(--size-48);
    letter-spacing: -0.72px;
}

.visa-footer-add .visa-current-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--size-4);
}

.visa-footer-add .visa-current-score__value {
    display: flex;
    align-items: center;
    gap: var(--size-6);
}

.visa-footer-add .visa-issuance-status {
    color: rgb(var(--theme2-450));
    font-size: var(--size-16);
    font-weight: 700;
    line-height: var(--size-26);
    text-align: right;
    white-space: nowrap;
}

.visa-footer-add .visa-issuance-status[hidden] {
    display: none;
}

@media (max-width: 48rem) {
    .visa-footer-add {
        align-items: flex-start;
        gap: var(--size-8);
    }

    .visa-footer-add .visa-current-score {
        align-items: flex-start;
    }
}
/* 대상자 요건 / 체크리스트 */
.eligibility-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 48px;
    align-self: stretch;
    border-radius: var(--size-16);
    background: rgb(var(--gary-50));
}

.eligibility-container > .eligibility-title {
    color: rgb(var(--gary-800));
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.44px;
    margin: 0;
}

.eligibility-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
    border-radius: 20px;
    background: #FFFFFF;
    padding: 32px 40px;
}

.checklist-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    padding-bottom: 24px;
    border-bottom: 1px solid rgb(var(--gary-300));
}

.checklist-header .checklist-title {
    color: rgb(var(--gary-800));
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    margin: 0;
}

.checklist-header .checklist-desc,
.eligibility-guide {
    color: rgb(var(--gary-500));
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.28px;
    margin: 0;
}

.checklist {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    cursor: pointer;
}

.check-item .check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.35;
    filter: grayscale(1);
    transition: opacity 0.15s ease, filter 0.15s ease;
}

.check-item.checked .check-icon {
    opacity: 1;
    filter: none;
}

.check-item .check-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.check-item .check-text {
    color: rgb(var(--gary-800));
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.3px;
}

.visa-score-wrapper {
    align-self: stretch;
    transition: opacity 0.2s ease;
}

.visa-score-wrapper.locked {
    display: none;
}

@media (max-width: 48rem) {
    .visa-score-title {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--size-12);
        padding: var(--size-20);
    }

    .visa-score-title .title-left {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--size-8);
        width: 100%;
    }

    .visa-score-title .detail {
        margin-right: 0;
    }

    .eligibility-container {
        padding: 24px;
    }

    .eligibility-card {
        padding: 24px;
    }

    .section-row {
        flex-direction: column;
        gap: var(--size-12);
        padding-left: 0;
    }

    .section-row .left-body {
        width: 100%;
        padding-top: 0;
    }

    .section-row .right-body {
        width: 100%;
        flex: 0 0 auto;
    }
}
