@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+Thai:wght@100..900&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

body {
    font-family: "Noto Sans Thai", sans-serif !important;
}

.otp-input {
    width: 40px !important;
    height: 50px !important;
    text-align: center;
    font-size: 20px;
    border: 2px solid #C4C4C4;
    border-radius: 8px;
}

.button {
    background: #F5F5F5;
    background: linear-gradient(90deg, rgba(245, 245, 245, 1) 0%, rgba(224, 224, 224, 1) 50%, rgba(245, 245, 245, 1) 100%);
    border: none;
    border-radius: 50px;
    border-style: solid;
    border-color: #C4C4C4;
    border-width: 1px;
    /* มนสุด */
    font-size: 18px;
    color: #000;
    /* ตัวอักษรสีดำ */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    /* เงาเบาๆ */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 12px 0px;
    width: 180px;
}

.button:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header nav a {
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
}

/* พื้นหลัง loader */
#loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
}

#loader.hidden {
    display: none;
}

.reotp-link {
    text-decoration: none;
}

@media (min-width: 576px) {
    header nav a {
        display: inline-block;
    }

    #logo img {
        display: inline-block;
        vertical-align: middle;
    }
}