/* Import ฟอนต์ Kanit จาก Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;700&display=swap');


body {
    font-family: 'Kanit', sans-serif; /* เรียกใช้ฟอนต์ Kanit */
    color: #333;
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    height: 100vh; /* Full viewport height */
    margin: 0px; /* Remove default margin */
    background-color: #ffffff; /* Dark background for contrast */
    text-align: center; /* Center text inside the body */
}






    .custom-alert {
        font-family: kanit, sans-serif;
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fefefe;
        border-radius: 10px;
        box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
        width: 300px;
        z-index: 1000;
    }

    .alert-header {
        background-color: #4CAF50;
        color: white;
        padding: 10px;
        text-align: left;
        border-radius: 10px 10px 0 0;
        position: relative;
    }

    .alert-body {
        padding: 20px;
        font-size: 16px;
        text-align: center;
    }

    .alert-footer {
        text-align: center;
        padding: 10px;
        border-top: 1px solid #ddd;
    }

    .alert-button {
        font-family: kanit, sans-serif;
        background-color: #4CAF50;
        color: white;
        padding: 10px 20px;
        border: none;
        cursor: pointer;
        border-radius: 5px;
    }

    .alert-button:hover {
        background-color: #45a049;
    }

    .close-alert {
        position: absolute;
        top: 5px;
        right: 10px;
        background: none;
        border: none;
        font-size: 20px;
        color: white;
        cursor: pointer;
    }

    .close-alert:hover {
        color: #bbb;
    }



    