.hidefromview {
    position: absolute !important;
    left: -80000px !important;
}
.ml-20 {
    margin-left: 20px;
}

.swal2-container.swal2-center.swal2-fade.swal2-shown {
    z-index: 99999999999 !important;
}

.bootstrap-dialog-close-button {
    display: block !important;
}

.card-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    gap: 2px;
    background: #1a7ef3;
    color: white;
    border-radius: 12px;
    width: 100%;
    border: 2px solid;
}

.card-call label {
    font-size: 0.95rem;
}

.card-call span {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-call.total-call label {
    color: #fff !important;
}

.card-call.completed label {
    color: #0bc885 !important;
}

.card-call.pending label {
    color: #efb111 !important;
}

.card-call.duplicates {
    color: #eb523e;
    border-color: rgba(239, 17, 17, 0.5) !important;
    background: rgba(239, 17, 17, 0.5) !important;
}

.card-call.duplicates label {
    color: #fff !important;
}

#total-duplicates {
    color: #fff;
}
.card-call.completed {
    color: #0bc885;
    border-color: rgba(11, 200, 133, 0.5) !important;
    background: rgba(11, 200, 133, 0.05) !important;
}

.card-call.pending {
    color: #efb111;
    border-color: rgba(239, 177, 17, 0.5) !important;
    background: rgba(239, 177, 17, 0.05) !important;
}
div#percent_that_meet {
    position: absolute;
    top: -10px;
    right: 1px;
    background-color: orange;
    color: black;
    border-radius: 17px;
    padding: 5px;
    font-weight: 900;
}
.blink {
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.9s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
}
@-webkit-keyframes blinker {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.sidebar li .nav-second-level li.active a {
    color: #fff !important;
    border-radius: 15px;
    background-color: #2b65e8;
    display: inline-block;
    padding: 5px 15px;
    margin: 8px 0 8px 20px !important;
}
a.pointer.edit_carrier_aor,
a.pointer.edit_agent_carrier_aor {
    color: blue;
}

.scroll-y {
    max-height: 575px;
    overflow-y: auto;
}

.inline-block-class {
    display: inline-block;
    width: 100%;
}

.task-info.task-info-hourly-rate,
.task-info.task-info-billable,
.task-info.task-billable-amount {
    position: absolute;
    left: -900000px;
}
.label-special {
    background-color: black;
    color: white;
}
a.floating_eye {
    position: absolute;
    top: -20px;
    left: -5px;
}

.issue-collector-wrapper {
    position: fixed;
    transform: rotate(90deg);
    top: 55%;
    min-width: 260px;
    z-index: 2010;
    margin-right: -110px;
    right: 0px;
}
label.control-label .label-special {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.issue-collector-wrapper a {
    display: inline-block;
    background-color: #205081;
    padding: 8px 11px;
    text-decoration: none;
    border: 2px solid #ffffff !important;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0px 4px 8px #00000025;
    font-size: 14px;
    font-weight: 400;
    transition: all ease-in 0.2s;
    color: #ffffff !important;
    text-decoration: none !important;
}

.issue-collector-wrapper a:hover {
    background-color: #2d6aa7;
    color: #fff !important;
    text-decoration: none !important;
}

.issue-collector-wrapper a:focus {
    background-color: #2d6aa7;
    color: #fff !important;
    text-decoration: none !important;
    /*outline: 2px solid #ffffff !important;*/
}

.issue-collector-wrapper a i {
    font-size: 12px;
    margin-right: 5px;
    transform: rotate(270deg);
}
div#loading_search {
    position: absolute;
    bottom: 23px;
    right: 26px;
}
.sms_consersations_div {
    position: relative;
    top: -10px;
    color: #2563eb;
    margin-left: 20px;
}
.sticky-col {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    /* padding-top: 20px; */
    /* height: 100vh; */
    /* overflow-y: auto; */
}
.chat-history {
    overflow-y: auto;
    max-height: 50vh;
    margin-bottom: 10px;
    padding-top: 10px;
}
.record-chat-history {
    overflow-y: auto;
    max-height: 50vh;
    margin-bottom: 10px;
    padding-top: 10px;
}
.chat .chat-history .message-data {
    margin-bottom: 5px;
}
.chat .record-chat-history .message-data {
    margin-bottom: 5px;
}
.chat .chat-history .message-data-time {
    color: #a8aab1;
    padding-left: 6px;
}
.chat .record-chat-history .message-data-time {
    color: #a8aab1;
    padding-left: 6px;
    font-size: 11px;
}
.me {
    color: #94c2ed;
}
.chat .chat-history .other-message {
    background: #cfe2f3;
}
.chat .record-chat-history .other-message {
    background: #cfe2f3;
}
.chat .sms-image-attachment {
    width: 150px;
    height: 110px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-right: auto;
    margin-left: auto;
    display: block;
}
.chat .chat-history .message {
    color: #040404;
    padding: 2px 10px;
    line-height: 19px;
    font-size: 15px;
    border-radius: 7px;
    margin-bottom: 14px;
    width: 75%;
    position: relative;
}
.chat .record-chat-history .message {
    color: #040404;
    padding: 2px 10px;
    line-height: 19px;
    font-size: 15px;
    border-radius: 7px;
    margin-bottom: 14px;
    width: 75%;
    position: relative;
}
.float-right {
    float: right;
}
.chat .chat-history .my-message {
    background: #86bb71;
}

ul#message-data-clicksend {
    padding-left: 10px;
    padding-right: 10px;
}
.chat .record-chat-history .my-message {
    background: #86bb71;
}
.lead_app_count {
    background-color: #b6f127;
    display: inline;
    position: absolute;
    top: 0px;
    right: -3px;
    border-radius: 51px;
    line-height: 20px;
    font-size: 11px;
    font-weight: 800;
    width: 20px;
}

p#phonenumber-error {
    position: absolute;
}

.label.label-special {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.search_lead_source_drop {
    float: right;
    position: absolute;
    right: 15px;
    top: 1px;
    font-size: 12px;
}

.search-results .label[data-title="Lead Status"] {
    position: absolute;
    right: 10px;
    bottom: 5px;
}
.lead-modal span.flag.year_flag {
    background: #faebd7;
}

.lead-modal .timeline {
    position: relative;
    width: 760px;
    margin: 0 auto;
    list-style-type: none;
}

.lead-modal .timeline:before {
    position: absolute;
    left: 50%;
    top: 0;
    content: " ";
    display: block;
    width: 6px;
    height: 100%;
    margin-left: -3px;
    background: rgb(80, 80, 80);
    background: -moz-linear-gradient(
        top,
        rgba(80, 80, 80, 0) 0%,
        rgb(80, 80, 80) 8%,
        rgb(80, 80, 80) 92%,
        rgba(80, 80, 80, 0) 100%
    );
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0%, rgba(30, 87, 153, 1)),
        color-stop(100%, rgba(125, 185, 232, 1))
    );
    background: -webkit-linear-gradient(
        top,
        rgba(80, 80, 80, 0) 0%,
        rgb(80, 80, 80) 8%,
        rgb(80, 80, 80) 92%,
        rgba(80, 80, 80, 0) 100%
    );
    background: -o-linear-gradient(
        top,
        rgba(80, 80, 80, 0) 0%,
        rgb(80, 80, 80) 8%,
        rgb(80, 80, 80) 92%,
        rgba(80, 80, 80, 0) 100%
    );
    background: -ms-linear-gradient(
        top,
        rgba(80, 80, 80, 0) 0%,
        rgb(80, 80, 80) 8%,
        rgb(80, 80, 80) 92%,
        rgba(80, 80, 80, 0) 100%
    );
    background: linear-gradient(
        to bottom,
        rgba(80, 80, 80, 0) 0%,
        rgb(80, 80, 80) 8%,
        rgb(80, 80, 80) 92%,
        rgba(80, 80, 80, 0) 100%
    );

    z-index: 5;
}

.lead-modal .timeline li {
    padding: 1em 0;
}

.lead-modal .timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.lead-modal .direction-l {
    position: relative;
    width: 340px;
    float: left;
    text-align: right;
}

.lead-modal .direction-r {
    position: relative;
    width: 340px;
    float: right;
}

.lead-modal .flag-wrapper {
    position: relative;
    display: inline-block;

    text-align: center;
}

.lead-modal .flag {
    position: relative;
    display: inline;
    background: rgb(248, 248, 248);
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

.lead-modal .direction-l .flag {
    -webkit-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15),
        0 0 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15),
        0 0 1px rgba(0, 0, 0, 0.15);
    box-shadow: -2px 3px 2px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.lead-modal .direction-r .flag {
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15),
        0 0 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15),
        0 0 1px rgba(0, 0, 0, 0.15);
    box-shadow: 2px 3px 2px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.lead-modal .direction-l .flag:before,
.lead-modal .direction-r .flag:before {
    position: absolute;
    top: 50%;
    right: -40px;
    content: " ";
    display: block;
    width: 12px;
    height: 12px;
    margin-top: -10px;
    background: #fff;
    border-radius: 10px;
    border: 4px solid #2563eb;
    z-index: 10;
}

.lead-modal .direction-r .flag:before {
    left: -40px;
}

.lead-modal .direction-l .flag:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(248, 248, 248);
    border-width: 8px;
    pointer-events: none;
}

.lead-modal .direction-r .flag:after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(248, 248, 248);
    border-width: 8px;
    pointer-events: none;
}

.lead-modal .time-wrapper {
    display: inline;
    line-height: 5em;
    font-size: 0.66666em;
    color: rgb(203 40 40);
    vertical-align: middle;
    font-weight: bold;
}

.lead-modal .direction-l .time-wrapper {
    float: left;
}

.lead-modal .direction-r .time-wrapper {
    float: right;
}

.lead-modal .time {
    display: inline-block;
    padding: 4px 6px;
    /* background: rgb(248, 248, 248); */
    font-size: 12px;
    margin-top: 5px;
}

.lead-modal .desc {
    margin: 1em 0.75em 0 0;

    /* font-size: 0.77777em; */
    font-style: italic;
    line-height: 1.5em;
}

.lead-modal .direction-r .desc {
    margin: 1em 0 0 0.75em;
    position: relative;
    left: -24px;
    width: 100%;
}

.lead-modal .direction-l .desc {
    position: relative;
    left: 24px;
    width: 100%;
}

/* ================ Timeline Media Queries ================ */

@media screen and (max-width: 660px) {
    .lead-modal .timeline {
        width: 100%;
        padding: 4em 0 1em 0;
    }

    .lead-modal .timeline li {
        padding: 2em 0;
    }

    .lead-modal .direction-l,
    .lead-modal .direction-r {
        float: none;
        width: 100%;

        text-align: center;
    }

    .lead-modal .flag-wrapper {
        text-align: center;
    }

    .lead-modal .flag {
        background: rgb(255, 255, 255);
        z-index: 15;
    }

    .lead-modal .direction-l .flag:before,
    .lead-modal .direction-r .flag:before {
        position: absolute;
        top: -30px;
        left: 50%;
        content: " ";
        display: block;
        width: 12px;
        height: 12px;
        margin-left: -9px;
        background: #fff;
        border-radius: 10px;
        border: 4px solid #2563eb;
        z-index: 10;
    }

    .lead-modal .direction-l .flag:after,
    .lead-modal .direction-r .flag:after {
        content: "";
        position: absolute;
        left: 50%;
        top: -8px;
        height: 0;
        width: 0;
        margin-left: -8px;
        border: solid transparent;
        border-bottom-color: rgb(255, 255, 255);
        border-width: 8px;
        pointer-events: none;
    }

    .lead-modal .time-wrapper {
        display: block;
        position: relative;
        margin: 4px 0 0 0;
        z-index: 14;
    }

    .lead-modal .direction-l .time-wrapper {
        float: none;
    }

    .lead-modal .direction-r .time-wrapper {
        float: none;
    }

    .lead-modal .desc {
        position: relative;
        margin: 1em 0 0 0;
        padding: 1em;
        background: rgb(245, 245, 245);
        -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);

        z-index: 15;
    }

    .lead-modal .direction-l .desc,
    .lead-modal .direction-r .desc {
        position: relative;
        margin: 1em 1em 0 1em;
        padding: 1em;

        z-index: 15;
    }
}

@media screen and (min-width: 400px ?? max-width: 660px) {
    .lead-modal .direction-l .desc,
    .lead-modal .direction-r .desc {
        margin: 1em 4em 0 4em;
    }
}

.lead-modal .no_available_recordings {
    font-size: 20px;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.lead-modal .inbound.highlighted-message {
    background-color: #f9ef91;
    transition: background-color 0.3s ease; /* Smooth transition */
}
.lead-modal ul#message-data-highlevel {
    padding-left: 10px;
    padding-right: 10px;
}

.lead-modal i.fa-solid.fa-arrows-down-to-line {
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 5px;
}

.lead-modal #tab_lead_profile li.nav-item.active {
    background-color: #ebebeb;
}

.lead-modal .nav-item.active .nav-link {
    color: black !important;
}
.lead-modal .lead_app_count_in,
#applications-modal .lead_app_count_in {
    background-color: #b6f127;
    position: relative;
    top: 10px;
    border-radius: 51px;
    line-height: 20px;
    font-size: 11px;
    font-weight: 800;
    width: 19px;
    text-align: center;
    display: block;
}

.lead-modal .lead-field-heading,
#applications-modal .lead-field-heading {
    margin-top: 0px;
    margin-bottom: 0;
}

/* width */
.lead-modal ::-webkit-scrollbar,
#applications-modal ::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.lead-modal ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.lead-modal ::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.lead-modal ::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.flag.img_flag {
    height: 50px;
}
tr.footer_black {
    font-weight: 700;
}

.row.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.space-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.det_sum_div {
    padding-left: 10px;
    padding-right: 10px;
}
div#not_in_backoffice_head,
div#matched_head,
div#not_matched_head {
    min-width: 45px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}
div#not_in_backoffice_head .pointer:hover,
div#matched_head .pointer:hover,
div#not_matched_head .pointer:hover {
    cursor: help !important;
}
.bg-success-carrier {
    background-color: rgb(173 245 200) !important;
}

.leadApplicationCard {
    padding: 18px 10px;
    border: 2px solid #eaeaea;
    height: 100% !important;
    border-radius: 10px;
}

#lead_applications .col-md-4 {
    padding: 0 10px;
}

/* FIX: CONVERSATIONS MESSAGES WORD BREAK */
#message-data-highlevel .message {
    word-wrap: break-word;
}
#message-data-clicksend .message {
    word-wrap: break-word;
}

span#total_drops,
span#total_calls,
span#total_answered,
span#total_answered_ib,
span#total_drops_ib {
    font-size: 22px;
    font-weight: 700;
}

span#total_calls_ib {
    font-size: 22px;
    font-weight: 700;
}
.live_stats_d {
    font-size: 60px;
    position: relative;
    top: -1px;
    min-height: 65px !important;
    min-width: 90%;
    margin-right: auto;
    margin-left: auto;
    display: inline-grid;
}

span#total_live_agents {
    /* border: 1px solid;
    padding: 3px;
    font-size: 18px;
    border-radius: 5px; */
}
canvas#pieChart {
    width: 100% !important;
    height: 100px !important;
}
span.live_agent_label_b b {
    font-size: 18px;
    font-weight: 800;
}
.ib_status_table th,
.ib_status_table td {
    padding-left: 5px;
    padding-right: 5px;
}

.ib_did_table th,
.ib_did_table td {
    padding-left: 5px;
    padding-right: 5px;
}

.bar-vici {
    background-color: green;
    height: 9px;
}

.ib_did_table small {
    font-size: 10.5px;
    position: relative;
    top: -2px;
    margin-left: 3px;
}

.ib_status_table small {
    font-size: 10.5px;
    position: relative;
    top: -2px;
    margin-left: 3px;
}
.ib_pie_chart_graph canvas#pieChart {
    max-width: 100%;
}
.vicidial-live-call-data .row.mb-2 {
    padding: 12px 0;
    margin: 0px 10px;
    border-bottom: 2px solid #f7f7f7;
    min-width: 450px;
}
.vicidial-live-call-data {
    background: white;
    border-radius: 10px;
    padding: 12px 6px;
    box-shadow: 0px 1px 16px 2px rgba(0, 0, 0, 0.045);
    max-height: 240px;
    overflow: auto;
}
div#extensionTable,
div#vicidial-live-call-data-ib,
div#vicidial-live-call-data-ib-top {
    max-height: 390px;
    overflow: auto;
}

canvas#horizontalBarChart {
    height: 220px !important;
}
@media (max-width: 769px) {
    div#extensionTable,
    div#vicidial-live-call-data-ib {
        padding: 4px 15px 0px !important;
    }
}
.stats_ven {
    font-size: 14px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

button[aria-controls="table-lead"]:first-child {
    display: none !important;
}

div#agentListTablex th,
div#agentListTablex td {
    padding-top: 1px;
    padding-bottom: 1px;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.wide-swal {
    width: 70% !important;
}
/* Custom class for SweetAlert */
.no-center .swal2-html-container {
    text-align: left; /* Align text to the left */
}

.no-center .swal2-popup {
    top: 10%; /* Adjust position as desired */
    transform: none !important; /* Remove centering transform */
}

.dependents-container > .dependent {
    border: 1px solid;
    padding: 10px;
    border-radius: 10px;
    background-color: #f8f8ff;
    border-color: #dfdfdf;
}

.modal.update_client_record_lead,
.modal.new_client_record_lead {
    background-color: #716f6f85;
}

body.leads .dependents-container > .dependent {
    border: 1px solid;
    padding: 10px;
    border-radius: 10px;
    background-color: #f8f8ff;
    border-color: #dfdfdf;
}
span.send_via_sms_phonenumber {
    font-size: 12px;
}

.swal2-container.swal2-center.swal2-backdrop-show {
    z-index: 99999999;
}
#record_attachments .record-attachment-wrapper:first-child {
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

i.fa.fa-circle.client {
    color: #86bb71;
}

.bolder {
    font-weight: 700 !important;
}

/* lead chat history */

.chat-history {
    overflow-y: auto;
    max-height: 50vh;
    margin-bottom: 10px;
    padding-top: 10px;
}
.lead-chat-history {
    overflow-y: auto;
    max-height: 50vh;
    margin-bottom: 10px;
    padding-top: 10px;
}
.chat .chat-history .message-data {
    margin-bottom: 5px;
}
.chat .lead-chat-history .message-data {
    margin-bottom: 5px;
}
.chat .chat-history .message-data-time {
    color: #a8aab1;
    padding-left: 6px;
}
.chat .lead-chat-history .message-data-time {
    color: #a8aab1;
    padding-left: 6px;
    font-size: 11px;
}
.me {
    color: #94c2ed;
}
.chat .chat-history .other-message {
    background: #cfe2f3;
}
.chat .lead-chat-history .other-message {
    background: #cfe2f3;
}
.chat .sms-image-attachment {
    width: 150px;
    height: 110px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-right: auto;
    margin-left: auto;
    display: block;
}
.chat .chat-history .message {
    color: #040404;
    padding: 2px 10px;
    line-height: 19px;
    font-size: 15px;
    border-radius: 7px;
    margin-bottom: 14px;
    width: 75%;
    position: relative;
}
.chat .lead-chat-history .message {
    color: #040404;
    padding: 2px 10px;
    line-height: 19px;
    font-size: 15px;
    border-radius: 7px;
    margin-bottom: 14px;
    width: 75%;
    position: relative;
    word-wrap: break-word;
}
.float-right {
    float: right;
}
.chat .chat-history .my-message {
    background: #86bb71;
}

ul#message-data-clicksend {
    padding-left: 10px;
    padding-right: 10px;
}
.chat .lead-chat-history .my-message {
    background: #86bb71;
}
#pusherChat {
    z-index: 9999999999 !important;
}

tfoot {
    font-weight: bold;
}

tbody .clickable-enrollment,
tbody .clickable-calls {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

.pointer.link {
    text-decoration: underline !important;
    color: #4242bc;
}

.ap_enrollment_details {
    z-index: 9000 !important;
}

#search_filters_panel.tw-hidden {
    display: none !important;
}

.mbot0 {
    margin-bottom: 0px !important;
}

#enrollments_commissions_tbl td {
    padding: 3px;
}

div#tab_sugerencias {
    margin: -15px;
}

.appendify-search-results .appendify_div {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 500px;
    scrollbar-width: thin;
}

.appendify-search-results .bulkApplyBtn {
    margin-left: 5px;
}

/* Custom styles for Bootstrap 4 compatibility */
.appendify-search-results .btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}

.appendify-search-results .cursor-pointer {
    cursor: pointer;
}

/* Visual feedback for selected radio buttons */
.appendify-search-results .sugerencias-value:checked + div label {
    background-color: #d4edda;
    border-radius: 4px;
    /* padding: 2px 4px; */
}

.appendify-search-results .nav-tabs {
    margin-bottom: 0px !important;
}

.appendify-search-results .apply-item:hover {
    background-color: #f8f9fa !important;
}

.appendify-search-results .btn-link.collapsed {
    color: #007bff;
    text-decoration: none;
}

.appendify-search-results .btn-link:not(.collapsed) {
    background-color: #f8f9fa;
    color: #007bff;
    text-decoration: none;
}

.appendify-search-results .btn-link:hover {
    text-decoration: none;
    background-color: #f8f9fa;
}

.appendify-search-results .btn-link:focus {
    box-shadow: none;
}

.appendify-search-results summary {
    cursor: pointer;
}

.appendify-search-results .small {
    font-size: 0.875rem;
}

.appendify-search-results .card-header {
    font-size: 0.875rem;
}

.appendify-search-results .badge.small {
    font-size: 0.7rem;
}

/* Address and phone history items with left border */
.appendify-search-results .address-history-item {
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
}

.appendify-search-results details[open] summary {
    background-color: #e2f0ff;
    /* Light blue when open */
}

.appendify-search-results details summary {
    background-color: #f8f9fa;
    /* Light gray for default closed */
    transition: background-color 0.3s ease;
}

.appendify-search-results .phone-history-item {
    border-left: 3px solid #28a745;
    background-color: #f8f9fa;
}

/* Bootstrap 4 specific adjustments */
.appendify-search-results .flex-fill {
    flex: 1 1 auto;
}

.appendify-search-results .font-weight-bold {
    font-weight: 700 !important;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* Ensure proper spacing for Bootstrap 4 */
.appendify-search-results .mr-1 {
    margin-right: 0.25rem !important;
}

.appendify-search-results .mr-2 {
    margin-right: 0.5rem !important;
}

.appendify-search-results details {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 500px;
    background-color: #e2f0ff;
    scrollbar-width: thin;
}

.appendify-search-results .ml-2 {
    margin-left: 0.5rem !important;
}

.appendify-search-results .mt-1 {
    margin-top: 0.25rem !important;
    white-space: normal;
}

.appendify-search-results .mb-2 {
    margin-bottom: 0rem !important;
}

.appendify-search-results .mb-3 {
    margin-bottom: 1px !important;
}

.appendify-search-results .mt-3 {
    margin-top: 1rem !important;
}

.appendify-search-results strong {
    font-weight: normal;
    color: black;
    font-size: 12px;
}

/* Card specific styles */
.appendify-search-results .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.appendify-search-results .card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}

.appendify-search-results .card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Accordion specific styles */
.appendify-search-results .accordion {
    overflow-anchor: none;
}

/* Alert styles */
.appendify-search-results .alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.appendify-search-results .alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.appendify-search-results .alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.appendify-search-results .alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Flex utilities */
.appendify-search-results .d-flex {
    display: flex !important;
}

.appendify-search-results .flex-column {
    flex-direction: column !important;
}

.appendify-search-results .align-items-center {
    align-items: center !important;
}

.appendify-search-results .align-items-start {
    align-items: flex-start !important;
}

.appendify-search-results .justify-content-between {
    justify-content: space-between !important;
}

/* Width utilities */
.appendify-search-results .w-100 {
    width: 100% !important;
}

/* Text utilities */
.appendify-search-results .text-left {
    text-align: left !important;
}

.appendify-search-results .text-primary {
    color: #007bff !important;
}

.appendify-search-results .text-muted {
    color: #6c757d !important;
}

.appendify-search-results .text-white {
    color: #fff !important;
}

/* Background utilities */
.appendify-search-results .bg-light {
    background-color: #f8f9fa !important;
}

.appendify-search-results .bg-primary {
    background-color: #007bff !important;
}

.appendify-search-results .bg-white {
    background-color: #fff !important;
}

/* Border utilities */
.appendify-search-results .border {
    border: 1px solid #b6c7da !important;
}

.appendify-search-results .border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

.appendify-search-results .border-0 {
    border: 0 !important;
}

.appendify-search-results .rounded {
    border-radius: 0.25rem !important;
}

/* Padding utilities */
.appendify-search-results .p-0 {
    padding: 0 !important;
}

.appendify-search-results .p-1 {
    padding: 0.25rem !important;
}

.appendify-search-results .p-2 {
    padding: 0.5rem !important;
}

.appendify-search-results .p-3 {
    padding: 0.35rem !important;
}

.appendify-search-results .px-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.appendify-search-results .py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

/* Button styles */
.appendify-search-results .btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    padding-left: 5px;
    padding-right: 5px;
    /* font-size: 1rem; */
    line-height: 1;
    border-radius: 0.25rem;
    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;
}

.appendify-search-results .btn:hover {
    color: #212529;
    text-decoration: none;
}

.appendify-search-results .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.appendify-search-results .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.appendify-search-results .btn-block {
    display: block;
    width: 100%;
}

.appendify-search-results .btn-link {
    font-weight: 400;
    color: #007bff;
    text-decoration: none;
}

.appendify-search-results .btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.appendify-search-results .btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}

.appendify-search-results .btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.apply-single.btn-primary {
    position: absolute;
    right: 10px;
}

.appendify-search-results .btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.appendify-search-results .btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.appendify-search-results .btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.appendify-search-results .btn-outline-info {
    color: #17a2b8;
    border-color: #17a2b8;
}

.appendify-search-results .btn-outline-info:hover {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

/* Badge styles */
.appendify-search-results .badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    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;
}

.appendify-search-results .badge-primary {
    color: #fff;
    background-color: #007bff;
}

.appendify-search-results .badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

.appendify-search-results .badge-success {
    color: #fff;
    background-color: #28a745;
}

.appendify-search-results .badge-info {
    color: #fff;
    background-color: #17a2b8;
}

.appendify-search-results .badge-warning {
    color: #212529;
    background-color: #ffc107;
}

/* Collapse animation */
.appendify-search-results .collapse {
    display: none;
}

.appendify-search-results .collapse.show {
    display: block;
}

.appendify-search-results .collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* Form controls */
.appendify-search-results input[type="radio"] {
    margin: 0;
}

.appendify-search-results .form-check-input {
    position: relative;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

/* Grid system */
.appendify-search-results .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.appendify-search-results .col-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.appendify-search-results .col-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 50%;
    max-width: 50%;
}

.appendify-search-results .col-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 100%;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .appendify-search-results .card-body {
        padding: 1rem;
    }

    .appendify-search-results .btn-xs {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    .appendify-search-results .col-4,
    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0.5rem;
    }

    .appendify-search-results .badge.small {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .appendify-search-results .px-2 {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    .appendify-search-results .p-3 {
        padding: 0.75rem !important;
    }

    .appendify-search-results .small {
        font-size: 0.8rem;
    }
}

/* Additional utility classes for better spacing */
.appendify-search-results .apply-item {
    transition: background-color 0.2s ease-in-out;
}

.appendify-search-results .sugerencias-value {
    margin-top: 0.125rem;
}

/* Enhanced visual feedback */
.appendify-search-results .apply-single:active {
    transform: translateY(1px);
}

.appendify-search-results .btn-link.collapsed::after {
    content: "";
    display: inline-block;
    margin-left: auto;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.appendify-search-results .btn-link:not(.collapsed)::after {
    transform: rotate(180deg);
}

.appendify-search-results button:not(.btn):focus,
.appendify-search-results input:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

table#table-lead .lead-status-1.label {
    display: block !important;
}

.quick-modify-edit-record-status {
    border: 5px solid black;
    padding: 8px;
    /* float: right; */
    margin-right: 15px;
    margin-left:15px;
    border-radius: 10px;
}

/* Center the loading animation */
#loading-animation {
    display: none; /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    text-align: center;
    box-shadow: 0px 1px 40px #69b09e;
    background-color: white;
    border-radius: 19px;
    padding: 20px;
}

/* Spinner animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #3498db; /* Blue color for the spinner */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right:auto;
    margin-left:auto;
}

/* Keyframes for spinner rotation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Optional: Loading text */
.loading-text {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}


.nav-tabs>li>a{
    padding:0.625rem 0.55rem!important;
}