/* /Layout/MainLayout.razor.rz.scp.css */
html[b-k1stu04xd0], body[b-k1stu04xd0] {
    height: 100%;
    margin: 0;
}

.body[b-k1stu04xd0] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.main-content[b-k1stu04xd0] {
    display: flex;
    flex-grow: 1;
    flex-direction: row-reverse; /* RTL */
    overflow: hidden; /* Prevent body scrollbar from sidebar */
}

.main-area[b-k1stu04xd0] {
    flex-grow: 1;
    overflow-y: auto;
    /*padding: 10px;*/
}
/* /Layout/NavMenu.razor.rz.scp.css */
.app-title[b-mxmohs56ne] {
    color: #bfc14f;
    background-color: #0F2551;
    font-weight: bolder;
    font-size: 25px;
    padding: 7px 5px 5px 5px;
    border-bottom: 1px solid #E2E8F3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
}

.menu-item[b-mxmohs56ne] {
    display: flex;
    align-items: center;
    padding: 2px;
    border-bottom: 1px solid yellow;
    cursor: pointer;
    color: white;
    height: 35px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

    .menu-item:hover[b-mxmohs56ne] {
        color: yellow;
        background-color: #005f97;
    }

    .menu-item.parent[b-mxmohs56ne] {
        height: 40px;
        font-size: 19px;
    }
    .menu-item.sub[b-mxmohs56ne] {
        padding-right: 20px;
           font-size: 15px;
 }

    .menu-item i[b-mxmohs56ne] {
        font-size: 24px;
        margin-right: 10px;
    }

.menu-text[b-mxmohs56ne] {
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.navmenu-container[b-mxmohs56ne] {
    position: relative;
    width: 222px;
    background-color: #2c3e50;
    color: white;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%; /*100vh; /* Ensure full viewport height */
    /*overflow: hidden;*/ /* Prevent outer scroll */
}

    .navmenu-container.collapsed[b-mxmohs56ne] {
        width: 45px; /* smaller width when collapsed */
        font-size: 20;
    }

.menu-content[b-mxmohs56ne] {
    flex-grow: 1;
    width: 100%;
    overflow-y: auto; /* Enable vertical scrolling when needed */
}

.collapse-button[b-mxmohs56ne] {
    position: absolute;
    top: 50%;
    left: -15px; /* now on the left of the menu */
    transform: translateY(-50%);
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    font-size: 16px;
}

    .collapse-button :hover[b-mxmohs56ne] {
        color: yellow;
    }

.menu-content[b-mxmohs56ne]::-webkit-scrollbar {
    width: 8px;
}

.menu-content[b-mxmohs56ne]::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/* optional: when collapsed hide text */
.navmenu-container.collapsed .app-title[b-mxmohs56ne],
.navmenu-container.collapsed .nav-scrollable[b-mxmohs56ne] {
    display: none;
}
/* /Layout/TopBar.razor.rz.scp.css */
.topbar[b-rjl5d9xuyb] {
    background-color: #e9edf3;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    color: #01024f;
    padding: 0 2px;
    position: relative;
    min-width: 100%;
}

.topbar-section[b-rjl5d9xuyb] {
    display: flex;
    align-items: center;
}

    .topbar-section.right[b-rjl5d9xuyb] {
        width: 25%;
    }

    .topbar-section.left[b-rjl5d9xuyb] {
        width: 25%;
        justify-content: end;
        padding-left: 20px;
    }

    .topbar-section.center[b-rjl5d9xuyb] {
        width: 50%;
        justify-content: center;
        text-align: center;
    }

.app-name[b-rjl5d9xuyb],
.company-name[b-rjl5d9xuyb] {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 10px;
}

.company-info[b-rjl5d9xuyb] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.branch-name[b-rjl5d9xuyb] {
    font-size: 0.85rem;
    color: #808080;
    margin-top: 2px;
}

.user-name[b-rjl5d9xuyb] {
    margin-right: 10px;
    font-weight: bold;
}

.app-logo[b-rjl5d9xuyb] {
    height: 50px;
}

    .app-logo:hover[b-rjl5d9xuyb] {
        /*border:1px solid yellow;
        height: 52px;*/
    }

.icon.user-image[b-rjl5d9xuyb] {
    height: 42px;
    width: 42px;
    border-radius: 50%;
    cursor: pointer;
}

.user-dropdown[b-rjl5d9xuyb] {
    position: relative;
}

.dropdown-menu[b-rjl5d9xuyb] {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: white;
    color: black;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 150px;
    display: none;
    flex-direction: column;
    z-index: 10000;
    direction: rtl;
    text-align: right;
}

    .dropdown-menu a[b-rjl5d9xuyb] {
        padding: 10px;
        text-decoration: none;
        color: #333;
        border-bottom: 1px solid #eee;
    }

        .dropdown-menu a:last-child[b-rjl5d9xuyb] {
            border-bottom: none;
        }

        .dropdown-menu a:hover[b-rjl5d9xuyb] {
            background-color: #f0f0f0;
        }

    .dropdown-menu.show[b-rjl5d9xuyb] {
        display: flex;
    }
/* /Pages/Accounting/AccountTree.razor.rz.scp.css */
.account-tree-container[b-48giqdsgj4] {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px; /* prevent scrollbar overlay */
}

.account-tree[b-48giqdsgj4] {
    list-style: none;
    padding-left: 15px;
    margin: 0;
    text-align: left;
}

    .account-tree li[b-48giqdsgj4] {
        margin: 0;
        padding: 0;
    }

.tree-item[b-48giqdsgj4] {
    cursor: pointer;
    margin: 4px 0;
    display: flex;
    align-items: center;
}

    .tree-item:hover[b-48giqdsgj4] {
        color: navy;
        font-weight: bolder;
    }

    .tree-item.selected[b-48giqdsgj4] {
        background-color: #007bff;
        color: white;
        border-radius: 4px;
        /*padding: 2px 4px;*/
        font-weight: bolder;
    }
/* /Shared/MyCalendar.razor.rz.scp.css */
.calendar-icon[b-civx4fbq0r] {
    position: absolute;
    top: 22px;
    left: 8px;
    transform: translateY(-50%);
    z-index: 100;
    padding: 3px;
}

.calendar-popup[b-civx4fbq0r] {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 8px;
    z-index: 1000;
    width: 250px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.calendar-header[b-civx4fbq0r] {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 5px;
}

.calendar-table[b-civx4fbq0r] {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

    .calendar-table th[b-civx4fbq0r],
    .calendar-table td[b-civx4fbq0r] {
        width: 14.2%;
        height: 30px;
        cursor: pointer;
    }

        .calendar-table td.selected[b-civx4fbq0r] {
            background-color: lightblue;
            font-weight: bold;
        }

        .calendar-table td.empty[b-civx4fbq0r] {
            background-color: transparent;
            cursor: default;
        }
/* /Shared/NewCalendar.razor.rz.scp.css */
.calendar-container[b-6vh1en0b60] {
    width: 320px;
    border: 1px solid #ccc;
    font-family: Tahoma;
    direction: rtl;
    background-color: white;
}

.calendar-header[b-6vh1en0b60] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #99ccff;
    padding: 5px;
    font-weight: bold;
}

.nav-btn[b-6vh1en0b60] {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.month-label[b-6vh1en0b60] {
    font-size: 16px;
}

.calendar-days-header[b-6vh1en0b60] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: navy;
    color: white;
    text-align: center;
    padding: 5px 0;
    font-size: 14px;
}

.calendar-grid[b-6vh1en0b60] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-cell[b-6vh1en0b60] {
    border: 1px solid #ccc;
    height: 45px;
    padding: 2px;
    position: relative;
    text-align: right;
    font-size: 14px;
}

.gregorian-day[b-6vh1en0b60] {
    color: navy;
    font-size: 14px;
    display: block;
}

.hijri-day[b-6vh1en0b60] {
    color: maroon;
    font-size: 10px;
    position: absolute;
    bottom: 2px;
    left: 4px;
}
/* /Shared/Toast.razor.rz.scp.css */

.toast-message[b-d71en0n778] {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 10px;
    border-radius: 6px;
    color: white;
    z-index: 9999;
    font-size: 1rem;
    opacity: 0.70;
}

.toast-success[b-d71en0n778] {
    background-color: #106018;
    animation: fade-in-out-b-d71en0n778 5s ease-in-out forwards;
}

.toast-warning[b-d71en0n778] {
    background-color: #fff200;
    color: black;
    animation: fade-in-out-b-d71en0n778 9s ease-in-out forwards;
}

.toast-error[b-d71en0n778] {
    background-color: #8a141d;
    animation: fade-in-out-b-d71en0n778 9s ease-in-out forwards;
}

.toast-xbtn[b-d71en0n778] {
    border: 2px solid white; /* Border around the button */
    border-radius: 20%;
    color: white;
    background-color: transparent;
    font-size: 16px;
    font-weight: bold;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    margin-right: 20px; /* Space between the message text and the button */
    margin-left: 0px;
}

    .toast-xbtn:hover[b-d71en0n778] {
        background-color: rgba(255, 255, 255, 0.2); /* Slight hover effect */
    }

@keyframes fade-in-out-b-d71en0n778 {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 0.70;
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}
