/* Typography overrides for OA Practice Widget v2.
   Increases legacy pixel-based sizes by 2px equivalents using rem units so
   typography scales consistently across breakpoints. */

:root {
    --oa-practice-font-15px: 15px;
    --oa-practice-font-16px: 16px;
    --oa-practice-font-17px: 17px;
    --oa-practice-font-18px: 18px;
    --oa-practice-font-19px: 19px;
    --oa-practice-font-20px: 20px;
    --oa-practice-font-21px: 21px;
    --oa-practice-font-23px: 23px;
}

.f14 {
    font-size: var(--oa-practice-font-17px);
}

.fnt12regular {
    font-size: var(--oa-practice-font-15px);
    line-height: 1.25;
}

.fnt12medium {
    font-size: var(--oa-practice-font-15px);
    line-height: 1.1666667;
}

.fnt12italic {
    font-size: var(--oa-practice-font-15px);
    line-height: 1.3333333;
}

.plw-wrapper .fnt12greynormal {
    font-size: var(--oa-practice-font-15px);
    line-height: 1.5;
}

.fnt13regular,
.fnt13medium {
    font-size: var(--oa-practice-font-16px);
    line-height: 1.2307693;
}

.fnt14regular,
.fnt14medium,
.fnt14mediumitalic,
.fnt14semibold,
.fnt14italic,
.plw-wrapper .fnt14semibold {
    font-size: var(--oa-practice-font-17px);
    line-height: 1.2857143;
}

.fnt15regular,
.fnt15medium {
    font-size: var(--oa-practice-font-18px);
    line-height: 1.3333333;
}

.fnt16light,
.fnt16regular,
.fnt16medium,
.fnt16semibold {
    font-size: var(--oa-practice-font-19px);
    line-height: 1.375;
}

.plw-wrapper .fnt16greynormal {
    font-size: var(--oa-practice-font-19px);
    line-height: 1.5625;
}

.fnt17medium {
    font-size: var(--oa-practice-font-20px);
    line-height: 1.4117647;
}

.fnt20regular,
.fnt20medium {
    font-size: var(--oa-practice-font-23px);
    line-height: 1.3;
}

.plw-wrapper .f16 {
    font-size: var(--oa-practice-font-19px) !important;
}

.h-wrapper .input-group.location-input .inputicon {
    font-size: var(--oa-practice-font-19px);
}

.accpt-new-pt-badge {
    font-size: var(--oa-practice-font-15px) !important;
}

.plw-wrapper .more-filters .more-filters-text,
.plw-wrapper .result,
.plw-wrapper .doc-details .docDetails .result {
    font-size: var(--oa-practice-font-16px) !important;
    line-height: 1.3847;
    font-weight: 500 !important;
}

.plw-wrapper .result .emphasis,
.plw-wrapper .doc-details .docDetails .emphasis {
    font-size: var(--oa-practice-font-21px) !important;
    line-height: 1.25;
}

.plw-wrapper span.chipText,
.plw-wrapper .linkText {
    font-size: var(--oa-practice-font-17px) !important;
    line-height: 1.285;
    margin: 5px;
}

.plw-wrapper .time-slot,
.plw-wrapper .doclist-item-wrapper .time-slot,
.plw-wrapper .slots-date-container .time-slot,
.plw-wrapper .schedule .time-slot,
.h-wrapper .time-slot,
.h-wrapper .doclist-item-wrapper .time-slot {
    font-size: var(--oa-practice-font-17px) !important;
    line-height: 1.375;
    min-height: 2.5rem;
}

.plw-wrapper .slots-date-container .slot-date,
.plw-wrapper .slots-date-container .proider-slot-by-date,
.plw-wrapper .date-list .date-item,
.plw-wrapper .monthSec .date-item,
.plw-wrapper .schedule .date-item,
.h-wrapper .slots-date-container .slot-date,
.h-wrapper .slots-date-container .proider-slot-by-date,
.h-wrapper .date-list .date-item,
.h-wrapper .schedule .date-item {
    font-size: var(--oa-practice-font-17px) !important;
    line-height: 1.3125;
}

.plw-wrapper .calendarSec .day,
.plw-wrapper .calendarSec .day span,
.h-wrapper .calendarSec .day,
.h-wrapper .calendarSec .day span {
    font-size: var(--oa-practice-font-16px) !important;
}

.plw-wrapper .locateText,
.plw-wrapper .locateText p,
.h-wrapper .locateText,
.h-wrapper .locateText p {
    font-size: var(--oa-practice-font-17px) !important;
    line-height: 1.375;
}

.plw-wrapper .change-location-btn,
.h-wrapper .change-location-btn {
    font-size: var(--oa-practice-font-17px) !important;
    line-height: 1.375;
}

.plw-wrapper .loc-address-font,
.h-wrapper .loc-address-font {
    font-size: var(--oa-practice-font-16px) !important;
    line-height: 1.3847;
}

.plw-wrapper .locateAddr,
.h-wrapper .locateAddr {
    font-size: var(--oa-practice-font-17px) !important;
    line-height: 1.375;
}

.plw-wrapper .facility-name,
.h-wrapper .facility-name {
    font-size: var(--oa-practice-font-17px) !important;
    line-height: 1.375;
}

.plw-wrapper .distance-text,
.h-wrapper .distance-text {
    font-size: var(--oa-practice-font-17px) !important;
    line-height: 1.375;
}

.plw-wrapper [id^="empty-slot-"],
.h-wrapper [id^="empty-slot-"] {
    font-size: var(--oa-practice-font-17px) !important;
    line-height: 1.375;
}

.plw-wrapper .top-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.plw-wrapper .top-filter .filter-entry-fields {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.plw-wrapper .top-filter .filter-action-fields {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex: 0 0 auto;
}

.plw-wrapper .filter-action-fields .scheduleday-group .btn {
    min-width: 32px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.plw-wrapper .filter-action-fields .scheduleday-group {
    display: inline-flex;
    gap: 4px;
}

.plw-wrapper .top-filter {
    border-bottom: 1px solid #dfdfdf;
}

.plw-wrapper .top-filter .filter-entry-fields .inp-set,
.plw-wrapper .top-filter .filter-entry-fields .selectDrop {
    flex: 1 1 0;
    min-width: 235px;
    max-width: 170px;
}

.plw-wrapper .top-filter .filter-entry-fields .width-long {
    min-width: 340px;
}

.plw-wrapper .top-filter .filter-entry-fields .inp-set-right {
    flex: 1 1 0;
    min-width: 30%
}

.plw-wrapper .top-filter .filter-entry-fields .form-fields-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.plw-wrapper .top-filter .filter-entry-fields .selectDrop .input-group,
.plw-wrapper .top-filter .filter-entry-fields .selectDrop .select-box {
    width: 100%;
    min-width: 0;
}

.plw-wrapper .top-filter .filter-entry-fields #provider-input .select2-container,
.plw-wrapper .top-filter .filter-entry-fields #specialityListXHRDiv + .select2-container,
.plw-wrapper .top-filter .filter-entry-fields #oa_visit_reason_select + .select2-container,
.plw-wrapper .top-filter .filter-entry-fields #allProvListXHRDiv + .select2-container,
.plw-wrapper .top-filter .filter-entry-fields #selected-facility + .select2-container {
    width: 100% !important;
}

.plw-wrapper .top-filter .filter-entry-fields .form-fields-section .button-chip {
    white-space: nowrap;
    padding-inline: 12px;
    min-height: 32px;
    flex-shrink: 1;
}

.plw-wrapper .date-input-group {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 0 0 140px;
    min-width: 120px;
}

.plw-wrapper .filter-action-fields .more-filters-text {
    white-space: nowrap;
    font-size: var(--oa-practice-font-16px);
}

@media only screen and (max-width: 767px) {
    .plw-wrapper .linkText {
        font-size: var(--oa-practice-font-17px) !important;
    }

    .plw-wrapper .time-slot,
    .h-wrapper .time-slot {
        font-size: var(--oa-practice-font-17px) !important;
    }
}

.plw-wrapper .btn {
    font-size: 14px !important;
}

.plw-wrapper .next-availability {
    text-align: center;
    margin: 16px 0;
}

.plw-wrapper .time-slot.next-availability-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-width: 0;
    padding: 6px 14px;
    margin: 6px auto 0;
}

.select2-dropdown {
    font-size: 16px;
}

#select2-mobileSpecialityListXHRDiv-results,
#select2-oa_filter_visit_reason_select-results,
#select2-selected-mobile-facility-results,
#updateSearchModal .select2-container .select2-selection > .select2-selection__rendered {
    font: 16px Poppins, sans-sarif !important;
}

.plw-wrapper .ui-datepicker .ui-widget-header {
    font: normal 500 16px/16px "Poppins", sans-serif !important;
}

.plw-wrapper .ui-datepicker .ui-datepicker-close,
.plw-wrapper .ui-datepicker .ui-datepicker-current {
    font: normal 400 15px / 16px "Poppins", sans-serif !important;
}

#languageSearch + .select2-container .select2-selection__rendered .select2-selection__placeholder,
#languageSearchMv + .select2-container .select2-selection__rendered .select2-selection__placeholder,
#languageSearch + .select2-container .select2-search--inline .select2-search__field::placeholder,
#languageSearchMv + .select2-container .select2-search--inline .select2-search__field::placeholder {
    font-size: var(--oa-practice-font-16px) !important;
    font-weight: 500 !important;
    font-family: 'Poppins', sans-serif;
    color: #2B2B2B !important;
}

#languageSearch + .select2-container .select2-selection--multiple,
#languageSearchMv + .select2-container .select2-selection--multiple {
    position: relative;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #d6d6d6;
    border-radius: 12px;
    padding: 5px 44px 10px 12px;
    min-height: 42px;
    box-shadow: 0 3px 10px rgba(19, 42, 78, 0.08);
}

#languageSearch + .select2-container .select2-selection--multiple::after,
#languageSearchMv + .select2-container .select2-selection--multiple::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-right: 2px solid #5b6773;
    border-bottom: 2px solid #5b6773;
    transform: translateY(-50%) rotate(45deg);
    top: 50%;
    right: 18px;
    pointer-events: none;
}

#languageSearch + .select2-container .select2-selection--multiple .select2-selection__rendered,
#languageSearchMv + .select2-container .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

#languageSearch + .select2-container .select2-selection--multiple .select2-selection__arrow,
#languageSearchMv + .select2-container .select2-selection--multiple .select2-selection__arrow {
    display: none;
}

#languageSearch + .select2-container, #languageSearchMv + .select2-container {
    padding-right: 0 !important;
}

@media (min-width: 420px) and (max-width: 475px) {
    #divEarlyPtValidationDtl .userprofile-section {
        width: 267px !important;
        left: -15px !important;
    }
}

@media (max-width: 991px) {
    #updateSearchModal .input-group select.form-control.selection-field {
        width: 100%;
        min-width: 0;
        padding-right: 42px;
        white-space: normal;
        text-overflow: clip;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image:
                linear-gradient(45deg, transparent 50%, #5b6773 50%),
                linear-gradient(135deg, #5b6773 50%, transparent 50%);
        background-position:
                calc(100% - 18px) center,
                calc(100% - 12px) center;
        background-size: 6px 6px;
        background-repeat: no-repeat;
    }

    #updateSearchModal .input-group select.form-control.selection-field::-ms-expand {
        display: none;
    }

    #appointment-date-mv,
    #provider-appointment-date-mv {
        width: 100%;
        border-radius: 10px !important;
        border: 1px solid #d6d6d6;
        background-color: #ffffff;
        padding: 10px 20px 10px 18px !important;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.25;
        color: #24313c;
        cursor: pointer;
        text-align: right;
    }

    #appointment-date-mv::placeholder,
    #provider-appointment-date-mv::placeholder {
        color: #616d7f;
        font-weight: 500;
    }

    #appointment-date-mv.disabled,
    #appointment-date-mv[disabled],
    #provider-appointment-date-mv.disabled,
    #provider-appointment-date-mv[disabled] {
        background-color: #f4f6fa !important;
        border-color: #e2e6ed;
        box-shadow: none;
        cursor: not-allowed;
    }

    #appointment-date-mv:not(.disabled):hover,
    #appointment-date-mv:not([disabled]):hover,
    #provider-appointment-date-mv:not(.disabled):hover,
    #provider-appointment-date-mv:not([disabled]):hover {
        border-color: #0d0630;
        box-shadow: 0 5px 14px rgba(12, 32, 68, 0.16);
    }

    #appointment-date-mv:not(.disabled):focus,
    #appointment-date-mv:not([disabled]):focus,
    #provider-appointment-date-mv:not(.disabled):focus,
    #provider-appointment-date-mv:not([disabled]):focus {
        outline: none;
        border-color: #0d0630;
        box-shadow: 0 0 0 3px rgba(13, 6, 48, 0.16);
    }
}

@media (max-width: 992px) {
    .custom-width-165 {
        width: 165px !important;
    }
    #appointment-date-mv + .ui-datepicker-trigger, #provider-appointment-date-mv + .ui-datepicker-trigger {
        outline: none !important;
        height: 0;
        width: 0;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    #selected-specialty-name, #selected-visit-reason-name {
        font-size: 16px !important;
    }

    .plw-wrapper .slots-date-container .slot-date,
    .plw-wrapper .slots-date-container .proider-slot-by-date,
    .plw-wrapper .date-list .date-item, .plw-wrapper .monthSec .date-item,
    .plw-wrapper .schedule .date-item, .h-wrapper .slots-date-container .slot-date,
    .h-wrapper .slots-date-container .proider-slot-by-date, .h-wrapper .date-list .date-item,
    .h-wrapper .schedule .date-item, .plw-wrapper .time-slot, .plw-wrapper .doclist-item-wrapper .time-slot,
    .plw-wrapper .slots-date-container .time-slot, .plw-wrapper .schedule .time-slot,
    .h-wrapper .time-slot, .h-wrapper .doclist-item-wrapper .time-slot {
        font-size: var(--oa-practice-font-15px) !important;
    }
}

@media (min-width: 768px) {
    .cursor.me-1.me-md-3.btn-back-questionnaire {
        margin-top: .25rem;
    }
}

.OC-wrapper .form-control {
    font-size: 16px !important;
}