/* Usable native fallback when JavaScript is unavailable. */
select#chuyenkhoa[multiple] {
    width: 100%;
    min-height: 132px;
    padding: 6px 8px;
    line-height: 1.45;
}

select#chuyenkhoa[multiple] option {
    min-height: 30px;
    padding: 6px 8px;
}

.form_register .select2-container {
    width: 100% !important;
    max-width: 100%;
}

.form_register .select2-container--default .select2-selection--multiple {
    min-height: 42px;
    padding: 3px 34px 3px 5px;
    border: 1px solid #cfd8d4;
    border-radius: 6px;
    color: #00331e;
    background: #fff;
    box-shadow: inset 0 1px 3px rgba(16, 24, 40, .08);
    cursor: text;
}

.form_register .select2-container--default.select2-container--focus .select2-selection--multiple,
.form_register .select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #42b48b;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(66, 180, 139, .16);
}

.form_register .select2-container--default .select2-selection--multiple::after {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 0;
    height: 0;
    margin-top: -2px;
    border: 5px solid transparent;
    border-top-color: #667085;
    content: "";
    pointer-events: none;
}

.form_register .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
    padding: 0;
}

.form_register .select2-container--default .select2-selection--multiple .select2-selection__choice {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0;
    padding: 2px 9px 2px 25px;
    border: 1px solid #a7e0cc;
    border-radius: 999px;
    color: #075e45;
    background: #eaf8f3;
    font-size: 13px;
    line-height: 1.35;
}

.form_register .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: absolute;
    top: 50%;
    left: 8px;
    border: 0;
    color: #08795a;
    transform: translateY(-50%);
}

.form_register .select2-container--default .select2-search--inline .select2-search__field {
    width: 170px !important;
    height: 30px;
    margin: 0;
    padding: 4px 6px;
    border: 0;
    box-shadow: none;
}

.select2-container--open .select2-dropdown {
    z-index: 99999;
    overflow: hidden;
    border-color: #42b48b;
    border-radius: 7px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, .18);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    min-height: 38px;
    padding: 7px 10px;
    border-color: #cfd8d4;
    border-radius: 5px;
}

.select2-container--default .select2-results__option {
    min-height: 36px;
    padding: 8px 11px;
    line-height: 1.4;
}

.select2-container--default .select2-results__group {
    padding: 9px 11px 5px;
    color: #075e45;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: #fff;
    background: #42b48b;
}

@media (max-width: 767px) {
    .form_register .select2-container--default .select2-selection--multiple {
        min-height: 46px;
    }
}

.tv-specialty-picker {
    overflow: hidden;
    width: 100%;
    border: 1px solid #cfd8d4;
    border-radius: 7px;
    background: #fff;
    box-shadow: inset 0 1px 3px rgba(16, 24, 40, .06);
}

.tv-specialty-picker__hint {
    padding: 8px 11px;
    border-bottom: 1px solid #e4e7ec;
    color: #475467;
    background: #f8faf9;
    font-size: 12px;
    font-weight: 600;
}

.tv-specialty-picker__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    max-height: 230px;
    padding: 10px;
    overflow-y: auto;
}

.tv-specialty-picker__group {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.tv-specialty-picker__group-title {
    margin: 3px 0 2px;
    color: #08795a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.tv-specialty-picker__item {
    display: flex !important;
    position: static !important;
    align-items: flex-start;
    gap: 8px;
    max-width: none !important;
    min-height: 32px;
    margin: 0 !important;
    padding: 6px 8px;
    border-radius: 5px;
    white-space: normal !important;
    cursor: pointer;
    transition: background .15s ease;
}

.tv-specialty-picker__item:hover {
    background: #eefaf5;
}

.tv-specialty-picker__item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: #42b48b;
    flex: 0 0 auto;
    cursor: pointer;
}

.tv-specialty-picker__item span {
    color: #344054 !important;
    font-size: 13px !important;
    font-style: normal !important;
    line-height: 1.35;
}

.tv-specialty-picker__item:has(input:checked) {
    background: #e8f7f1;
    box-shadow: inset 0 0 0 1px #a7e0cc;
}

.tv-specialty-picker__error {
    display: block;
    margin-top: 6px;
    color: #d92d20 !important;
    font-size: 12px !important;
    font-style: normal !important;
}

.tv-specialty-picker__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px;
    color: #667085;
}

@media (max-width: 640px) {
    .tv-specialty-picker__options {
        grid-template-columns: 1fr;
    }
}

body.tv-modal-open {
    overflow: hidden;
}

#modal_form,
#modal_cme_payment {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 24px 12px;
    background: rgba(16, 24, 40, .58);
}

#modal_form.is-open,
#modal_cme_payment.is-open {
    display: block !important;
    opacity: 1;
}

#modal_form .modal-dialog,
#modal_cme_payment .modal-dialog {
    margin: 20px auto;
    transform: none !important;
}

#modal_form .modal-content,
#modal_cme_payment .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .3);
}

#modal_form .modal-header,
#modal_cme_payment .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#modal_form .tv-modal-close,
#modal_cme_payment .tv-modal-close {
    flex: 0 0 auto;
    opacity: .65;
}

.tv-participant-message {
    display: none;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.45;
}

.tv-participant-message.is-error,
.tv-participant-message.is-success {
    display: block;
}

.tv-participant-message.is-error {
    color: #b42318;
    background: #fef3f2;
}

.tv-participant-message.is-success {
    color: #067647;
    background: #ecfdf3;
}
