body {
    font-family: 'Kanit', sans-serif;
}

.container {
    width: 375px;
    height: 100vh;
    border: 1px solid #F1F1F180;
    padding: 20px;
}

.dropdown-language a,
.dropdown-language ul li a {
    font-size: 14px !important;
    text-decoration: none;
    color: black;
}

@media only screen and (max-width: 360px) {
    /* สำหรับมือถือ */
    .container {
        width: 100%;
        height: 754px;
        border: 1px solid #F1F1F180;
        padding: 20px;
        flex-shrink: 0;
    }

    #registerForm,
    .btn {
        width: 100% !important;
    }
}

/* กำหนดความสูงให้สามารถเลื่อนอ่านเนื้อหาก่อนที่จะสามารถคลิก checkbox ได้ */
.agreement-content {
    max-height: 600px;  /* กำหนดความสูงสูงสุดที่สามารถเลื่อนอ่านได้ */
    overflow-y: auto; /* ให้สามารถเลื่อนอ่านได้ */
    margin-bottom: 20px;
}

@media only screen and (max-width: 360px) {
    .agreement-content {
        max-height: 200px; 
    }
}

.checkbox-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-disabled {
    pointer-events: none; /* ปิดการคลิกในขณะที่ไม่ถึงจุดสุดท้าย */
    opacity: 0.5;
}

.form-check-input:checked {
    background-color: #EB0A1E;
    border-color: #EB0A1E;
}

#agreeButton {
    width: 100% !important;
    margin-top: 5px;
}
