#languagebtn {
    width: 22px;
    height: 22px;
    margin-right: 2.5rem;
    margin-left: 2.5rem;
    background-image: url('/images/icon_language_0.png');
}

    #languagebtn:hover .language_ul,
    .language_ul:hover {
        display: block;
    }

.language_ul {
    display: none;
    list-style-type: none;
}

    .language_ul li {
        top: 30px;
        left: -60px;
        width: 150px;
        background-color: #ccc;
        border: 1px solid #aaa;
        z-index: 1000;
        marker: none;
        text-align: center;
    }

.language_text {
    display: none;
}

.logo img {
    max-height: 90px;
}

.loading-page {
    width: 100vw;
    height: 100vh;
    background-color: #1e8934;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed; /* 確保覆蓋整個畫面 */ 
    top: 0;
    left: 0;
    z-index: 9999;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top: 6px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px; /* 與文字間距 */
}

.loading-text {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media(max-width: 1100px) {
    header .wrapper .headertop .logo {
        margin-top: 5px !important;
    }

    header .wrapper .headertop .logo a img {
        max-width: none !important;
        max-height: 24px;
    }

    #languagebtn
    {
        display: flex; /* 彈性排版讓icon/文字水平並排 */
        align-items: center; /* 垂直置中 */
        justify-content: center; /* 水平置中 */
        padding: 8px 16px; /* 內距使內容不擁擠 */
        border: 2px solid #1abc9c; /* 綠色外框 */
        border-radius: 16px; /* 圓角 */
        background-color: #fff; /* 背景白色 */
        width: fit-content; /* 寬度根據內容自動調整 */
        margin: 0 auto; /* 區塊置中（若有父級區塊限制寬度） */
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04); /* 小陰影更好看 */
        position: relative;
        background-image: none;
    }

    .language_icon {
        width: 22px;
        height: 22px;
        display: inline-block;
        background-image: url('/images/icon_language_0.png');
        background-repeat: no-repeat;
        background-size: contain;
        margin-right: 8px; /* 圖片和文字之距離 */
    }

    .language_text {
        display: block;
        font-size: 16px;
        color: #009944; /* 綠色系，可以和外框呼應(可自訂) */
        font-weight: bold;
        letter-spacing: 0.5px;
    }

    /* 下拉選單相關（保持你的設定即可） */
    #languagebtn .language_ul {
        display: none;
        position: absolute;
        top: 110%;
        left: 0;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 8px;
        min-width: 120px;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        padding: 0;
        margin: 0;
        list-style: none;
    }

    #languagebtn:hover .language_ul,
    .language_ul:hover {
        display: block;
    }

    .language_ul li {
        top: 0px;
        left: 0px;
        width: auto;
        background-color: #fff;
        border: none;
        padding: 8px 16px;
    }

        .language_ul li a {
            color: #333;
            text-decoration: none;
            display: block;
            font-size: 15px;
        }

            .language_ul li a:hover {
                background: #e8f5e9;
                color: #11884b;
            }
}