@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

html {
    font-family: 'NanumSquare', "Noto Sans KR", sans-serif;
    font-size: 12.5px;
    font-weight: normal;
}

body{
    font-family: 'NanumSquare', "Noto Sans KR", sans-serif;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    /*  padding-top: 50px;*/
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start;
}


table,
th,
td {
    border: 1px solid black;
}

/*
    단순 문항 (질문 + 답변 2~4개) 1번 CSS
    기존 문진 프로그램 CSS 기준으로 작성 (label)
    onclick 이벤트로 버튼처럼 처리
    미사용
*/
.not-selected {
    text-align: left;
    font-size: 12px;
    color: black;
    vertical-align: middle;
    border: 1px solid #cccccc;
    border-radius: 15px;
    padding: 10px 10px 10px 10px;
    margin-top: 15px;
    background-color: #f2f2f2;
    background-repeat: no-repeat;
    background-position: 30px center;
    background-size: 35px;
}

.selected {
    text-align: left;
    font-size: 12px;
    color: white;
    vertical-align: middle;
    border: 1px solid #0074ff;
    border-radius: 15px;
    padding: 10px 10px 10px 10px;
    margin-top: 15px;
    background-color: #009aff;
    background-repeat: no-repeat;
    background-position: 30px center;
    background-size: 35px;
}

/*
    단순 문항 (질문 + 답변 2~4개) 2번 CSS
    radio + label
    name으로 value 값 추출
    미사용
*/
.answer-div {
    display: flex;
    position: relative;
    text-align: left;
}

.answer-radio {
    opacity: 0;
    position: absolute;
}

.answer-label {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    text-align: left;
    vertical-align: middle;
    width: 160px;
    height: 40px;
    background: #f2f2f2;
    color: black;
    border-radius: 15px;
    border: 1px solid #cccccc;
    margin-top: 15px;
    padding: 10px 10px 10px 10px;
    cursor: pointer;
}

input[type="radio"]:checked+label {
    background: #009aff;
    color: white;
}

/*
    radio 버튼 및 checkbox 버튼 CSS
*/
.radio-button input[type="radio"]:checked+label,
.checkbox-button input[type="checkbox"]:checked+label {
    background-color: #009aff;
    color: white;
}

.radio-button label {
    width: 160px;
    height: 40px;
    font-size: 12px;
    background-color: #f2f2f2;
    color: black;
    border: 1px solid #cccccc;
    border-radius: 15px;
    padding: 10px 10px 10px 10px;
    margin-top: 15px;
}

.checkbox-button label {
    width: 180px;
    height: 40px;
    font-size: 12px;
    background-color: #f2f2f2;
    color: black;
    border: 1px solid #cccccc;
    border-radius: 15px;
    padding: 10px 10px 10px 10px;
}

/*
    radio 버튼 및 checkbox 버튼 앞에 체크 표시 추가
*/
.radio-button label::before,
.checkbox-button label::before {
    content: '✓ ';
}

/*
    radio 버튼 및 checkbox 버튼 hover 제거
*/
.radio-button label:hover:not(.empty),
.checkbox-button label:hover:not(.empty) {
    background-color: #f2f2f2;
    color: black;
    border: 1px solid #cccccc;
    border-radius: 15px;
}

/*
    특수검진 추가문진표 CSS
    미사용
*/
.special-addtable {
    text-align: left;
    padding: 3px 1px 3px 1px;
}

/*
    구강검진 select label CSS (9번 문항)
*/
.select-label {
    border-radius: 10px;
    line-height: 250%;
    width: 100%
}

.oral-select {
    font-size: 1.5rem;
    text-align: center;
    color: #0d6efd;
    border: 2px solid #0d6efd;
    border-radius: 5px;
    padding: 6px 20px;
    min-width: 100px;
    background-color: #fff;
}

.oral-select option {
    text-align: left;
}

/*
    암검진 input text CSS (1, 2번 문항)
*/
.text-label {
    border-radius: 5px;
    line-height: 1.2;
    color: #0d6efd;
    width: 100%;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.textBox {
    font-size: 1.6rem;
    text-align: center;
    color: #333;
    border: 1.5px solid #4F97C2;
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    background-color: #fff;
    width: 100%;
}

.cancer-checkbox-button input[type="checkbox"]:checked+label {
    background-color: #009aff;
    color: white;
}

.cancer-checkbox-button label {
    width: 60px;
    height: 40px;
    font-size: 12px;
    background-color: #f2f2f2;
    color: black;
    border: 1px solid #cccccc;
    border-radius: 15px;
    padding: 10px 10px 10px 10px;
}

.cancer-checkbox-button label::before {
    content: '✓ ';
}

.cancer-checkbox-button label:hover:not(.empty) {
    background-color: #f2f2f2;
    color: black;
    border: 1px solid #cccccc;
    border-radius: 15px;
}

.selectCountBox {
    text-align: left;
}



/* ===== 공통 선택 박스 스타일 (라디오/체크박스 모두 사용 가능) ===== */
.selectBox {
    text-align: left;
    align-items: center;
}

.selectBox .btn-check {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.selectBox .btn-check+label {
    border: 1px solid #cccccc;
    padding: 6px 12px;
    text-align: center;
    color: #000;
    background-color: #f2f2f2;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease-in-out;
    user-select: none;
    display: inline-block;
    /* 필요 시 추가 */

    min-width: max-content;
    white-space: nowrap;
}

.selectBox .btn-check+label:hover {
    background-color: #e6e6e6;
}

.selectBox .btn-check:checked+label {
    border: 1px solid #0074ff;
    color: #fff;
    background-color: #009aff;
}


/* 건강검진 */
/* 병명 */
.diagnosis-label {
    width: 40%;
}

.interview-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f2f2f2;
}



/* 음주 항목(테스트), 
    u-selectBox, labelDrink(임의클래스 생성함)
*/
.u-selectBox,
.labelDrink {
    align-items: center;
    /* 수직 중앙 정렬 */
    align-content: center;
    /* background-color: yellow; */
}

.u-selectBox {
    gap: 0.875rem;
    width: 100%;
}

.mode-mobile .u-selectBox .input-item,
.mode-mobile .u-selectBox .selectCountBox {
    width: 100%;
}

/* selectBox 기본 스타일 */
/*#content-generalDisease-drink-07 .selectCountBox select */
.selectCountBox select {
    width: auto;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 7px 8px;
    /* background-color: green; */
}

.A_sel {
    width: 70px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2px 8px;
    /* background-color: green; */
}

/* 선택 영역 */
#content-generalDisease-drink-07 .selectCountBox select.mt-3.me-3 {
    margin-top: 0 !important;
    /* 위 margin 제거*/
}

#content-generalDisease-drink-07 .input-item.me-3 {
    margin-right: 2px !important;
    /* 옆의 <select>와 거리 조절*/
}

.labelDrink {
    min-width: 60px;
}


/**/
.btn-check-wide {
    width: 80%;
    /* 500px */
}

/**/

/**/
.btn-radio-check input[type="checkbox"] {
    display: none;
}
.btn-radio-check input[type="radio"] {
    display: none;
}

.btn-radio-check input[type="checkbox"]+label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 20px 14px 62px;
    min-height: 64px;
    font-size: 1.76em;
    /* ← 원하는 크기로 조절 */

    /* 기본 라벨: 그레이 */
    background-color: var(--color-gray-50);
    border: 1px solid var(--color-gray-400);
    border-radius: 1rem;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.btn-radio-check input[type="radio"] + label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 20px 14px 62px;
    min-height: 64px;
    font-size: 1.76em;
    background-color: var(--color-gray-50);
    border: 1px solid var(--color-gray-400);
    border-radius: 1rem;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
/* 원형 버튼 */
.btn-radio-check input[type="checkbox"]+label::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    /*     border: 2px solid #ccc; */
    border-radius: 50%;
    background-color: #ffffff;
    /* ← 항상 흰색 */
    border: 1px solid #6c757d;
    /*     border-radius: 50%; */
}

.btn-radio-check input[type="radio"] + label::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #6c757d;
}

/* 체크 SVG */
.btn-radio-check input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%231e90ff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
}
.input-item .btn-radio-check input[type="checkbox"]:checked + label::after{
    appearance: initial;
    z-index: 1;
    left: 14px;
    top: 50%;
}

.btn-radio-check input[type="checkbox"]+label::before{
    left: 14px;
    top: 50%;
    width: 32px;
    height: 32px;
}
.btn-radio-check input[type="checkbox"]:checked + label::after{
    left: 14px;
    top: 50%;
    width: 32px;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%231e90ff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 24px 24px;
}

.btn-radio-check input[type="checkbox"]:checked + label {
    background-color: #1E90FF;
    /* 스카이 */
    border-color: #5bc0eb;
    color: #ffffff;
    /* ← 텍스트 흰색 */
}

.btn-radio-check input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%231e90ff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 24px 24px;
}

.btn-radio-check input[type="radio"]:checked + label {
    background-color: #1E90FF;
    /* 스카이 */
    border-color: #5bc0eb;
    color: #ffffff;
    /* ← 텍스트 흰색 */
}

.btn-radio-check label::before {
    background-color: sky;
    /* 체크 배경도 스카이 */
}

.btn-radio-check input[type="checkbox"]:checked {
    background-color: sky;
    /* 체크 배경도 스카이 */
}

.btn-radio-check input[type="radio"]:checked {
    background-color: sky;
    /* 체크 배경도 스카이 */
}

/**/

/*as-is .nosel {
    text-align: left;
    font-size: 24px;
    color: black;
    vertical-align: middle;
    border: 1px solid #cccccc;
    border-radius: 15px;
    padding: 15px 0 18px 85px;
    margin-top: 25px;
    background-color: #f2f2f2;
    background-image: url("/2026/img/exm/ans_chk_no.png");
    background-repeat: no-repeat;
    background-position: 30px center;
    background-size: 35px;
}

.answer .selected {
    text-align: left;
    font-size: 24px;
    color: white;
    vertical-align: middle;
    border: 1px solid #0074ff;
    border-radius: 15px;
    padding: 15px 0 18px 85px;
    margin-top: 25px;
    background-color: #009aff;
    background-image: url("/2026/img/exm/ans_chk_yes.png");
    background-repeat: no-repeat;
    background-position: 30px center;
    background-size: 35px;
}*/

.label-question {
    font-size: 1.2em;
    font-weight: 600;
}

#btn-open-tts {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
}

.interview-partial-nav {
    display: flex;
    gap: 0.5rem;
    /*    margin-top: 1em;*/
}

.interview-partial-nav .btn {
    flex: 1;
    /*    flex: 1 1 0;*/
    /*    white-space: nowrap;*/
}


/* 결과수신 여부 버튼 */
.consent-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    align-items: center;
    justify-content: center;
}

.consent-modal-overlay.type-pos-top {
    align-items: flex-start;
}

.consent-modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 320px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
}

.consent-modal-overlay.type-pos-top .consent-modal {
    margin-top: 200px;
}

.consent-modal-header {
    position: relative;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 2px solid #5b9bd5;
}

.consent-modal-header .close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 18px;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    text-align: center;
}

.consent-modal-body {
    padding: 20px;
    text-align: center;
}

.consent-modal-title {
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: bold;
}

.consent-method-group {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.consent-method-item {
    flex: 1;
    padding: 10px 0;
    font-size: 13px;
    border-right: 1px solid #ddd;
    position: relative;
    cursor: pointer;
    margin: 0;
}

.consent-method-item:last-child {
    border-right: none;
}

.consent-method-item input[type="radio"] {
    margin-right: 4px;
    vertical-align: middle;
    margin-top: -2px;
}

.consent-modal-footer {
    background: #75bbed;
    color: #fff;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.consent-modal-footer:hover {
    background: #5ba6d9;
}



@media (max-width: 768px) {
    .consent-modal-overlay.type-pos-top .consent-modal {
        margin-top: 140px;
    }
}

/* PC 버전 (768px 이상) 에서 모달 크기 확대 (다른 모달이나 모바일에 영향 없도록 분리) */
@media (min-width: 768px) {
    .consent-modal {
        max-width: 500px;
        /* PC에서는 최대 너비 확장 */
    }

    .consent-modal-header {
        font-size: 20px;
    }

    .consent-modal-title {
        font-size: 18px;
    }

    .consent-method-item {
        font-size: 15px;
        padding: 15px 0;
    }

    .consent-modal-footer {
        font-size: 18px;
    }
}

/*.btn-group-responsive {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 576px) {
    .btn-group-responsive {
        flex-direction: column;
    }
}

/* PC 전용 질병력 테이블 그리드 스타일 */
.pc-disease-table-container {
    width: 100%;
    border: 2px solid #bce1fd;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
}

.pc-disease-grid-row {
    display: grid;
    grid-template-columns: 130px repeat(4, 1fr);
    background-color: #bce1fd;
    /* 얇은 그리드 테두리선 효과 */
    gap: 1px;
}

.pc-row-header-col {
    display: flex;
    flex-direction: column;
    background-color: #e3f2fd;
}

.pc-disease-col {
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.pc-disease-cell-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pc-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
    height: 52px;
    box-sizing: border-box;
    font-size: 14px;
    color: #333333;
    position: relative;
    /* input absolute 배치 기준 */
}

/* 헤더 영역 */
.pc-cell.pc-header {
    background-color: #e3f2fd;
    font-weight: bold;
    color: #1e3a8a;
    border-bottom: 1px solid #bce1fd;
    line-height: 1.3;
}

/* 행 헤더 사이드 라벨 ('진단', '약물치료') */
.pc-cell.pc-header-side {
    background-color: #f4f9fd;
    font-weight: 500;
    color: #2b6cb0;
    border-bottom: 1px solid #bce1fd;
}

.pc-cell.pc-header-side:last-child {
    border-bottom: none;
}

/* 바디 셀 영역 */
.pc-cell.pc-body {
    background-color: #ffffff;
    border-bottom: 1px solid #e2edf8;
}

.pc-cell.pc-body:last-child {
    border-bottom: none;
}

/* PC 그리드 내 원래 체크박스(input) 숨김 처리 - 겹쳐 보임 문제의 근본 해결책 */
.pc-cell .btn-check {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* 프리미엄 체크박스 커스텀 */
.pc-cell .btn-check+.btn.pc-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #b2c9e0 !important;
    border-radius: 5px !important;
    background-color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    box-shadow: none !important;
}

/* 마우스 호버 효과 */
.pc-cell .btn-check+.btn.pc-btn:hover {
    border-color: #1e88e5 !important;
    background-color: #f0f7ff !important;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15) !important;
}

/* 체크 기호 생성 (L자 모양 흰색 선) */
.pc-cell .btn-check+.btn.pc-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 12px !important;
    height: 7px !important;
    border-left: 2px solid #ffffff !important;
    border-bottom: 2px solid #ffffff !important;
    transform: translate(-50%, -70%) rotate(-45deg) !important;
    /* 완벽한 중앙 정렬 */
    opacity: 0 !important;
    transition: opacity 0.15s ease, transform 0.15s ease !important;
}

/* 체크 완료 상태 */
.pc-cell .btn-check:checked+.btn.pc-btn {
    background-color: #2196f3 !important;
    border-color: #2196f3 !important;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2) !important;
}

.pc-cell .btn-check:checked+.btn.pc-btn::after {
    opacity: 1 !important;
    transform: translate(-50%, -70%) rotate(-45deg) scale(1.1) !important;
}

/* 빈 격자 디자인 */
.pc-empty-cell {
    background-color: #f7fafc !important;
}

.pc-empty-cell .pc-cell {
    border-bottom: 1px solid #e2edf8;
}

.pc-empty-cell .pc-cell:last-child {
    border-bottom: none;
}

/* 유효성 검사 실패 — 인라인 에러 표시 */
.validation-error-highlight {
    border: 1px solid #e74c3c;
    border-radius: 6px;
    background-color: #fff5f5;
}
.validation-error-highlight > *,
.validation-error-highlight .grid > * {
    margin-top: 0 !important;  /*에러 날때 네모 딱 맞춤*/
}

.validation-error-msg {
    color: #e74c3c;
    font-size: 1.6rem;  /*에러 글자크기 조절*/
    margin-top: 4px;
    padding-left: 4px;
}

/* PC 질병 테이블 그룹 간의 세로 간격 6px로 조밀하게 조정 */
.pc-disease-grid-row+.pc-disease-grid-row {
    border-top: 1px solid #bce1fd;
}

/* PC 가족 질환 6열 전용 그리드 레이아웃 */
.pc-family-disease-grid-row {
    display: grid;
    grid-template-columns: 130px repeat(5, 1fr);
    background-color: #bce1fd;
    gap: 1px;
}

/* PC 흡연 테이블 4열 전용 그리드 */
.pc-smoke-row {
    grid-template-columns: 19% 22% 35% 24% !important;
    --smoke-font-size: 1.25rem;
}

/* 흡연 detail cells - display:contents로 부모 그리드에 배치 */
.pc-smoke-detail-cells {
    display: contents !important;
}

.pc-smoke-detail-cells.display-none {
    display: contents !important;
}

/* 흡연 셀 높이 자동 조절 */
.pc-smoke-row .pc-cell {
    height: auto;
    min-height: 46px;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
}

/* 라디오 셀 좌측 정렬 */
.pc-smoke-row>.pc-cell:first-child {
    justify-content: flex-start;
    padding-left: 16px;
}

/* selectBox 기본 스타일 오버라이드 - 흡연 라디오 라벨 */
.pc-smoke-row .btn-check+.pc-radio-label,
.pc-smoke-row .btn-check:checked+.pc-radio-label {
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #333;
    min-width: auto;
    display: inline-flex;
    align-items: center;
    font-size: var(--smoke-font-size);
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    position: relative;
    line-height: 1.5;
    white-space: normal;
    transition: none;
}
.pc-smoke-row .btn-check+.pc-radio-label:hover{
    border:0;
    background: transparent;
}

/* ○ 라디오 원형 */
.pc-smoke-row .pc-radio-label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 1.5px solid #999;
    border-radius: 50%;
    background-color: #fff;
    box-sizing: border-box;
    flex-shrink: 0;
}

.pc-smoke-row .btn-check:checked+.pc-radio-label::before {
    border-color: #0074ff;
    background-color: #0074ff;
}

.pc-smoke-row .btn-check:checked+.pc-radio-label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #fff;
}

/* 흡연 셀 내 answer-select 스타일 초기화 */
.pc-smoke-row .answer-select {
    border: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    flex-wrap: wrap;
}

.pc-smoke-row .answer-select-text,
.pc-smoke-row .answer-select-box {
    font-size: var(--smoke-font-size);
}

.pc-smoke-row .selectCountBox .answer-select select.answer-select-box{
    font-size: var(--smoke-font-size);
    min-width: auto;
}


/* 흡연 세로 배치 셀 (흡연했을 때 + 하루평균) */
.pc-smoke-vcell {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}
.pc-smoke-vcell .pc-smoke-vcell-inner {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    gap: 2px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.pc-smoke-vcell .pc-smoke-vcell-inner >span{
    font-size: var(--smoke-font-size);
}

/* ==========================================
   작목 선택 모달 (_CropSelectModal)
   ========================================== */
.crop-select-modal-content {
    border-radius: 1rem;
    overflow: hidden;
}
.crop-select-modal-header {
    background-color: var(--color-primary);
    padding: 1rem 1.5rem;
    border: none;
}
.crop-select-modal-title {
    color: #fff;
    font-size: 1.44rem;
    font-weight: bold;
}
.crop-select-modal-body {
    padding: 1rem;
}
.crop-grid-wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}
.crop-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.crop-col-header {
    background-color: #e9ecef;
    text-align: center;
    padding: 0.5rem 0.25rem;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
}
.crop-col-sub-header {
    margin-top: 0.5rem;
    background-color: #dee2e6;
}
.crop-btn {
    width: 100%;
    padding: 0.45rem 0.25rem;
    font-size: 1rem;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    cursor: pointer;
    text-align: center;
    line-height: 1.3;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
}
.crop-btn:hover {
    background-color: #e2e6ea;
}
.crop-btn:focus,
.crop-btn:focus-visible,
.crop-btn:active {
    outline: none;
    box-shadow: none;
}
.crop-btn.selected {
    background-color: var(--color-primary);
    color: #fff;
}
.crop-select-modal-footer {
    border: none;
}
.crop-close-btn {
    width: 100%;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1.44rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.15s;
}
.crop-close-btn:hover {
    background-color: var(--color-primary-hover);
}
@media (max-width: 767px) {
    .crop-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .crop-col:last-child {
        grid-column: 1 / -1;
    }
}