/* #mapView svg {
    width: 100%;
    height: 80vh;
}

#mapView .county {
    stroke: black;
    stroke-width: 0.3px;
}

.d3tooltip {
    position: absolute;
    background: white;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
    display: none;
    pointer-events: none;
    z-index: 1000;
} */

.sortable span {
    cursor: pointer;
}

.no-wrap {
    white-space: nowrap !important;
}

.modal-title {
    font-weight: 600;
}

/* Custom filter remove icon (Blade-rendered) */
/* .filter-items i.fa-times {
    margin-left: 10px;
    position: relative;
    top: 0;
    cursor: pointer;
} */

/* Select2 clear button (×) */
/* .select2-selection__clear span {
    margin: 10px;
    position: relative;
    top: 7px;
    cursor: pointer;
} */

/* Optional: make sure the parent container has proper alignment */
/* .filter-items,
.select2-selection {
    display: flex;
    align-items: center;
} */

.pipeline-added {
    /* background-color: #9c9fa1 !important; */
    /* color: black !important; */
}

.deal-cal-added {
    background-color: #ebf5ff !important;
    /* color: black !important; */
}

/* Enable pointer events on SweetAlert containers even when body pointer-events is disabled */
.swal2-container {
    pointer-events: auto !important;
}

/* FAQ category / detail layout */
.faq-category-nav {
    max-height: 80vh;
    overflow-y: auto;
    background: #fff;
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-sm);
}

.faq-category-column,
.faq-detail-column {
    width: 100%;
}

.faq-category-nav__item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .875rem 1rem;
    color: var(--bs-body-color);
    text-align: left;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--bs-border-color);
    transition: color .2s ease, background-color .2s ease;
}

.faq-category-nav__item:first-child {
    border-radius: var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0 0;
}

.faq-category-nav__item:last-child {
    border-bottom: 0;
    border-radius: 0 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg);
}

.faq-category-nav__item:hover,
.faq-category-nav__item:focus-visible {
    color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
    outline: 0;
}

.faq-category-nav__item.active,
.faq-category-nav__item.active:hover,
.faq-category-nav__item.active:focus-visible {
    color: #fff;
    background-color: var(--bs-primary);
}

.faq-detail-panel {
    max-height: 80vh;
    min-height: 100%;
    overflow-y: hidden;
    padding: 1rem;
    background: #fff;
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-sm);
}
.faq-module {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.faq-detail-panel .inner-accordion:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 767.98px) {
    .faq-category-nav {
        max-height: 18rem;
    }
}

@media (min-width: 768px) {
    .faq-category-column {
        width: 35%;
    }

    .faq-detail-column {
        width: 65%;
    }
}

@media (min-width: 992px) {
    .faq-category-column {
        width: 30%;
    }

    .faq-detail-column {
        width: 70%;
    }
}

/* Contact category / detail layout */
.contact-category-nav {
    max-height: 78vh;
    overflow-y: auto;
    background: #fff;
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-sm);
}

.contact-category-column,
.contact-detail-column {
    width: 100%;
}

.contact-category-nav__item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .875rem 1rem;
    color: var(--bs-body-color);
    text-align: left;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--bs-border-color);
    transition: color .2s ease, background-color .2s ease;
}

.contact-category-nav__item:first-child {
    border-radius: var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0 0;
}

.contact-category-nav__item:last-child {
    border-bottom: 0;
    border-radius: 0 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg);
}

.contact-category-nav__item:hover,
.contact-category-nav__item:focus-visible {
    color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
    outline: 0;
}

.contact-category-nav__item.active,
.contact-category-nav__item.active:hover,
.contact-category-nav__item.active:focus-visible {
    color: #fff;
    background-color: var(--bs-primary);
}

.contact-category-nav__badge {
    min-width: 36px;
    background-color: var(--bs-primary)!important;
}

.contact-category-nav__item.active .contact-category-nav__badge {
    color: var(--bs-primary);
    background-color: #fff !important;
}

.contact-detail-panel {
    display: flex;
    flex-direction: column;
    max-height: 78vh;
    min-height: 38vh;
    padding: 1rem;
    background: #fff;
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-sm);
}

.contact-list-scroll {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.contact-card-trigger {
    cursor: pointer;
}

.contact-card-trigger:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.contact-additional-notes {
    display: flex;
    align-items: flex-start;
    position: relative;
    min-height: 1.25rem;
    padding-left: 0;
}

.contact-additional-notes .icon {
    flex: 0 0 22px;
}

.contact-additional-notes__text {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.contact-additional-notes.is-truncated .contact-additional-notes__text {
    padding-right: 4.5rem;
}

.contact-additional-notes__more {
    position: absolute;
    right: 0;
    bottom: 0;
    padding-left: .25rem;
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-additional-notes__more:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .contact-category-nav {
        max-height: 18rem;
    }

    .contact-detail-panel {
        height: auto;
        max-height: 70vh;
    }
}

@media (min-width: 768px) {
    .contact-category-column {
        width: 35%;
    }

    .contact-detail-column {
        width: 65%;
    }
}

@media (min-width: 992px) {
    .contact-category-column {
        width: 30%;
    }

    .contact-detail-column {
        width: 70%;
    }
}

.activity-log-email {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.4;
}
.activity-log-user-cell {
    max-width: 220px;
}

