/* === 공통 체크박스 스타일 === */
.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 8px; /* 박스-텍스트 간격 */
}

/* input 숨기기 */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* 체크박스 박스 */
.custom-checkbox .custom-box {
    width: 22px;
    min-width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #fff;          /* 미체크 배경 */
    display: grid;
    place-items: center;
    transition: background 0.15s ease;
    box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset;
}

/* 체크 표시(✓) */
.custom-checkbox .custom-box::after {
    content: "";
    width: 11px;
    height: 6px;
    border-left: 2px solid #DEDEDE;   /* 미체크 상태 회색 */
    border-bottom: 2px solid #DEDEDE;
    transform: rotate(-45deg) scale(1);  /* 항상 보이게 */
    transform-origin: center;
    transition: border-color 0.12s ease-in;
}

/* 체크 되었을 때 */
.custom-checkbox input:checked + .custom-box {
    background: #333333;
}
.custom-checkbox input:checked + .custom-box::after {
    border-left-color: #fff;   /* 체크 시 흰색 */
    border-bottom-color: #fff;
}

.card-border {
    border: 1px solid #DEDEDE;
    border-radius: 20px;
}