.offer_amounts_table tr td:last-child {
    color: var(--bs-success);
}

.bg-bright-orange {
    background-color: #fb943c;
}

.bg-dark-orange {
    background-color: #eb7510;
}
.bg-bright-yellow {
    background-color: #fffd91;
}

.text-with-line {
    position: relative;
    align-items: center;
}

.text-with-line::after {
    content: '';
    flex-grow: 1;
    height: 1px; /* Adjust thickness of the line */
    background-color: #9da3af; /* Adjust line color */
    margin-left: 10px; /* Space between text and line */
}

.offer_amounts_table td {
     padding-left: 0.5rem!important;
}

.spinner-border {
    /*width: 5rem;*/
    /*height: 5rem;*/
}

/* CUSTOM DATATABLES STYLES */
.dt-search {
    float: right !important;
    margin: 0.5rem !important;
    display: flex !important;
}
.dt-length {
    float: right !important;
    margin: 0.5rem !important;
    display: flex !important;
}
.dt-length > select {
    padding-right:  2.5rem!important;
}
.dt-info {
    margin: 1rem !important;
}
.dt-paging {
    margin: 1rem !important;
}
.datatable-column-filter-row {
    display: none;
}
.dataTables_extraFooter {
    float: right !important;
    margin: 1rem !important;
}

/* Sorting arrow styles */
th.dt-ordering-asc,
th.dt-ordering-desc {
    position: relative;
    padding-right: 20px !important; /* Add space for the arrow */
}

th.dt-ordering-asc::after,
th.dt-ordering-desc::after {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

th.dt-ordering-asc::after {
    content: "↓"; /* Down arrow for descending sort */
}

th.dt-ordering-desc::after {
    content: "↑"; /* Up arrow for ascending sort */
}
/*END OF CUSTOM DATATABLES STYLES */

/* Firefox search input clear button styles */
.dt-search input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 14px;
    width: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
    background-size: 14px 14px;
    cursor: pointer;
}

/* Firefox specific styles */
@-moz-document url-prefix() {
    .dt-search input[type="search"] {
        position: relative;
    }
    
    .dt-search input[type="search"]:not(:placeholder-shown) {
        padding-right: 25px; /* Space for the clear button */
    }
    
    .dt-search input[type="search"]:not(:placeholder-shown) + .search-clear-button {
        display: block;
    }
    
    .dt-search .search-container {
        position: relative;
        display: inline-block;
    }
    
    .dt-search .search-clear-button {
        display: none;
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
        background-size: 14px 14px;
        background-repeat: no-repeat;
        cursor: pointer;
        z-index: 10;
    }
}

.bg-purple-100 {
    background-color: #9ec5fe;
}

.bg-subtle-danger {
    background-color: #f57c893b;
}

.bg-subtle-success {
    background-color: #c7fbec;
}

.bg-clean-air {
    background-color: #daeffc;
}

.bg-clean-air-100 {
    background-color: #daeffc!important;
}
.clean-air-tab.active {
    background-color: #daeffc!important;
}

.btn-success {
  color: white;
  background-color: #10B981;
  border-color: #10B981;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(17, 24, 39, 0.075);
}

.note-card {
    height: 220px;
    width: 220px!important;
    min-width: 220px!important;
}

.list-group-item {
    border: 0.0625rem solid #11182720;
}

::-webkit-scrollbar {
  width: 6px;
  height: 10px;
}
::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0,0,0,0.1);
}
::-webkit-scrollbar-thumb{
  border-radius: 10px;
  background: rgba(0,0,0,0.2);
}
::-webkit-scrollbar-thumb:hover{
	background: rgba(0,0,0,0.4);
}
::-webkit-scrollbar-thumb:active{
	background: rgba(0,0,0,.9);
}

.delete-row {
    align-self: flex-end !important;
    width: auto !important;
    color: #ffffff;
    background-color: #E11D48;
    border-color: #E11D48;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(17, 24, 39, 0.075);
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;



}
.add-row {
    width: 100%;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-gray-700-rgb), var(--bs-bg-opacity)) !important;
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(17, 24, 39, 0.075);
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    padding:  0.375rem 0.625rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
}
.add-row:hover {
    color: #ffffff;
}

.mouse-hover-target {
    position: relative;
}

.client-column-modal-container {
    display: none;
}

.mouse-hover-target:hover .client-column-modal-container {
    display: block;
    position: absolute;
    left: 100px;
    z-index: 1000;
}

.multiselect-group {
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 !important;
}

/* Extra small form control */
.form-select-xs {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.15rem 0.5rem;
    font-size: 0.775rem;
    line-height: 1.4;
}

.form-control-xs {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.15rem 0.5rem;
    font-size: 0.775rem;
    line-height: 1.4;
}

/* Mathematical notation for units */
.math-unit {
    display: inline-block;
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

.math-unit .numerator {
    display: block;
    border-bottom: 1px solid #666;
    padding: 0 0.1rem;
    text-align: center;
}

.math-unit .denominator {
    display: block;
    padding: 0 0.1rem;
    text-align: center;
}

/* TEAM TREE STYLES */
.tree li {
    list-style-type: none;
    margin: 0;
    padding: 10px 5px 0 5px;
    position: relative;
}

.tree li::before,
.tree li::after {
    content: '';
    left: -20px;
    position: absolute;
    right: auto;
}

.tree li::before {
    border-left: 2px solid #000;
    bottom: 50px;
    height: 100%;
    top: 0;
    width: 1px;
}

.tree li::after {
    border-top: 2px solid #000;
    height: 20px;
    top: 25px;
    width: 25px;
}

.tree li span {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: inline-block;
    padding: 3px 8px;
    text-decoration: none;
    cursor: pointer;
}

.tree>ul>li::before,
.tree>ul>li::after {
    border: 0;
}

.tree li:last-child::before {
    height: 27px;
}

[aria-expanded="false"] > .expanded,
[aria-expanded="true"] > .collapsed {
    display: none;
}

.mw-15 {
    min-width: 15rem;
}

.legend-item {
    width: 1.5rem;
}

.dth-change-team {
    display: none;
}

.dth:hover > .dth-change-team {
    display: inline-block;
}
/* END TEAM TREE STYLES */