﻿.activeTableRow {
    background-color: cornflowerblue;
}

.ui-dialog-open *:not(.ui-dialog, .ui-dialog *) {
    pointer-events: none;
    user-select: none;
}

.tab {
    position: relative;
    padding-right: 20px;
    /* مساحة لعلامة الإغلاق */
    cursor: pointer;
}

    .tab .close-tab {
        position: absolute;
        right: 5px;
        top: 2px;
        color: red;
        font-weight: bold;
        cursor: pointer;
    }

/* زر القائمة */
.mobile-menu-toggle {
    display: none;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

/* القائمة ككل */
.mobile-menu {
    display: none;
    padding: 0;
    list-style: none;
}

    /* القوائم الفرعية */
    .mobile-menu .hidden-ul {
        display: none;
        padding-left: 20px;
    }

    /* تنسيق للعنصر المفتوح */
    .mobile-menu li.open > .hidden-ul {
        display: block;
    }

    /* مظهر العنصر الرئيسي */
    .mobile-menu a {
        display: block;
        padding: 10px;
        text-decoration: none;
        border-bottom: 1px solid #eee;
        color: #333;
    }

/* أظهر زر القائمة عند الشاشات الصغيرة */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    button.mobile-menu-toggle {
        width: 100%;
        background-color: #F6F3FB;
        margin-bottom: 5px;
        border-radius: 20px;
        color: #ff7a00;
        display: flex;
        align-items: center;
    }

    .search-bar-container {
        width: 100%;
        float: left;
    }

    .navigation li a {
        color: #000;
        width: 100% !important;
    }

    .page-content.master {
        display: block;
    }

    .navigation.navigation-main.navigation-accordion.mobile-menu.show {
        width: 100%;
        float: left;
        z-index: 10000;
    }

    .navbar-header {
        width: auto;
        display: inline-block;
        display: none !important;
    }

    .mobile-menu {
        display: none;
        background: #fff;
        border: 1px solid #ccc;
        margin-top: 5px;
    }

        .mobile-menu.show {
            display: block;
        }
}

.tabs-container {
    margin-bottom: 20px;
}

/*-- ----------------------tabs------------------ */

.tabs-container {
    overflow-x: auto;
    direction: rtl; /* مهم عشان يبدأ من اليمين */
    -webkit-overflow-scrolling: touch;
}

.tabs {
    display: inline-flex;
    min-width: max-content;
    direction: ltr; /* مهم عشان عناصر التابات تبقى ترتيبها صحيح */
}

.master .tabs {
    display: inline-flex;
    float: left;
}

@media (max-width: 767px) {
    div#tabsWrapper {
        float: none;
    }

    .sidebar.sidebar-main {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
    }

        .sidebar.sidebar-main.mobile-visible {
            transform: translateY(0);
        }

    .floating-toggle-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #007bff;
        color: #fff;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1100;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        cursor: pointer;
    }

        .floating-toggle-btn i {
            font-size: 20px;
        }
}

ul.breadcrumb .icon-coin-dollar:before {
    background: url(/assets/img/icon2.png) no-repeat center center;
    content: "" !important;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    display: block;
}

ul.breadcrumb *{color:black !important}

ul.breadcrumb i.glyphicon.glyphicon-cog:before {
    background: url(/assets/img/icon2.png) no-repeat center center;
    content: "" !important;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    display: block;
}



ul.breadcrumb i.glyphicon.glyphicon-arrow-left {display:none}