/* ------------------------------------ Body --------------------------------------------- */
.login-form-group {
    width: 750px;
    height: 550px;
    margin: 0 auto;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    border: 2px solid white;
    border-radius: 40px;
    box-shadow: 0 0 10px rgb(9 115 199);
    z-index: 1;
}


/* เพิ่มเลเยอร์เบลอเฉพาะพื้นหลัง */
.login-form-group::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    z-index: -1;
    border-radius: 40px;
}

.login-form-group {
    display: flex;
}

.left {
    flex: 1;
    background-color: transparent;
    margin-top: 147px;
}

.right {
    flex: 1;
    background-color: rgb(255 255 255 / 62%);
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.body-content {
    position: relative;
    height: auto;
    min-height: -webkit-calc(100vh - 70px);
    min-height: -moz-calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    padding: 4px 0;
    padding-top: 50px;
    padding-bottom: 64px;
    /* background: linear-gradient(to right, #cce6fe, #003477) !important; */
    background-size: cover;
    background-repeat: no-repeat;
}

html,
body {
    font-family: Prompt, "Segoe UI", Tahoma, Geneva, Verdana, sans-seri;
    font-size: 1rem;
    background: linear-gradient(to right, #ffffff, #2e81d3) !important;
}

.container-flouid {
    position: fixed;
    background: linear-gradient(to right, #ffffff, #2e81d3) !important;
    color: white;
    padding: 14px 14px;
    text-align: right;
    bottom: 0;
    width: 100%;
}

#login-form-submit-bt {
    background-color: #1076fe;
    color: white;
    border: none;
}


.login-page::before {
    content: "";
    position: absolute;
    top: -105px;
    left: -493px;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgb(227 206 141 / 48%), transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* --------------------------------------------------------------- Container ปุ่มโซเชียล */
.social-buttons {
    position: fixed;
    bottom: 196px;
    right: 20px;
    display: flex;
    flex-direction: row; /* เปลี่ยนเป็น column ถ้าต้องการแนวตั้ง */
    gap: 10px;
    z-index: 9999;
}


.button .bloom-container {
    position: relative;
    transition: all 0.2s ease-in-out;
    border: none;
    background: none;
    z-index: 1;
}

.button .bloom-container .button-container-main {
    width: 75px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    display: grid;
    place-content: center;
    /* border-right: 5px solid white; */
    border-left: 5px solid rgba(128, 128, 128, 0.147);
    transform: rotate(-45deg);
    transition: all 0.5s ease-in-out;
}

.button .bloom-container .button-container-main .button-inner {
    height: 60px;
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    box-shadow: rgba(100, 100, 111, 0.5) -10px 5px 10px 0px;
    transition: all 0.5s ease-in-out;
}

.button .bloom-container .button-container-main .button-inner .back {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(60deg, rgb(17 83 231) 0%, rgb(255 147 147) 100%);

}

.button .bloom-container .button-container-main .button-inner .front {
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: linear-gradient(60deg, rgb(17 83 231) 0%, rgb(247 213 213) 100%);
    display: grid;
    place-content: center;
}

.button .bloom-container .button-container-main .button-inner .front .svg {
    fill: #ffffff;
    opacity: 0.5;
    width: 30px;
    aspect-ratio: 1;
    transform: rotate(45deg);
    transition: all 0.2s ease-in;
}

.button .bloom-container .button-container-main .button-glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.888) 100%);
    transform: translate(0%, -50%) rotate(0deg);
    transform-origin: bottom center;
    transition: all 0.5s ease-in-out;
}

.button .bloom-container .bloom {
    height: 1px;
    width: 1px;
    position: absolute;
    background: white;
}

.button .bloom-container:hover {
    transform: scale(1.1);
}

.button .bloom-container:hover .button-container-main .button-glass {
    transform: translate(0%, -40%);
}

.button .bloom-container:hover .button-container-main .button-inner .front .svg {
    opacity: 1;
    filter: drop-shadow(0 0 10px white);
}

.button .bloom-container:active {
    transform: scale(0.7);
}

.button .bloom-container:active .button-container-main .button-inner {
    transform: scale(1.2);
}

.btn-block {
    width: 100%;
    height: 39px;
    margin-bottom: 12px;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.btn-login {
    background-color: #1076fe;
    color: white;
}

.btn-login:hover, .btn-thaid:hover {
    background-color: #5e96eb;
}

.btn-thaid {
    background-color: #154483;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.thaid-icon {
    height: 24px;
    border-radius: 4px;
    width: auto;
    object-fit: contain;
}

/* ปรับสำหรับหน้าจอโทรศัพท์ */
@media (max-width: 768px) {
    .login-form-group {
        width: 360px;
        margin: 0px auto;
        top: 35%;
        left: 50%;
        background-color: rgb(201 246 255 / 16%);
        border-radius: 10px;
    }

    .form-header {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 25px;
        margin-top: -3px;
        position: relative;
    }

    #sidebarCollapse {
        display: none !important;
    }

    #sidebarCollapse {
        display: none !important;
    }

    .left,
    .login-page::before {
        display: none;
    }

    .right {
        width: 100%;
        background-color: transparent;
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    .social-buttons {
        position: fixed;
        bottom: 220px;
        flex-direction: row;
        gap: 10px;
        z-index: 9999;
    }
}

/* ------------------------------------ End Body  ------------------------------------------------ */





/* ------------------------------------ Animation BG --------------------------------------------------- */

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;

}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}

/* ------------------------------------ End Animation BG --------------------------------------------------- */








/* ------------------------------------ Icon --------------------------------------------- */

.form-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 36px;
    margin-top: 140px;
    position: relative;
}


.header-icon {
    font-size: 44px;
    color: #ffffff;
    background-color: #000000;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    background-color: #000000;
    border-radius: .25rem;
}

/* ------------------------------------ End Icon --------------------------------------------- */





/* ------------------------------------ Footer --------------------------------------------- */

.bg-dark {
    background-color: #000000 !important;
}

.text-muted {
    color: #ffffff !important;
}

/* ------------------------------------ End Footer --------------------------------------------- */

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1800px;
    margin: auto;
}

.footer-left {
    flex: 1 1 350px;
}

.footer-logo {
    width: 80px;
    margin-bottom: 10px;
}

.footer-left h3 {
    font-size: 22px;
    margin: 10px 0;
}

.footer-left p {
    font-size: 14px;
    margin: 6px 0;
}

.footer-right {
    flex: 1 1 500px;
}

.footer-right h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.map-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.map-gallery img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.map-gallery iframe {
    flex: 1 1 250px;
    min-height: 150px;
    border: none;
    border-radius: 8px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50%;
    transition: background 0.3s;
    width: 51px;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    /* text-align: center; */
    font-size: 13px;
    padding: 15px 10px 0;
    margin-top: 14px;
    border-top: 1px solid #ffffff55;
}

/* Responsive */
@media (max-width: 768px) {

    .footer-right {
        flex: 0 1 auto;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-gallery {
        flex-direction: column;
    }

    .map-gallery iframe {
        width: 100%;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.fa-toggle-off:before {
    content: "\f204";
    font-size: 20px;
    position: relative;
    left: 0px;
}

.fa-toggle-on:before {
    content: "\f205";
    color: #28a745;
    font-size: 20px;
}

.field-icon {
    float: right;
    margin-top: -27.3px;
}

.eye-password {
    text-align: center;
    width: 0em;
    margin-top: -28px;
    color: #000000;
    font-size: 20px;
    position: relative;
    left: -33px;
}


/* ---------- Floating Contact Button ---------- */
.main {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.up {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    z-index: 1;
}

.down {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    z-index: 1;
}

.card1 {
    width: 90px;
    height: 90px;
    outline: none;
    border: none;
    background: white;
    border-radius: 90px 5px 5px 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
}

.instagram {
    margin-top: 1.5em;
    margin-left: 1.2em;
    fill: #cc39a4;
}

.card2 {
    width: 90px;
    height: 90px;
    outline: none;
    border: none;
    background: white;
    border-radius: 5px 90px 5px 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
}

.twitter {
    margin-top: 1.5em;
    margin-left: -.9em;
    fill: #03A9F4;
}

.card3 {
    width: 90px;
    height: 90px;
    outline: none;
    border: none;
    background: white;
    border-radius: 5px 5px 5px 90px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
}

.github {
    margin-top: -.6em;
    margin-left: 1.2em;
}

.card4 {
    width: 90px;
    height: 90px;
    outline: none;
    border: none;
    background: white;
    border-radius: 5px 5px 90px 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
}

.discord {
    margin-top: -.9em;
    margin-left: -1.2em;
    fill: #8c9eff;
}

.card1:hover {
    cursor: pointer;
    scale: 1.1;
    background-color: #cc39a4;
}

.card1:hover .instagram {
    fill: white;
}

.card2:hover {
    cursor: pointer;
    scale: 1.1;
    background-color: #03A9F4;
}

.card2:hover .twitter {
    fill: white;
}

.card3:hover {
    cursor: pointer;
    scale: 1.1;
    background-color: black;
}

.card3:hover .github {
    fill: white;
}

.card4:hover {
    cursor: pointer;
    scale: 1.1;
    background-color: #8c9eff;
}

.card4:hover .discord {
    fill: white;
}