.dropdown-menu {
    --tblr-dropdown-link-hover-bg: rgb(229,66,15);
    --tblr-dropdown-link-hover-color: white;
    --tblr-dropdown-link-active-bg: rgb(229,66,15);
    --tblr-dropdown-link-active-color: white;
}

[data-bs-theme=light] {
    --tblr-primary: #E5420F;
    --tblr-primary-rgb: 229, 66, 15;
}

@media (max-width: 767px) {
    .table-responsive .dropdown {
        position: static !important;
    }

    .autocomplete-container {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .table-responsive {
        overflow-x: visible;
    }
}

.table-sort {
    border: inherit;
    display: table-cell;
    width: inherit;
}

.tag-item {
    position: relative;
    margin-bottom: 10px;
    padding-right: 25px;
}

.copy-icon {
    display: none;
    margin-left: 5px;
    cursor: pointer;
    vertical-align: middle;
}

.tag-item:hover .copy-icon {
    display: inline-block;
}

ul.tag-list {
    display: inline-block !important;
    margin-bottom: 0;
    padding-left: 0;
}

.tag {
    background: #f0f0f0;
    color: #333333;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    margin: 3px;
}

    .tag .close-item {
        background: transparent;
        border: none;
        color: #666666;
        font-size: 12px;
        cursor: pointer;
        padding: 0;
        margin-left: 8px;
        transition: color 0.3s;
    }

        .tag .close-item:hover {
            color: #ffffff;
        }

    .tag .icon-close {
        font-size: 12px;
        vertical-align: middle;
    }

tags-input .input {
    width: 200px;
    border: none;
    outline: none;
    padding: 5px;
    font-size: 14px;
}

    tags-input .input::placeholder {
        color: #999999;
    }

.autocomplete-container {
    position: relative;
}

div.autocomplete {
    border: 1px solid black;
    border-radius: 4px;
    overflow: hidden;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
    background-color: #f5f5f5;
    margin-bottom: 0 !important;
    background-color: white;
}

    .suggestion-item a {
        text-decoration: none;
        color: black;
    }

    .suggestion-item:hover {
        background-color: #1e60c8;
        color: white;
    }

        .suggestion-item:hover a {
            color: white;
        }

.autocomplete-item .text-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-inherit {
    padding-left: inherit;
    padding-right: inherit;
}

.custom-table {
    border-collapse: collapse;
    width: 100%;
}

    .custom-table th, .custom-table td {
        border-top: 1px solid #dee2e6;
        padding: 8px;
        vertical-align: middle;
    }

    .custom-table td, .custom-table th {
        border-left: none;
        border-right: none;
    }

    .custom-table thead th {
        border-top: none;
        background-color: #f8f9fa;
        font-weight: bold;
        text-align: center;
    }

.remove-icon {
    color: gray;
    cursor: pointer;
}

    .remove-icon:hover {
        color: red;
    }

.input-group-custom .form-control {
    border-right: 1px solid var(--tblr-border-color);
    border-radius: 0.25rem;
}

    .input-group-custom .form-control.custom-border {
        border-right: 1px solid var(--tblr-border-color);
    }

    .input-group-custom .form-control.selected-client {
        border-right: 0;
    }

.input-group-flat .form-control:focus {
    border-right: 0;
}

.drop-zone {
    border: 2px dashed #19A5FA;
    height: 160px;
}

.custom-dropdown {
    --tblr-btn-border-color: transparent;
    --tblr-btn-hover-border-color: transparent;
    --tblr-btn-active-border-color: transparent;
    --tblr-btn-color: #fcfdfe;
    --tblr-btn-bg: #0054a6;
    --tblr-btn-hover-color: #fcfdfe;
    --tblr-btn-hover-bg: rgba(0, 84, 166, .8);
    --tblr-btn-active-color: #fcfdfe;
    --tblr-btn-active-bg: rgba(0, 84, 166, .8);
    --tblr-btn-disabled-bg: #0054a6;
    --tblr-btn-disabled-color: #fcfdfe;
    --tblr-btn-box-shadow: 0 1px 1px rgba(24, 36, 51, 0.06);
}

.custom-button-option:hover {
    color: var(--tblr-btn-hover-color);
    background-color: var(--tblr-btn-hover-bg);
    border-color: var(--tblr-btn-hover-border-color);
}

.custom-button-delete-option:hover{
    color: white !important;
}

    .custom-button-delete-option:hover .icon {
        color: white !important;
    }

.custom-button-option:active {
    color: var(--tblr-btn-active-color);
    background-color: var(--tblr-btn-active-bg);
    border-color: var(--tblr-btn-active-border-color);
}

.custom-button-option:disabled {
    color: var(--tblr-btn-disabled-color);
    background-color: var(--tblr-btn-disabled-bg);
    border-color: var(--tblr-btn-disabled-bg);
    box-shadow: none;
}

ul {
    list-style: none;
}

.dropdown button,
.dropdown .dropdown-menu a {
    cursor: pointer;
}

.card-header.card-header-custom {
    padding-bottom: 0;
}

.input-custom {
    margin-right: 1rem;
    margin-bottom: .5rem;
}

.linha-em-branco {
    min-height: 1.25em;
    white-space: pre-wrap;
}

.nav.abn-tree {
    display: inherit !important;
}

ul.abn-tree li.abn-tree-row {
    padding: 0.2rem !important;
    border-bottom: var(--tblr-border-width) solid var(--tblr-border-color-translucent);
}

ul.nav.abn-tree .level-1 .indented {
    font-weight: bold;
}

ul.nav.abn-tree .level-2 .indented.fa-minus + .tree-label {
    font-weight: bold;
}

.input-suffix-wrapper {
    position: relative;
}

    .input-suffix-wrapper input {
        padding-right: 90px;
    }

.occurrences-text {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

.switch-cr {
    margin-bottom: 0px !important;
    margin-top: 20px !important;
}

.badge-soft-yellow {
    background-color: #fff3cd;
    color: #856404;
}

.badge-soft-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-soft-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-soft-muted {
    background-color: #f0f0f0;
    color: #6c757d;
}