/* public/sneat/css/customAdmin.css */

/* 麵包屑的字的間距 */
.breadcrumb-adjust {
    padding-top: 0.5rem; /* 可依實際需求調整 */
}

.daterangepicker.dropdown-menu {
    z-index: 9999 !important;
}

/* for daily_reports */
input[type="datetime-local"] {
    min-width: 250px;
}
/* for edi_order_detail */
.order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: 59px;
    height: 24px;
    padding: 2px 10px;
    font-size: 14px;
    border-radius: 4px; /* 對應 border-radius-sm */
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

/*  edi_order_detail 狀態顏色類別 */
.order-badge-not-accepted,
.order-badge-editing { background-color: #99A7C8; }
.order-badge-scheduling,
.order-badge-scheduled,
.order-badge-picking-up,
.order-badge-in-transit,
.order-badge-transport { background-color: #FFB100; }
.order-badge-completed { background-color: #1F9B77; }
.order-badge-cancelled { background-color: #99A7C8; }
.order-badge-abnormal,
.order-badge-invalid-order,
.order-badge-returned { background-color: #EF4B61; }

/*  edi_order_detail table 縱線 */
.th-separator {
    position: relative;
}

.th-separator::after {
    content: '';
    position: absolute;
    top: 30%;   /* 讓線段不頂到上緣 */
    bottom: 30%; /* 讓線段不貼下緣 */
    right: 0;
    width: 2px;
    background-color: #22303E1F; /* 淡灰色分隔線 */

}

.menu-super {
    background-color: #4168D4 !important;
}

/* === 主選單項目（未點開） === */
.menu-super .menu-item:not(.open)>.menu-link {
    color: #FFFFFF !important;
}

/* === 主選單項目 hover（未點開） === */
.menu-super .menu-item:not(.open):hover>.menu-link {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #4168D4 !important;
}

/* === 主選單項目 active（含 dropdown）=== */
.menu-super .menu-item.active>.menu-link,
.menu-super .menu-item.menu-dropdown.active>.menu-link {
    color: #4168D4 !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.menu-super .menu-item.open>.menu-link {
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* === 子選單項目（未點擊） === */
.menu-super .menu-sub .menu-item>.menu-link,
.menu-super .menu-sub .menu-item>.menu-link i,
.menu-super .menu-sub .menu-item>.menu-link div {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* === 子選單項目 hover === */
.menu-super .menu-sub .menu-item:hover>.menu-link,
.menu-super .menu-sub .menu-item:hover>.menu-link i,
.menu-super .menu-sub .menu-item:hover>.menu-link div {
    color: #4168D4 !important;
}

/* === 子選單項目 active === */
.menu-super .menu-sub .menu-item.active>.menu-link,
.menu-super .menu-sub .menu-item.active>.menu-link i,
.menu-super .menu-sub .menu-item.active>.menu-link div {
    background-color: #6786DD !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.menu-sub .menu-item.active>.menu-link {
    background-color: rgba(34, 48, 62, 0.06) !important;
}