/* 이벤트 허용 팝업 */
.allow_popup_background {
    z-index: 999999;
    position: fixed; /* 화면에 고정 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 반투명한 검정색 배경 */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* 하단에 위치 */
}

.allow_popup {
    z-index: 9999999;
    position: fixed; /* 화면에 고정 */
    bottom: 0; /* 화면 하단에 위치 */
    left: 0; /* 왼쪽 끝에 위치 */
    width: 100%; /* 디바이스 넓이 최대로 설정 */
    height: auto; /* 기존 높이 유지 */
    padding: 24px 32px 16px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.07);
    background-color: #fff;
    box-sizing: border-box; /* 패딩을 포함한 전체 크기를 설정 */
    border-top-left-radius: 16px; /* 왼쪽 위 모서리 반지름 16px */
    border-top-right-radius: 16px; /* 오른쪽 위 모서리 반지름 16px */
    /*transform: translateY(100%); !* 초기 위치를 화면 아래로 설정 *!*/
    /*animation: slideUp 0.5s ease-out forwards; !* 애니메이션 적용 *!*/
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

.title {
    height: 58px;
    flex-grow: 0;
    margin: 0 43px 20px 43px;
    font-family: Pretendard;
    font-size: 22px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: center;
    color: #000;
}

.sub-txt {
    height: 24px;
    font-family: Pretendard;
    font-size: 16px;
    font-weight: 500;
    color: #0f0f0f;
    line-height: 1.35;
    align-content: end;
}

.span-list {
    list-style-type: none; /* 기본 리스트 스타일 제거 */
    padding: 0;
    margin: 0;
}

.span-list-item {
    display: block; /* 블록 요소처럼 보이게 설정 */
    height: 15px;
    flex-grow: 0;
    margin: 22px 12px 5px 11px;
    font-family: Pretendard;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.07;
    letter-spacing: normal;
    text-align: left;
    color: #5c5e6b;
}

.sub-txt-txt {
    height: 15px;
    font-family: Pretendard;
    font-size: 14px;
    line-height: 1.07;
    color: #5c5e6b;
}
.sub-txt-txt.agree-comment {text-align: center; font-size: 12px; margin-top: 26px; }

.check_button {
    width: 100%;
    height: 44px;
    margin: 35px 0px 10px 0px;
    border-radius: 6px;
    background-color: #AAACB6;
    color: #fff; /* 버튼 텍스트 색상 */
    font-family: Pretendard; /* Pretendard 폰트, 대체 폰트로 sans-serif */
    font-size: 16px; /* 버튼 텍스트 크기 */
    font-weight: 500; /* 버튼 텍스트 두께 */
    text-align: center; /* 버튼 텍스트 중앙 정렬 */
    border: none; /* 기본 테두리 제거 */
    display: flex; /* Flexbox 사용 */
    align-items: center; /* 수직 가운데 정렬 */
    justify-content: center; /* 수평 가운데 정렬 */
}
.check_button.all_agree {
    background-color: #1271F3;
}

/* 동의하기 메인 체크박스 */
.checkbox-container {
    height: 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 10px 0px 10px 0px;
}
.checkbox-container input {
    display: none;
}
.checkmark {
    width: 24px;
    height: 24px;
    margin: 0px 10px 0px 0px;
    background-image: url('/resources/images/event/luckydraw/allow_box_uncheck.svg'); /* 체크되지 않은 이미지 경로 */
    background-size: cover;
}
.checkbox-container input:checked + .checkmark {
    background-image: url('/resources/images/event/luckydraw/allow_box_checked.svg'); /* 체크된 이미지 경로 */
}

/* 동의하기 서브 체크박스 */
.checkbox-sub-container {
    height: 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.checkbox-sub-container input {
    display: none;
}
.checkmark-sub {
    width: 24px;
    height: 24px;
    margin: 0px 10px 0px 0px;
    background-image: url('/resources/images/event/luckydraw/allow_uncheck.svg'); /* 체크되지 않은 이미지 경로 */
    background-size: cover;
}
.checkbox-sub-container input:checked + .checkmark-sub {
    background-image: url('/resources/images/event/luckydraw/allow_checked.svg'); /* 체크된 이미지 경로 */
}

/* 동의하기 서브 체크박스 */
.checkbox-arr-container {
    height: 30px;
    width: 30px;
    display: flex;
    margin-left: auto;
}
.checkbox-arr-container input {
    display: none;
}
.checkmark-arr {
    width: 24px;
    height: 24px;
    margin: 0px 0px 0px 0px;
    background-image: url('/resources/images/event/luckydraw/keyboard_arrow_right.svg'); /* 체크되지 않은 이미지 경로 */
    background-size: cover;
}
.checkbox-sub-container input:checked + .checkmark-arr {
    background-image: url('/resources/images/event/luckydraw/keyboard_arrow_down.svg'); /* 체크된 이미지 경로 */
}

.pr-content {
    flex-grow: 0;
    margin: 20px 0 0 20px;
    padding: 10px 14px 10px 14px;
    font-family: Pretendard;
    font-size: 10px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: left;
    color: #aaacb6;
}