
.rz-tabview-panel {
    height: 100%;
    padding: var(--rz-tabs-padding);
}

html, body {
    font-family: "Noto Kufi Arabic", serif;
}
.text-center {
    position: relative; /* Ensure the button is positioned relative to this container */
}

.hover-button {
    position: absolute; /* Position the button absolutely within the container */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center the button */
    display: none; /* Hide by default */
    padding: 10px 20px; /* Add padding to the button */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: white; /* Button text color */
    border: none; /* Remove border */
    border-radius: 5px; /* Round corners */
    cursor: pointer; /* Hand cursor on hover */
}
body .ui-dialog:first-of-type {
    top: 10px !important;
    transform: translateY(0%) !important;
}
.text-center:hover .hover-button {
    display: block; /* Show button on image hover */
}
.tree {
    position: relative;
}
.tree .droppable * {
    pointer-events: none;
}
.tree .dragging {
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
}
.tree-list {
    position: relative;
    display: inherit;
    list-style: none;
    padding-left: 24px;
}
.tree-list:first-child {
    padding-left: 0;
}
.tree-node-content {
    display: inherit;
    border-radius: var(--border-radius-md);
    padding: 3px 6px;
}
.tree-label {
    position: relative;
    user-select: none;
    margin: 0;
}
.touchevents .tree-label {
    pointer-events: none;
}
.tree-pointer, .tree-selectable {
    cursor: pointer;
}
.tree-highlight.tree-node-content:not(.tree-selected, .tree-disabled):hover {
    background-color: rgba(0, 0, 0, 0.08);
}
.tree-selected {
    background-color: rgba(51, 51, 51, 0.08);
}
.tree-dim {
    opacity: 0.6;
}
.tree-icon {
    display: inline;
    margin-right: 5px;
}
.tree-link {
    text-decoration: none !important;
    color: inherit;
}
.tree-name {
    display: inline-flex;
}
.tree-num {
    display: inline-flex;
    margin-left: 3px;
}
.tree-expander-container {
    display: inline-block;
    min-width: 18px;
    width: 18px;
    text-align: center;
}
.tree-expander {
    cursor: pointer;
    font-size: 12px;
}
.tree-leaf-left {
    display: inline-block;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}
.tree-text {
    pointer-events: auto;
}
.tree-noleaf-text {
    font-weight: 500;
}
.tree-vline {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
    width: 0;
    border-left: 1px solid #dee2e6;
    height: calc(100% - 12px);
}
.tree-hline .tree-node:before {
    content: "";
    position: absolute;
    left: 12px;
    width: 14px;
    height: 0;
    margin-top: 13px;
    border-top: 1px solid #dee2e6;
}
.tree-state-onoff-checkbox {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
    margin: 0;
}
.tree-state-onoff:before {
    content: "";
    float: left;
    height: 18px;
    width: 18px;
    border-radius: 5px;
    border: 2px solid #dee2e6;
    background-color: #fff;
    margin: 5px 0 0 5px;
}
.tree-state-onoff:after {
    position: absolute;
    display: block;
}
.tree-state-onoff.on:after, .tree-state-onoff.in-on:after {
    content: "";
    top: 8px;
    left: 11px;
    width: 6px;
    height: 10px;
    transform: rotate(45deg);
    border: 2px solid #dee2e6;
    border-width: 0 3px 3px 0;
}
.tree-state-onoff.on:before, .tree-state-onoff.on:after, .tree-state-onoff.in-on:before, .tree-state-onoff.in-on:after {
    border-color: #009e74;
}
.tree-state-onoff.off:before, .tree-state-onoff.in-off:before {
    border-color: #e11;
}
.tree-state-onoff.in-on:before, .tree-state-onoff.in-on:after, .tree-state-onoff.in-off:before, .tree-state-onoff.in-off:after {
    opacity: 0.3;
}
.tree-state-onoff-active {
    cursor: pointer;
}
.tree-state-onoff-active:hover:before {
    box-shadow: 0 0 4px rgba(238, 155, 0, .8);
    transition: box-shadow 0.1s linear;
}
.tree-state-checkbox {
    position: relative;
    top: 2px;
    width: 16px;
    height: 16px;
    margin: 0 5px;
}
.tree-state-checkbox:not([disabled]):hover {
    cursor: pointer;
}
.tree-line-indicator, .tree-over-indicator {
    position: absolute;
    top: -100px;
    z-index: 9999;
    pointer-events: none;
}
.tree-line-indicator {
    height: 1px;
    background: radial-gradient(ellipse at right, #fff 5%, rgba(0, 158, 116, 0.8) 100%);
}
.tree-line-indicator:before {
    position: absolute;
    display: block;
    content: '';
    top: -4px;
    left: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid #009e74;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}
.tree-over-indicator {
    content: '';
    border: 1px solid #009e74;
    border-radius: var(--border-radius-md);
}
[dir=rtl] .tree-list {
    padding-right: 24px;
}
[dir=rtl] .tree-list:first-child {
    padding-right: 0;
}
[dir=rtl] .tree-icon {
    margin-right: inherit;
    margin-left: 5px;
}
[dir=rtl] .tree-num {
    margin-right: 3px;
    margin-left: 0;
}
[dir=rtl] .tree-vline {
    left: 0;
    right: 12px;
}
[dir=rtl] .tree-hline .tree-node:before {
    left: 0;
    right: 12px;
}
[dir=rtl] .tree-state-onoff:before {
    float: right;
    margin: 5px 5px 0 0;
}
[dir=rtl] .tree-state-onoff.on:after, [dir=rtl] .tree-state-onoff.in-on:after {
    left: 0;
    right: 11px;
}
[dir=rtl] .tree-line-indicator {
    background: radial-gradient(ellipse at left, #fff 5%, rgba(0, 158, 116, 0.8) 100%);
}
[dir=rtl] .tree-line-indicator:before {
    border-right: 5px solid #009e74;
    border-left: none;
    left: 0;
    right: -8px;
}
[dir=rtl] .rz-text-align-left {
    text-align: right;
}
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    font-size: 1.5rem;
    color: #555;
}
.sticky-buttons {
    position: sticky;
    background-color: #f1f1f1;
    padding: 10px;
    top: 200px;
    text-align: center;
    border-bottom: 2px solid #ddd;
    z-index: 999; /* Lower than header to avoid overlap  calc(100% - 40px); */
}

.sticky-buttons button {
    margin: 0 5px;
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.sticky-buttons button:hover {
    background-color: #0056b3;
}
.rz-grid-table thead {
    position: sticky;
    top: 0;
    height:60px;
    z-index: 2;
}
td span.rz-cell-data {
    margin-left: -5px;
    margin-right: -5px;
    margin-top: -5px;
    margin-bottom: -5px;
}
 /*Remove outer padding and background*/
.custom-upload-button .rz-upload-btn {
    background-color: #007bff; /* Button color */
    color: white; /* Text color */
    border: none; /* Remove border */
    padding: 10px 20px; /* Adjust padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor */
    font-size: 16px; /* Font size */
}

    .custom-upload-button .rz-upload-btn:hover {
        background-color: #0056b3; /* Hover color */
    }

    .custom-upload-button .rz-upload-btn:focus {
        outline: none; /* Remove focus outline */
    }

.custom-upload-button .rz-fileupload-buttonbar {
    padding: 0;
    background: none;
}

.custom-upload-button .rz-button {
    background-color: #007bff;
    outline-color: #007bff;
    outline-offset: 0;
}
@font-face {
    font-family: 'saudi_riyal';
    src: url('../fonts/saudi_riyal.woff2') format('woff2'), url('../fonts/saudi_riyal.woff') format('woff'), url('../fonts/saudi_riyal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.icon-saudi_riyal::before {
    content: "\e900";
    font-family: 'saudi_riyal' !important;
    font-size: inherit;
    color: inherit;
}

.dialog-top {
    top: 10px !important;
    transform: translateY(0%) !important;
}
/*.custom-upload .rz-fileupload-choose {
    background: none;
    padding: 0 !important;
}

.custom-upload .rz-fileupload-choose:active {
    background: none !important;
    box-shadow: none !important;
}*/

/*.custom-upload .rz-button-icon-left {
    display: inline-block !important;
    color: #000;
    font-size: 32px !important;
    width: 32px !important;
}
*/

/*.custom-upload .rz-button-icon-left::before {
    content: 'attach_file';
}*/