* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Kanit;
}

body::-webkit-scrollbar {
    display: none;
}



.btn-shine {
    position: relative;
    margin: 0;
    padding: 10px 25px;
    outline: none;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
    background-color: #fff;
    border: 1px solid rgba(22, 76, 167, 0.6);
    border-radius: 10px;
    color: #1d89ff;
    font-weight: 400;
    font-family: inherit;
    z-index: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.btn-shine span {
    color: #164ca7;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.7px;
}

.btn-shine:hover {
    animation: rotate624 0.7s ease-in-out both;
}

.btn-shine:hover span {
    animation: storm1261 0.7s ease-in-out both;
    animation-delay: 0.06s;
}

@keyframes rotate624 {
    0% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }

    25% {
        transform: rotate(3deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(-3deg) translate3d(0, 0, 0);
    }

    75% {
        transform: rotate(1deg) translate3d(0, 0, 0);
    }

    100% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }
}

@keyframes storm1261 {
    0% {
        transform: translate3d(0, 0, 0) translateZ(0);
    }

    25% {
        transform: translate3d(4px, 0, 0) translateZ(0);
    }

    50% {
        transform: translate3d(-3px, 0, 0) translateZ(0);
    }

    75% {
        transform: translate3d(2px, 0, 0) translateZ(0);
    }

    100% {
        transform: translate3d(0, 0, 0) translateZ(0);
    }
}

.btn-shine {
    border: 1px solid;
    overflow: hidden;
    position: relative;
}

.btn-shine span {
    z-index: 20;
}

.btn-shine:after {
    background: #38ef7d;
    content: "";
    height: 155px;
    left: -75px;
    opacity: 0.4;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 50px;
    z-index: -10;
}

.btn-shine:hover:after {
    left: 120%;
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}

.profile-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: white;
    text-decoration: none;
    gap: 8px;
}

.profile-icon img {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.profile-icon span {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    color: rgba(255, 255, 255, 0.6);
}

.profile-icon span:hover {
    color: rgba(255, 255, 255);
}

.profile-container {
    position: relative;
    display: inline-block;
}


.dropdown-login {
    display: none;
    position: absolute;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-family: 'Kanit', sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 200px;
    top: 50px;
    /* ปรับตำแหน่งลงมาด้านล่าง */
}

.dropdown-login p {
    margin: 0 0 10px;
    font-size: 14px;
}

.dropdown-login a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
}

.dropdown-login a:hover {
    background-color: #333;
}