.ajaxLoader {
    background: url('../images/ajax-loader.gif') no-repeat center center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999999;
    background-color: #ffffff8c;
    display: none;
}

.commission-tbl td {
    /* padding-left: 5px !important; */
    /* padding-right: 5px !important; */
}

.commission-tbl td>input {
    /* padding-top: 3px !important; */
    /* padding-bottom: 3px !important; */
}

select.no-select {
    pointer-events: none;
}

.scrollable-div {
    height: 700px;
    overflow: auto;
}

ul.ui-autocomplete {
    z-index: 1100;
}

.help-block ul[role="alert"] {
    color: red !important;
}

.dt-wrap {
    white-space: normal !important;
    word-break: break-word;
}

input:read-only, textarea:read-only {
    background-color: #c9dcec47;
    opacity: 1;
    z-index: 1;

}
.progress {
    height: 30px;
    border-radius: 10px;
    background-color: #f2f2f2;
    /* Light background */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
}

.progress-bar {
    background-color: #28a745;
    /* Green background */
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    /* Smooth border radius */
    transition: width 0.5s ease-in-out;
    /* Smooth progress transition */
}
/* ---------------------------------------------------------------------------
 | Sidebar: an active submenu item you can actually see
 |
 | styles.css sets two rules that contradict each other for a submenu link:
 |
 |   .first-level .sidebar-item .sidebar-link.active   background: transparent
 |                                                     color: primary
 |   .sidebar-item > .sidebar-link.active iconify-icon color: white
 |
 | A submenu item matches both - it IS a .sidebar-item > .sidebar-link.active -
 | so its icon is painted white on a transparent background and disappears.
 | The label stays, the icon does not, and the row barely reads as selected.
 |
 | Fixed here rather than in styles.css because that file is the theme's and is
 | replaced wholesale when the theme updates; this one is ours and loads after
 | it. Scoped to the submenu case only, so a top-level active item keeps its
 | solid primary background and white icon exactly as before.
 * ------------------------------------------------------------------------ */

.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link.active iconify-icon,
.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link.active .icon-small {
    color: var(--bs-primary) !important;
}

/* And make "selected" legible as selected: a tint, a weight and a marker down
   the left edge. Transparent alone left the only cue as a colour change on
   text that is already coloured. */
.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link.active {
    background-color: rgba(var(--bs-primary-rgb), 0.08) !important;
    font-weight: 600;
    border-radius: 7px;
    position: relative;
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    border-radius: 0 3px 3px 0;
    background-color: var(--bs-primary);
}
