.checkbox-common {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    width: 100%;
}

.checkbox-common .input-common[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    left: 0;
    top: 2px;
}

.checkbox-common__content {
    flex: 1;
    align-items: flex-start;
    position: relative;
    padding-left: 28px;
}

/* 체크되지 않은 상태의 체크박스 */
.checkbox-common__content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: var(--color-bg-default);
    border: 1px solid var(--color-input-border);
    border-radius: 4px;
    transition: all 0.2s ease;
    pointer-events: none;
}

/* 체크된 상태의 체크박스 */
.checkbox-common .input-common[type="checkbox"]:checked + .checkbox-common__content::before {
    background-color: var(--color-button-bg-primary-fill);
    border-color: var(--color-button-bg-primary-fill);
}

/* 체크 마크 */
.checkbox-common .input-common[type="checkbox"]:checked + .checkbox-common__content::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    width: 5px;
    height: 10px;
    border: solid var(--color-bg-default);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    z-index: 1;
}

.checkbox-common__label {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 150%;
    color: var(--color-text-bold);
}
.checkbox-common__sub {
    font-size: 0.815rem;
    line-height: 150%;
    color: var(--color-text-subtle);
    margin-top: 4px;
}
.checkbox-common__sub-title {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--color-text-bold);
}

/* 라디오 버튼 */
.radio-common {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    width: 100%;
    cursor: pointer;
}

.radio-common__input {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    left: 0;
    top: 2px;
}

.radio-common__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 28px;
    position: relative;
}

/* 라디오 버튼 외형 */
.radio-common__content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: var(--color-bg-default);
    border: 1px solid var(--color-input-border);
    border-radius: 50%;
    transition: all 0.2s ease;
    pointer-events: none;
}

/* 라디오 버튼 선택 상태 */
.radio-common__input:checked + .radio-common__content::before {
    border-color: var(--color-button-bg-primary-fill);
    border-width: 1px;
}

/* 라디오 버튼 내부 원 (선택된 상태) */
.radio-common__input:checked + .radio-common__content::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--color-button-bg-primary-fill);
    border-radius: 50%;
    pointer-events: none;
}

.radio-common__label {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 150%;
    color: var(--color-text-bold);
}

.radio-common__sub {
    font-size: 0.875rem;
    line-height: 150%;
    color: var(--color-text-subtle);
}

.radio-common__input[value="yes"]:checked ~ .radio-common__content .olc-write__account-fields {
    display: flex;
}