
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    text-align: center;
}

.logo img {
    width: 120px;
    margin-bottom: 20px;
}

.agreement h2 {
    font-size: 18px;
    text-align: left;
    margin-bottom: 10px;
}
#span_terms, #span_policy {
    display: block;
    white-space: pre-wrap;
    text-align: left !important;
}

.subtitle {
    font-size: 12px;
    color: #555;
    margin-bottom: 30px;
}

.checkbox-group {
    width: 90%;
    background-color: #f4f4f4;
    padding: 4%;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.5); /* 체크박스 크기 조정 */
}

.checkbox-group label {
    font-size: 14px;
    margin-right: auto;
    display: flex;
    align-items: center;
}

.checkbox-group a {
    font-size: 14px;
    color: #0099FF;
    text-decoration: none;
}

.confirm-btn {
    background-color: #E0E0E0;
    color: white;
    font-size: 16px;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 30px;
    cursor: not-allowed;
    margin-top: 20px;
}

.active-btn {
    background-color: #0099FF;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 30px;
    margin-top: 20px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    max-height: 80vh; /* 모달 콘텐츠의 최대 높이를 뷰포트의 80%로 설정 */
    overflow-y: scroll; /* 모달 콘텐츠 내부에서 스크롤을 관리 */
}
.modal-header {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header .close-btn {
    font-size: 1.2em;
    cursor: pointer;
    background: none;
    border: none;
}
.modal-content p {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9em;
    line-height: 1.6;
}
.modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.modal-buttons button {
    padding: 12px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    flex: 1;
}
.reject-btn {
    background-color: #e0e0e0;
    color: #000;
    transition: background-color 0.3s;
    margin-right: 10px;
    font-weight: bold;
}
.reject-btn:hover {
    background-color: #bdbdbd;
}
.accept-btn {
    background-color: #4caf50;
    color: #fff;
    transition: background-color 0.3s;
    font-weight: bold;
}
.accept-btn:hover {
    background-color: #388e3c;
}
/* 모바일 친화적인 버튼 UI */
.confirm-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
    font-weight: bold;
}
.confirm-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.confirm-btn:not(:disabled):hover {
    background-color: #388e3c;
}

.subtitle {
    color: #0099FF;
    font-size: 12px;
    margin-bottom: 10%;
}
.input-group {
    margin-bottom: 15px;
}

.input-group input {
    width: 90%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
}

.input-group input:focus {
    border-color: #0099FF;
}

#btn_find_password {
    background-color: #0099FF;
    color: white;
    font-size: 16px;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
}
#btn_find_password:hover {
    background-color: #0077CC;
}

#btn_go_login {
    background-color: #0099FF;
    color: white;
    font-size: 16px;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
}

#btn_go_login:hover {
    background-color: #0077CC;
}

#btn_save_password {
    background-color: #4caf50;
    color: white;
    font-size: 16px;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
}
#btn_save_password:hover {
    background-color: #388e3c;
}
#btn_save_password:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#btn_go_back {
    background-color: #a0a0a0;
    color: white;
    font-size: 16px;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
}
#btn_go_back:hover {
    background-color: #a0a0a0;
}

#label_password {
    font-size: 12px;
    color: #555;
}