.address-block {
    /* margin-bottom: 16px; */
    width: calc(33.33% - 16px);
}
.address-block p {
    margin: 0 0 4px 0!important;
    display: flex!important;
    align-items: center!important;
}
/* Make Select2 placeholder wider and prevent wrapping */
.select2-container .select2-search--inline .select2-search__field {
    width: 100% !important;
    min-width: 300px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-flex-list{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 24px;
}

/* Prevent placeholder text from wrapping in the dropdown */
.select2-container--default .select2-selection--multiple .select2-search__field {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 433px;
    width: 100% !important;
}
.results-skeleton {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 2rem;
    width: 100%;
    margin-top:10px;
}

.skeleton-card {
    background: #eaeaea;
    border-radius: 12px;
    min-height: 160px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: skeleton-loading 1.2s infinite linear;
}

.skeleton-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-title {
    width: 70%;
    height: 24px;
    background: #dedede;
    border-radius: 6px;
}

.skeleton-subtitle {
    width: 40%;
    height: 16px;
    background: #dedede;
    border-radius: 6px;
}

.skeleton-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-line {
    width: 100%;
    height: 14px;
    background: #dedede;
    border-radius: 6px;
}
#select2-addr1-container
{
    padding: 0px 12px !important;
}

.custom-height-controller  .select2-selection__clear{
    height: unset !important;
}

.custom-height-controller .select2-selection__rendered{
    padding: unset !important;
    line-height: unset !important;
}

/* Hide close button by default, show only when value is selected */
#select_a_medical_group + .select2-container .select2-selection__clear {
    display: none !important;
}

/* Show close button only when a value is actually selected */
#select_a_medical_group.has-value + .select2-container .select2-selection__clear {
    display: block !important;
}

@keyframes skeleton-loading {
    0% {
        background-color: #eaeaea;
    }

    50% {
        background-color: #f5f5f5;
    }

    100% {
        background-color: #eaeaea;
    }
}

/* Responsive for mobile */
@media (max-width: 900px) {
    .results-skeleton {
        grid-template-columns: 1fr;
    }
}

/* single-line summary + preserve inline search input */
/* .select2-container--default .select2-selection--multiple .select2-selection__rendered{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
} */

/* keep default chips spacing (we hide extras via JS) */
/* .select2-container--default .select2-selection--multiple .select2-selection__choice{
    margin-right: 6px;
} */

/* badge style for count */
/* .select2-selection__choice.custom-count-badge{
    background: #eef2ff;
    color: #0b2545;
    border-radius: 4px;
    padding: 3px 8px;
    margin-left: 6px;
} */

/* ensure the inline search input stays usable at the right */
/* .select2-container--default .select2-selection--multiple .select2-search--inline {
    flex: 0 0 auto;
    margin-left: auto;
} */

/* Specialty Select2 Styling */
.specialty-select2 .select2-selection__rendered {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Languages Select2 Styling */
.languages-select2 .select2-selection__rendered {
  white-space: nowrap !important;
  /* overflow: hidden !important; */
  text-overflow: ellipsis !important;
  /* color: #0066cc;  */
}