/* ------------------------------------ Body --------------------------------------------- */
.login-form-group {
    width: 750px;
    height: 550px;
    margin: 0 auto;
    position: absolute;
    top: 45%;
    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%;
}

.btn-primary {
    color: #fff;
    background-color: #3284db;
    border-color: #3284db;
}

.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;
}


/* ปรับสำหรับหน้าจอโทรศัพท์ */
@media (max-width: 768px) {
    .login-form-group {
        width: 360px;
        margin: 0px auto;
        top: 50%;
        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;
    }
}

/* ------------------------------------ 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: 48px;
    margin-top: 43px;
    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 --------------------------------------------- */







/* ------------------------------------ pop up --------------------------------------------- */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-info {
    background-color: #fff;
    margin: 3% auto; 
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-info .close:hover,
.modal-info .close:focus {
    color: #000;
    text-decoration: none;
}

.boxinfo-scrollable {
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: sticky;
    top: 0;
    right: 16px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    color: #f73e3e;
    z-index: 999;
    display: inline-block;
}
/* ------------------------------------ pop up --------------------------------------------- */






/* ------------------------------------ Footer --------------------------------------------- */

.bg-dark {
    background-color: #000000 !important;
}

.text-muted {
    color: #ffffff !important;
}

.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;
}
/* ------------------------------------ End Footer --------------------------------------------- */





/* 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;
}