/**
 * Stylizacja przełącznika kupującego, sekcji Odbiorcy JST oraz akordeonu faktury w koszyku
 *
 * @package Instytut_Volare
 */

/* -------------------------------------------------------------------------
   PEŁNA SZEROKOŚĆ FORMULARZA KASY W RAMCE (CUSTOMER DETAILS)
   Rozwiązanie problemu wąskiego formularza (WooCommerce default col-1: 48%)
   ------------------------------------------------------------------------- */
.woocommerce-checkout #customer_details.col2-set,
.woocommerce-checkout .col2-set {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #customer_details.col2-set .col-1,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout .col2-set .col-1 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #customer_details.col2-set .col-2,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout .col2-set .col-2 {
    display: none !important; /* Produkty cyfrowe nie posiadają osobnych pól wysyłki */
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* -------------------------------------------------------------------------
   PIGUŁKI WYBORU NABYWCY (KASA I KOSZYK)
   ------------------------------------------------------------------------- */
.volare-buyer-type-container {
    width: 100% !important;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1e8f3;
    box-sizing: border-box !important;
}

.volare-buyer-type-pills {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.volare-cart-type-options {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.volare-type-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    user-select: none;
    box-sizing: border-box !important;
}

.volare-type-pill:hover {
    border-color: #cbd5e1;
    background-color: #faf7f9;
    transform: translateY(-1px);
}

.volare-type-pill.active {
    border-color: #9d2562 !important;
    background-color: #fdf2f8 !important;
    box-shadow: 0 4px 12px rgba(157, 37, 98, 0.08) !important;
}

.volare-pill-icon {
    font-size: 26px;
    color: #64748b;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.volare-type-pill.active .volare-pill-icon {
    color: #9d2562 !important;
}

.volare-pill-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.volare-pill-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
}

.volare-type-pill.active .volare-pill-text strong {
    color: #9d2562 !important;
}

.volare-pill-text small {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.3;
}

/* -------------------------------------------------------------------------
   AKORDEON FAKTURY W KOSZYKU (/koszyk/)
   ------------------------------------------------------------------------- */
.volare-cart-invoice-accordion {
    margin: 24px 0 20px 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.volare-cart-invoice-accordion.is-expanded {
    border-color: #d8b4fe;
    box-shadow: 0 4px 14px rgba(157, 37, 98, 0.06);
}

.volare-cart-invoice-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #faf7f9;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.volare-cart-invoice-toggle:hover {
    background: #f5eff5;
}

.volare-cart-invoice-toggle .volare-toggle-arrow {
    font-size: 24px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.volare-cart-invoice-body {
    padding: 20px;
    border-top: 1px solid #f1e8f3;
    background: #ffffff;
}

#volare-btn-save-cart-invoice {
    background: #9d2562;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

#volare-btn-save-cart-invoice:hover {
    background: #831b50;
    transform: translateY(-1px);
}

#volare-btn-save-cart-invoice:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* -------------------------------------------------------------------------
   STANY WALIDACJI I BŁĘDÓW W FORMULARZU KOSZYKA
   ------------------------------------------------------------------------- */
.volare-cart-field-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
}

.volare-input-error,
input.input-text.volare-input-error {
    border-color: #ef4444 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
    transition: all 0.2s ease;
}

.volare-field-error-msg {
    display: none;
    font-size: 11.5px;
    font-weight: 500;
    color: #dc2626;
    margin-top: 4px;
    line-height: 1.35;
    animation: volareFadeIn 0.2s ease-in-out;
}

.volare-field-error-msg.has-error {
    display: block !important;
}

.volare-cart-error-banner {
    background-color: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    color: #991b1b;
    font-size: 13px;
    line-height: 1.5;
    animation: volareFadeIn 0.25s ease-in-out;
}

.volare-cart-error-banner strong {
    color: #7f1d1d;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.volare-cart-error-banner ul {
    margin: 6px 0 0 18px;
    padding: 0;
    list-style-type: disc;
}

.volare-cart-error-banner li {
    margin-bottom: 3px;
    font-size: 12.5px;
}

.volare-cart-success-banner {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 14px;
    color: #166534;
    font-size: 12.5px;
    animation: volareFadeIn 0.2s ease;
}

.volare-cart-hint {
    transition: all 0.2s ease;
}

@keyframes volareFadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------------------------------------------------------------
   SEKCJA ODBIORCY JST W KASIE
   ------------------------------------------------------------------------- */
#volare-jst-recipient-wrapper {
    background: #fdf4ff !important;
    border: 1.5px solid #f0abfc !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(192, 38, 211, 0.04);
    width: 100% !important;
    box-sizing: border-box !important;
}

#volare-jst-recipient-wrapper label {
    color: #4a044e !important;
}

#volare-jst-recipient-wrapper input.input-text {
    background: #ffffff !important;
    border: 1px solid #e879f9 !important;
}

#volare-jst-recipient-wrapper input.input-text:focus {
    border-color: #9d2562 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(157, 37, 98, 0.15) !important;
}

/* -------------------------------------------------------------------------
   POLE STATUSU NAUCZYCIELA W KASIE (NA SAMYM DOLE DANYCH)
   ------------------------------------------------------------------------- */
.volare-field-teacher-chk {
    grid-column: span 2 !important;
    width: 100% !important;
    background: #faf5ff !important;
    padding: 14px 16px !important;
    border: 1.5px dashed #d8b4fe !important;
    border-radius: 10px !important;
    margin-top: 14px !important;
    margin-bottom: 6px !important;
    box-sizing: border-box !important;
}

.volare-field-teacher-chk label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #581c87 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

.volare-field-teacher-school {
    grid-column: span 2 !important;
    width: 100% !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    .volare-buyer-type-pills,
    .volare-cart-type-options {
        grid-template-columns: 1fr !important;
    }
}

/* -------------------------------------------------------------------------
   WIDŻETY RATALNE PAYU (CAŁKOWITE UKRYCIE)
   ------------------------------------------------------------------------- */
#installment-mini-total,
#installment-mini-cart,
#installment-mini,
.payu-installments-mini,
.payu-widget,
tr.payu-installments-row,
tr.woocommerce-review-order-after-order-total {
    display: none !important;
}

/* -------------------------------------------------------------------------
   SZCZEGÓŁY WIZYTY / DIAGNOZY W PODSUMOWANIU ZAMÓWIENIA (KASA I KOSZYK)
   ------------------------------------------------------------------------- */
.woocommerce table.shop_table dl.variation,
.woocommerce-checkout-review-order-table dl.variation,
dl.variation {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 12px !important;
    row-gap: 6px !important;
    align-items: baseline !important;
    margin: 12px 0 4px 0 !important;
    padding: 12px 16px !important;
    background: #fdf4ff !important;
    border: 1px solid #f5d0fe !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    box-sizing: border-box !important;
}

.woocommerce table.shop_table dl.variation dt,
.woocommerce-checkout-review-order-table dl.variation dt,
dl.variation dt {
    float: none !important;
    clear: none !important;
    grid-column: 1 !important;
    font-weight: 700 !important;
    color: #701a75 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.woocommerce table.shop_table dl.variation dd,
.woocommerce-checkout-review-order-table dl.variation dd,
dl.variation dd {
    float: none !important;
    clear: none !important;
    grid-column: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1e1b4b !important;
    font-weight: 500 !important;
    word-break: break-word !important;
}

.woocommerce table.shop_table dl.variation dd p,
.woocommerce-checkout-review-order-table dl.variation dd p,
dl.variation dd p {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* -------------------------------------------------------------------------
   UNIFIKACJA TYPOGRAFII I ROZMIARÓW W KASIE (PODSUMOWANIE I PŁATNOŚCI)
   ------------------------------------------------------------------------- */
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout #payment {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}

/* Tabela podsumowania produktów */
.woocommerce-checkout table.woocommerce-checkout-review-order-table,
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
    width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid #ede9fe !important;
    border-radius: 14px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px -2px rgba(109, 40, 217, 0.04) !important;
    margin: 0 0 20px 0 !important;
}

/* Nagłówek tabeli */
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #475569 !important;
    background: #faf8fd !important;
    padding: 14px 20px !important;
    border: none !important;
    border-bottom: 1.5px solid #ede9fe !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th.product-total {
    text-align: right !important;
}

/* Ciało tabeli - wiersz produktu */
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td {
    padding: 18px 20px !important;
    border: none !important;
    vertical-align: top !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td.product-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    line-height: 1.45 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td.product-total {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    text-align: right !important;
    white-space: nowrap !important;
}

/* Stopka tabeli - podsumowanie kwot */
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    padding: 12px 20px !important;
    border: none !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    border-top: 1px solid #f1f5f9 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-align: right !important;
    border-top: 1px solid #f1f5f9 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #1b1744 !important;
    border-top: 2px solid #ede9fe !important;
    background: #faf8fd !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1b1744 !important;
    text-align: right !important;
    border-top: 2px solid #ede9fe !important;
    background: #faf8fd !important;
}

/* Karta wyboru metod płatności */
.woocommerce-checkout #payment {
    background: #faf8fd !important;
    border: 1.5px solid #ede9fe !important;
    border-radius: 14px !important;
    padding: 18px !important;
    margin-top: 14px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:hover,
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input:checked) {
    border-color: #c83a9e !important;
    background: #fdf4ff !important;
    box-shadow: 0 2px 8px rgba(200, 58, 158, 0.08) !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1b1744 !important;
    cursor: pointer !important;
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    accent-color: #c83a9e !important;
    width: 17px !important;
    height: 17px !important;
    margin: 0 4px 0 0 !important;
    cursor: pointer !important;
}

/* Badges płatności */
.volare-payu-badges {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-left: auto !important;
}

.volare-payu-badges img {
    height: 22px !important;
    width: auto !important;
    max-height: 22px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06)) !important;
}

/* Opis metody płatności w rozsuwanym boxie */
.woocommerce-checkout #payment div.payment_box {
    background: #ffffff !important;
    border: 1px solid #f0abfc !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    margin: 10px 0 4px 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #475569 !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

/* Polityka prywatności i zgody */
.woocommerce-checkout .woocommerce-privacy-policy-text p {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    margin: 16px 0 12px 0 !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a,
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text a {
    color: #c83a9e !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-top: 14px !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.checkbox {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    color: #334155 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    cursor: pointer !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    accent-color: #c83a9e !important;
    width: 16px !important;
    height: 16px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
}

/* Przycisk złożenia zamówienia */
.woocommerce-checkout #place_order {
    width: 100% !important;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 15px 24px !important;
    border-radius: 12px !important;
    margin-top: 10px !important;
    text-align: center !important;
    letter-spacing: 0.02em !important;
}

/* -------------------------------------------------------------------------
   UJEDNOLICENIE SELECTÓW I POLA KRAJU (BILLING_COUNTRY & SELECT2)
   Eliminacja surowego, kanciastego stylu natywnego elementu przeglądarki
   ------------------------------------------------------------------------- */
.woocommerce-checkout select,
.woocommerce-checkout .woocommerce-billing-fields select,
.woocommerce form .form-row select,
#billing_country_field select,
#billing_salutation_field select {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 11px 40px 11px 14px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    color: #0f172a !important;
    height: 46px !important;
    line-height: 22px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.woocommerce-checkout select:focus,
.woocommerce-checkout .woocommerce-billing-fields select:focus,
.woocommerce form .form-row select:focus,
#billing_country_field select:focus,
#billing_salutation_field select:focus {
    border-color: #6d28d9 !important;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12) !important;
    background-color: #ffffff !important;
}

/* Stylowanie kontenera Select2 / SelectWoo (jeśli wstrzyknięty przez WooCommerce) */
.woocommerce-checkout .select2-container,
#billing_country_field .select2-container {
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single,
#billing_country_field .select2-container--default .select2-selection--single {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    height: 46px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
#billing_country_field .select2-container--default.select2-container--open .select2-selection--single,
#billing_country_field .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #6d28d9 !important;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12) !important;
    outline: none !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
#billing_country_field .select2-selection__rendered {
    color: #0f172a !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    line-height: 44px !important;
    padding-left: 0 !important;
    padding-right: 28px !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow,
#billing_country_field .select2-selection__arrow {
    height: 44px !important;
    top: 0 !important;
    right: 12px !important;
    width: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b,
#billing_country_field .select2-selection__arrow b {
    border: none !important;
    width: 16px !important;
    height: 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
    margin: 0 !important;
}

/* Lista rozwijana Select2 */
.select2-dropdown {
    border: 1.5px solid #ede9fe !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -4px rgba(109, 40, 217, 0.15) !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 14px !important;
    overflow: hidden !important;
    margin-top: 4px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
    background-color: #701a75 !important;
    color: #ffffff !important;
}
