.page-title {
    padding: 20px 36px 20px 0;
}

tr.js-filter-row {
    background-color: #f5f5f5;
}

tr.js-filter-row>th {
    padding: 2px !important;
}

input.js-filter {
    height: 28px;
}

.filter-icon {
    margin-top: -20px;
    display: inline-block;
    float: right;
    margin-right: 5px;
    color: #219ade;
}

#return-to-top {
    z-index: 100000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}

#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

.alert-dismissible {
    padding-right: 35px !important;
}

ul.list.list-unstyled.list-inner {
    margin-left: 30px;
}

.datepicker table tr td.today:before {
    content: "";
    position: relative;
    top: -1px;
    right: -17px;
    width: 0;
    height: 0;
    border-top: 6px solid #26A69A;
    border-left: 6px solid transparent;
}

.btn-group-xxs>.btn,
.btn-xxs {
    padding: 4px 6px;
    font-size: 12px;
    line-height: 1.6666667;
    border-radius: 4px;
}

.alert-float {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 98%;
    z-index: 9999;
    border-radius: 0px;
    margin: 10px;
}

.fancybox-close {
    right: 22px !important;
    top: 15px !important;
}

select[readonly].select2+.select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2+.select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2+.select2-container .select2-selection__arrow,
select[readonly].select2+.select2-container .select2-selection__clear {
    display: none;
}

.tooltip-badge {
    display: inline-block;
    min-width: 10px;
    padding: 2px 8px;
    font-size: 8px;
    font-weight: 500;
    color: #1f1c1c;
    line-height: 1.5384616;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: #999;
    border-radius: 10px;
    margin: 1px 1px 1px 6px;
}

.tooltip-inner {
    max-width: 700px;
    padding: .25rem .25rem;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: .25rem
}

.custom-btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Optional: Hover effect */
.custom-btn:hover {
    opacity: 0.8;
}


/* Custom buttons */
.custom-btn-edit {
    background-color: #fe5723;
    /* Custom background color */
    border-color: #fe5723;
    /* Custom border color */
    color: #fff;
    /* Custom text color */
}

.custom-btn-edit:hover,
.custom-btn-edit:focus,
.custom-btn-edit:active,
.custom-btn-edit.active {
    background-color: #fe5723;
    /* Darken background on hover/focus/active */
    border-color: #fe5723;
    /* Darken border on hover/focus/active */
    color: #fff;
}

.custom-btn-edit:active,
.custom-btn-edit.active {
    background-image: none;
    /* Remove background image */
}

.custom-btn-edit:disabled,
.custom-btn-edit[disabled],
fieldset[disabled] .custom-btn-edit {
    background-color: #fe5723;
    /* Maintain background color when disabled */
    border-color: #fe5723;
    /* Maintain border color when disabled */
    opacity: 0.65;
    /* Adjust opacity for disabled state */
}


.custom-btn-cnew {
    background-color: #409ad3;
    border-color: #409ad3;
    color: #fff;
}

.custom-btn-cnew:hover,
.custom-btn-cnew:focus,
.custom-btn-cnew:active,
.custom-btn-cnew.active {
    background-color: #409ad3;
    border-color: #409ad3;
    color: #fff;
}

.custom-btn-cnew:active,
.custom-btn-cnew.active {
    background-image: none;
}

.custom-btn-cnew:disabled,
.custom-btn-cnew[disabled],
fieldset[disabled] .custom-btn-cnew {
    background-color: #409ad3;
    border-color: #409ad3;
    opacity: 0.65;
}


.custom-btn-delete {
    background-color: #e42331;
    border-color: #e42331;
    color: #fff;
}

.custom-btn-delete:hover,
.custom-btn-delete:focus,
.custom-btn-delete:active,
.custom-btn-delete.active {
    background-color: #e42331;
    border-color: #e42331;
    color: #fff;
}

.custom-btn-delete:active,
.custom-btn-delete.active {
    background-image: none;
}

.custom-btn-delete:disabled,
.custom-btn-delete[disabled],
fieldset[disabled] .custom-btn-delete {
    background-color: #e42331;
    border-color: #e42331;
    opacity: 0.65;
}


.custom-btn-allot {
    background-color: #ff6666;
    border-color: #ff6666;
    color: #fff;
}

.custom-btn-allot:hover,
.custom-btn-allot:focus,
.custom-btn-allot:active,
.custom-btn-allot.active {
    background-color: #ff6666;
    border-color: #ff6666;
    color: #fff;
}

.custom-btn-allot:active,
.custom-btn-allot.active {
    background-image: none;
}

.custom-btn-allot:disabled,
.custom-btn-allot[disabled],
fieldset[disabled] .custom-btn-allot {
    background-color: #ff6666;
    border-color: #ff6666;
    opacity: 0.65;
}


.custom-btn-assign {
    background-color: #658c17;
    border-color: #658c17;
    color: #fff;
}

.custom-btn-assign:hover,
.custom-btn-assign:focus,
.custom-btn-assign:active,
.custom-btn-assign.active {
    background-color: #658c17;
    border-color: #658c17;
    color: #fff;
}

.custom-btn-assign:active,
.custom-btn-assign.active {
    background-image: none;
}

.custom-btn-assign:disabled,
.custom-btn-assign[disabled],
fieldset[disabled] .custom-btn-assign {
    background-color: #658c17;
    border-color: #658c17;
    opacity: 0.65;
}


.custom-btn-save {
    background-color: #85bd1e;
    border-color: #85bd1e;
    color: #fff;
}

.custom-btn-save:hover,
.custom-btn-save:focus,
.custom-btn-save:active,
.custom-btn-save.active {
    background-color: #85bd1e;
    border-color: #85bd1e;
    color: #fff;
}

.custom-btn-save:active,
.custom-btn-save.active {
    background-image: none;
}

.custom-btn-save:disabled,
.custom-btn-save[disabled],
fieldset[disabled] .custom-btn-save {
    background-color: #85bd1e;
    border-color: #85bd1e;
    opacity: 0.65;
}


.custom-btn-view {
    background-color: #409ad3;
    border-color: #409ad3;
    color: #fff;
}

.custom-btn-view:hover,
.custom-btn-view:focus,
.custom-btn-view:active,
.custom-btn-view.active {
    background-color: #409ad3;
    border-color: #409ad3;
    color: #fff;
}

.custom-btn-view:active,
.custom-btn-view.active {
    background-image: none;
}

.custom-btn-view:disabled,
.custom-btn-view[disabled],
fieldset[disabled] .custom-btn-view {
    background-color: #409ad3;
    border-color: #409ad3;
    opacity: 0.65;
}


.custom-btn-version {
    color: #fff;
    background-color: #fe5723;
    border-color: #fe5723;
}
/*=========================================================*/

.vscroll {
    overflow-y: scroll;
}

th {
    white-space: nowrap;
}

.action-nowrap {
    white-space: nowrap;
}

.action-nowrap {
    white-space: nowrap !important;
}
.action-nowrap .btn {
    display: inline-block;
}

.prc-sbmt-txtbx {
    height: 22px;
    background-color: #ffffff;
    width: 100px;
}

.max-price {
    text-align: right;
    color: #d7151d;
}

.min-price {
    text-align: right;
    color: #4cbb17;
}



.password-popup {
    display: none;
    position: absolute;
    left: 105%;
    /* Position the popup to the right of the input */
    top: 0;
    background-color: #f9f9f9;
    border: 2px solid orange;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 250px;
    z-index: 100;
    border-radius: 5px;
}

/* Arrow pointing to the input field */
.password-popup::before {
    content: '';
    position: absolute;
    top: 10px;
    /* Position the arrow near the top of the popup */
    left: -20px;
    /* Position the arrow just before the popup box */
    border-width: 10px;
    /* Adjust the size of the arrow */
    border-style: solid;
    border-color: transparent orange transparent transparent;
    /* Creates the triangle pointing left */
}

.form-group {
    position: relative;
    /* Needed for absolute positioning */
}

.select2-search__field[placeholder]:not([placeholder=""]){
    width: 100% !important;
}

/* Sidebar collapsed state fixes */
.sidebar-xs .navbar-header {
    width: 56px !important;
    transition: width 0.25s;
}

.sidebar-xs .heading-name {
    display: none !important;
}

/* Ensure content wrapper adjusts if needed */
.sidebar-xs .content-wrapper {
    margin-left: 56px;
}

/* User profile dropdown arrow toggle */
.dropdown-user .dropdown-arrow {
    font-size: 11px;
    margin-left: 5px;
    transition: transform 0.2s ease-in-out;
    vertical-align: middle;
}

.dropdown-user.open .dropdown-arrow {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .sidebar-xs .navbar-header {
        width: 100% !important;
    }
}


/* Fix for DataTables width issue on sidebar toggle */
.dataTable, .dataTables_scrollHeadInner, .dataTables_scrollHeadInner > table, .datatable-scroll table, #dataTable {
    width: 100% !important;
}