.k-splitter {
    border: none !important;
}

.accessibility-bar {
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 3rem;
    text-align: left;
}

.accessibility-width {
    max-width: 80rem;
}

.accessibility-title {
    font-weight: 600;
    margin: 0px;
}

.page {
    margin-left: 8%;
    margin-right: 8%;
}

.content {
    margin-top: 8rem !important;
    padding-top: 2.5rem;
}

.content-extend {
    margin-bottom: 3rem;
}

.nav-bar {
    background-color: white;
    border-bottom: solid 1px #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 8%;
}

.language {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/*.nav-logo img {
    height: 50px;
}*/

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.nav-row {
    display: flex;
    justify-content: flex-end;
}

.nav-item {
    width: 100%; 
    margin: 5px 0; 
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
}

/* button:hover {
    background-color: #0056b3; 
} */

.nav-link {
    color: black;
    white-space: nowrap;
    margin-left: 5px;
    margin-right: 5px;
}

.nav-link:hover {
    color: black;
}

    /* 平版樣式 */
    @media (max-width: 1199px) {
        .nav-container {
            display: none;
        }

        .dropdown-menu {
            display: none;
            flex-direction: column;
            align-items: flex-start;
            position: fixed;
            top: 4.5rem;
            left: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-color: white;
            z-index: 1000;
            padding: 16px;
            border: none;
        }

        .dropdown-menu.show {
            display: flex;
        }

        .dropdown-divider {
            width: 100%;
            border-top: 1px solid rgb(107, 107, 107);
            margin: 10px 0;
        }

        .dropdown-button {
            display: block;
            background-color: white;
            color: black;
            border: none;
            padding: 0.375rem 0.75rem;
            font-size: 1rem;
            border-radius: 0.25rem;
            cursor: pointer;
        }

        .dropdown-button :active, .dropdown-button :focus {
            background-color: white !important;
            color: black;
            border: none;
            padding: 0.375rem 0.75rem;
            font-size: 1rem;
            border-radius: 0.25rem;
            cursor: pointer;
        }

        .nav-button {
            color: white;
            border: none;
            padding: 0.625rem 0.75rem;
            font-size: 0.875rem;
            border-radius: 0.25rem;
            cursor: pointer;
            width: 100%;
            text-align: center;
            margin: 5px 0;
            box-sizing: border-box;
        }

        #solid {
            background-color: #0056b3;
        }

        #outlined {
            background-color: #fff;
            border: 1px solid #0056b3;
            color: #0056b3;
        }
    }

    /* 手機版樣式 */
    @media (max-width: 768px) {
        .nav-logo > img {
            height: 2em !important;
        }

        .dropdown-menu {
            top: 4rem;
        }

        .page {
            margin-left: 2%;
            margin-right: 2%;
        }

        .page-home {
            min-height: 145vh;
        }

        .content {
            margin-top: 3rem !important;
        }

        .content-extend {
            margin-bottom: 10rem !important;
        }

        .footer-text {
            display: none;
        }

        .accessibility-bar {
            display: flex;
            flex-direction: row !important;
            justify-content: space-between;
            align-items: center;
            margin-top: 0rem;
        }

        .accessibility-title {
            margin: 0;
            padding-left: 10px;
        }

        .Accessibility-text {
            display: none;
        }

        .Accessibility-icon {
            display: block;
            padding-right: 10px;
            cursor: pointer;
        }
    }

    @media (min-width: 1200px) {
        .dropdown-button {
            display: none !important;
        }

        .Accessibility-icon {
            display: none !important;
        }
    }

    @media screen and (min-width: 1920px) {
        html {
            font-size: 1.125rem; /* 讓 Windows 100% 縮放時變大 */
        }
    }

    .customized-loader-container.k-loader-container {
        position: fixed;
    }

/* ================================================
   全站所有 Telerik Blazor Grid 的焦點樣式
   ================================================ */

.k-grid th.k-focus,
.k-grid td.k-focus,
.k-grid td:focus-within {
    outline: none;
    box-shadow: inset 0 0 0 2px #ff6f00, 0 0 0 4px rgba(255, 111, 0, .35);
    background-color: #fff3e0;
}

/* ================================================
   WCAG: 2.5.8 Target Size (Minimum)
   ================================================ */
a {
    padding: 4px;
}

/* ================================================
   全站所有 Telerik Radio 樣式
   ================================================ */
.k-radio {
    border-width: 2px !important;
    border-color: gray !important;
}

/* ================================================
   全站所有 Telerik checkbox 樣式
   ================================================ */
.k-checkbox {
    border-width: 2px !important;
    border-color: gray !important;
}

/* ================================================
WCAG 2.2 成功準則 2.4.7：Focus Visible（焦點可見）
    UserWayReport: Visible focus indicator is missing
================================================ */
button:focus,
.k-button:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

/* ================================================
WCAG 2.2 成功準則 2.4.7：Focus Visible（焦點可見）
    UserWayReport: Visible focus indicator is missing
================================================ */
.k-inputinner:focus,
.k-input-inner:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}