.red-border {
    border: 1px solid red;
}

.green-border {
    border: 1px solid green;
}

.bg-green {
    background-color: #50CD89 !important;
}

.btn-brown {
    background: #F4A460 !important;
    color: white !important;
}

.btn-coral {
    background: #FF7F50 !important;
    color: white !important;
}

.static-column {
    background-color: #F8FAFB !important;
}

.pd-0 {
    padding-right: 0px !important;
}

.pm {
    padding: .55rem 4rem !important;
}

.blb {
    border-left: 2px solid #009ef7 !important;
}

.hidden {
    display: none;
}

.dt-down-arrow {
    display: none;
}

div.dt-button-collection .dt-button.active {
    background-color: rgba(153, 153, 153, 0.2) !important;
}

div.dt-button-collection .dt-button:not(.active) {
    background-color: transparent !important;
}

.border-top-primary {
    border-top: 2px solid #009ef7 !important;
}

.date-input {
    background: #1e1e2d;
    color: white;
    padding: 0.5rem 1rem;
}

#loader-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#loader img {
    width: 50px;
    height: 50px;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    max-height: 200px;
    overflow-y: scroll;
}

.ui-autocomplete > li > div {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
    cursor: pointer;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.ui-menu {
    z-index: 9999 !important;
    position: absolute !important;
}

.item-hover {
    position: absolute;
    background-color: #EEE;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.jstree-anchor {
    font-size: 16px !important;
    font-weight: 500 !important;
    height: 32px !important;
}

.active-tab {
    background-color: rgb(30,30,45);
    color: white;
}

.active-tab:hover {
    color: white;
}

.ko-card {
    height: calc(100vh - 277px);
}

.tooltip-arrow {
    position: absolute;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.tooltip-arrow::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border-width: 10px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    transform: translateX(-50%);
}

.filter-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 420px;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1050;
}

.filter-input {
    width: 330px !important;
}

.filter-input-label {
    background: #1e1e2d;
    color: white;
    padding: 0.5rem 1rem;
    z-index: 1;
}

.multi-select-dropdown .dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
}

#pivot-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

#pivot-table thead tr {
    background-color: #007bff;
    text-align: center;
    font-weight: bold;
}

#pivot-table th {
    padding: 12px;
    border: 1px solid #ddd;
}

#pivot-table tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}

#pivot-table tbody tr:hover {
    background-color: #e2e6ea;
    transition: background 0.2s ease-in-out;
}

#pivot-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

#pivot-table select {
    font-size: 0.875rem;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #ffffff;
    box-shadow: none;
    transition: all 0.2s ease-in-out;
}

#pivot-table select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25);
}

@media(max-width: 767.98px) {
    .input-group {
        flex-wrap: inherit !important;
    }
}
