﻿body {
    overflow-x: hidden !important;
}

.desktop-view {
    display: block;
    width: 100%;
}

.mobile-view {
    display: none;
    width: 100%;
}

.mobile-full-button-height {
    height: 45px;
}

.main-nav-position {
    position: fixed;
    bottom: 0px;
    left: 15px;
    right: 15px;
    height: 80px;
    border-width: 2px;
    background-color: white;
    border-color: lightgray;
    padding: 15px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.main-nav-selected-item {
    color: blueviolet !important;
}

.main-nav-not-selected-item {
    color: gray !important;
}

.dashboard-chart-position {
    position: fixed;
    bottom: 90px;
    left: 0px;
    right: 0px;
    height: 320px;
}

.app-main {
    position: fixed;
    bottom: 0px;
    top: 45px;
    left: 0px;
    right: 0px;
    background-color: white;
    overflow-x: hidden;
}

.dashboard-counter {
    cursor: pointer;
    border-radius: 20px;
    border-top-width: 10px;
    border-top-color: blueviolet;
}

.mobile-cardtable {
    position: absolute;
    top: 0px;
    bottom: 80px;
    left: 0px;
    right: 0px;
}

.mobile-request-filter-bar {
    height: 60px;
    color: gray;
    border-bottom-width: 2px;
    border-bottom-color: lightgray;
    border-top-width: 5px;
    border-top-color: lightgray;
}

.mobile-request-filter-bar-item {
    padding: 0px;
    margin: 0px;
    border-left-width: 2px;
    border-left-color: lightgray;
}

.mobile-request-not-selected-filter-item {
    color: gray !important;
}

.mobile-request-selected-filter-item {
    color: blueviolet !important;
}

.mobile-request-filter-bar-item-seperator {
    border-left-width: 2px;
    border-left-color: lightgray;
}

.mobile-request-container {
    position: absolute;
    top: 140px;
    bottom: 10px;
    left: 0px;
    right: 0px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 15px;
    padding-top: 10px;
    padding-left: 15px;
}

.mobile-loading-position {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-20px,-20px);
}

.mobile-request-card {
    border-width: 1px;
    border-color: lightgray;
    border-right-color: blueviolet;
    border-right-width: 15px;
    border-bottom-right-radius: 15px !important;
    border-top-right-radius: 15px !important;
    margin-top: 5px;
    margin-bottom: 5px;
}

.mobile-request-card-item-caption {
    font-size: 1em !important;
}

.mobile-request-card-item-value {
    font-size: 1em !important;
    font-style: italic;
}

.request-operation-panel {
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 60px;
}

.drawer-menu-item {
    font-size: 16px !important;
}

.page-container {
    display: flex;
    flex-direction: column;
    position: absolute;
    padding: 5px; /* اگر Border در MudPaper داری، مراقب باش */
    bottom: 90px;
    left: 20px;
    right: 20px;
    top: 20px;
}

.page-content {
    flex: 1 1 auto; /* بخش بالا تمام باقی مانده صفحه رو بگیره */
    overflow-y: auto; /* اگر محتوا زیاد شد اسکرول بشه */
    padding: 5px;
    overflow-x: hidden;
}

.scrollable {
    scrollbar-width: none; /* مناسب فایرفاکس */
    -ms-overflow-style: none; /* مناسب اینترنت اکسپلورر/اِج قدیمی */
}

    /* مناسب WebKit (کروم، سافاری) */
    .scrollable::-webkit-scrollbar {
        display: none;
    }
.bottom-btn {
    margin-bottom: 5px;
    /* برای اطمینان از فاصله از کناره ها (اختیاری): */
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
    border-radius: 8px;
    height: 60px;
}
@media (max-width:768px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
        width: 100%;
    }

    .mobile-full-button-height {
        width: 100% !important;
    }

    .mobile-request-card-item-caption {
        font-size: 1em !important;
    }

    .mobile-request-card-item-value {
        font-size: 1em !important;
        font-style: italic;
    }
}
