/* 기존 CSS 내용 */
.button-container {
    text-align: right; /* 버튼을 오른쪽으로 정렬 */
}

/* Form 스타일 */
/* form {
    margin: 2em auto;
    max-width: 600px;
    padding: 2em;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
} */

header h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

header p {
    font-size: 1.2em;
    color: #f9e6df;
}

/* 체크박스를 숨기고 커스텀 스타일 적용 */
input[type="checkbox"] {
    display: none;
}

label {
    cursor: pointer;
}

.custom-checkbox {
    display: inline-block;
    font-size: 24px;
    color: #ccc;
    transition: color 0.2s ease-in-out;
    margin-right: 10px;
}

input[type="checkbox"]:checked + .custom-checkbox {
    color: #e89980; /* 체크되었을 때 아이콘 색상 */
}

input[type="checkbox"]:focus + .custom-checkbox {
    outline: 2px solid #e89980; /* 포커스 되었을 때 테두리 */
    outline-offset: 4px;
}

.terms input[type="checkbox"] {
    margin-right: 0.5em;
}

/* Checkbox 크기 및 스타일링 */
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    transform: scale(1.5); /* 크기 조정 */
    margin-right: 10px; /* 체크박스와 텍스트 사이 간격 */
    vertical-align: middle; /* 텍스트와 체크박스의 세로 정렬 */
}

/* Submit 버튼 스타일 */
input[type="submit"] {
    background-color: #e89980;
    color: #fff;
    font-size: 1.2em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #ecaa96;
}

#terms-text {
    width: 70%;
    height: 150px;
    border: 1px solid #ccc;
    padding: 15px;
    overflow-y: scroll;  /* 세로 스크롤 허용 */
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-left: 70px;
}

#terms-text h3 {
    font-size: 16px;
    color: #1a73e8; /* 제목 색상 */
    margin-bottom: 10px;
}

#terms-text ul, ol {
    margin: 10px 0;
    padding-left: 30px; /* 들여쓰기 적용 */
}

#terms-text li {
    margin-bottom: 8px;
}