/* ========================================
   Mobile Layout 專用樣式
   使用 .wrapper 容器限制範圍，避免污染 SystemGlobalLayout
   ======================================== */

.wrapper .mud-main-content {
    /* 這裡這樣寫是為了讓他的 footer 壓到下面 */
    min-height:700px; 
    padding-top: 1.5rem !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ========================================
   EywaLinkSystemGlobalLayout - 全域樣式
   讓 Footer 固定在視窗底部（Sticky Footer）
   ======================================== */

/* MudLayout 容器 - 確保佔滿整個視窗並使用 flexbox */
.mud-layout {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

/* sys-layout-wrapper - 主要內容區域，填滿剩餘空間 */
.sys-layout-wrapper {
    flex: 1 1 auto !important;
}

/* Footer 樣式 - 確保不會收縮且推到底部 */
.mud-layout > .mud-appbar-bottom {
    flex-shrink: 0 !important;
    margin-top: auto !important;
}

.page-title {
    position: relative;
    background-color: rgb(var(--white-color));
    display: inline-block;
    padding: .75rem 0 .75rem 1.5rem;
    border-top-left-radius: var(--raduis-sm);
    z-index: 1;
    /* 標題頁籤底邊剛好貼齊下方白色內容區頂部：只留 1px 重疊防縮放時的細縫。
       不可改用負的 margin-top 把整排往上移：Layout 的 .sys-body-wrapper 有
       overflow-x:hidden，會讓 overflow-y 變成 auto，突出容器上緣的頁籤會被裁掉。 */
    margin-bottom: -1px;
    font-weight: bold !important;
}

.page-title::after {
    content: "";
    position: absolute;
    background: url(/images/page-title.svg) no-repeat;
    background-size: contain;
    background-position: 100%;
    width: 100%;
    height: 100%;
    top: 0;
    left: 45px;
    z-index: -1;
}

/* 內容白卡左上角要切平：頁籤貼在白卡頂部，左上圓角會在頁籤下方露出灰色缺口 */
.page-content.mud-paper {
    border-top-left-radius: 0 !important;
}

/* 這個 .page-content.mud-paper 是給 Mobile Layout 用的 MudPaper 元件 */
.wrapper .page-content.mud-paper {
    padding: 1.5rem;
    border-radius: var(--raduis-sm) !important;
    border-top-left-radius: 0 !important;
    min-height: 192px;
}

.wrapper .page-content .mud-layout {
    height: auto;
    color: #999 !important;
}

.icon-menu {
    align-self: flex-start !important;
}

.icon-menu .mud-svg-icon {
    padding: .25rem;
}

.icon-menu .mud-button {
    border-radius: 100px !important;
}

.icon-menu .mud-button:hover {
    background-color: transparent !important;
    opacity: .7;
}

.mud-list-item-icon {
    min-width: auto !important;
    margin-right: .75rem;
}

.subpage-title .mud-typography {
    font-weight: 500;
}

.mud-snackbar-location-top-right {
    z-index: 11115 !important;
    top: auto !important;
    bottom: 24px !important;
}

.hint-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    padding: 4px 8px;
    margin: 0 4px;
}


/*原先的*/