﻿/* ================================================
   多語系樣式 - Multilingual Styles
   ================================================ */

/* 語言切換按鈕 - 主版頁面 (MasterPage) */
/* 繼承 .lang a 的大小與形狀，僅覆蓋顏色 */
.lang a.lang-btn {
    background: none; /* 移除原本的橘色漸層背景圖 */
    background-color: #999; /* 未選取：灰色 (可依需求調整深淺，如 rgba(0,0,0,0.3)) */
    border-color: #888; /* 未選取：灰色邊框 */
}

    .lang a.lang-btn:hover {
        /* 保持原本的 margin-top 動畫，僅改變顏色 */
        background-color: #777;
        color: #fff;
    }

    /* 選取狀態 (Active) */
    .lang a.lang-btn.active {
        background-color: #337ab7; /* 選取：藍色 */
        border-color: #2e6da4; /* 選取：藍色邊框 */
    }

        .lang a.lang-btn.active:hover {
            background-color: #286090;
        }

/* 語言切換按鈕 - 登入頁面專用 (index.aspx) */
.lang-switch {
    text-align: left;
    margin-bottom: 15px;
    padding-left: 0;
}

    .lang-switch a {
        color: #fff;
        text-decoration: none;
        padding: 8px 15px;
        margin: 0 5px;
        border-radius: 5px;
        background-color: rgba(0, 0, 0, 0.3);
        font-size: 14px;
        font-weight: bold;
        display: inline-block;
        min-width: 60px;
        text-align: center;
        line-height: 1;
    }

        .lang-switch a:hover {
            background-color: rgba(238, 238, 238, 0.9);
            color: #333;
        }

        .lang-switch a.active {
            background-color: #337ab7;
            color: #fff;
        }
