/* Start custom CSS *//* =========================================================
   CARE-E-WELL ACCOUNT TYPE FILTER
========================================================= */

.gmw-type-of-account-field-wrapper .gmw-field-label {
    display: block;
    margin-bottom: 16px;
    color: #1f2a44;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.gmw-type-of-account-field-wrapper .gmw-field-radio-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gmw-type-of-account-field-wrapper .gmw-field-radio-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.gmw-type-of-account-field-wrapper .gmw-radio-label {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 110px !important;
    height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 2px solid #dfe3e8 !important;
    border-radius: 999px !important;

    background: #ffffff !important;
    color: #1f2a44 !important;

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 42px !important;

    text-align: center !important;
    text-indent: 0 !important;
    white-space: nowrap !important;

    cursor: pointer;
    box-sizing: border-box !important;
    overflow: hidden;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

/* Remove any theme/plugin pseudo radio circles */
.gmw-type-of-account-field-wrapper .gmw-radio-label::before,
.gmw-type-of-account-field-wrapper .gmw-radio-label::after {
    display: none !important;
    content: none !important;
}

/* Completely remove radio input from visual/layout flow */
.gmw-type-of-account-field-wrapper .gmw-radio-label input[type="radio"],
.gmw-type-of-account-field-wrapper input[type="radio"] {
    display: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    width: 0 !important;
    height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.gmw-type-of-account-field-wrapper .gmw-radio-label:hover {
    border-color: #FE6A6E !important;
    color: #FE6A6E !important;
}

.gmw-type-of-account-field-wrapper .gmw-radio-label:has(input[type="radio"]:checked) {
    background: #FE6A6E !important;
    border-color: #FE6A6E !important;
    color: #ffffff !important;
}

.gmw-type-of-account-field-wrapper .gmw-radio-label:has(input[type="radio"]:checked):hover {
    color: #ffffff !important;
}

.gmw-type-of-account-field-wrapper .gmw-reset-field-trigger {
    display: none !important;
}

@media (max-width: 767px) {

    .gmw-type-of-account-field-wrapper .gmw-field-radio-buttons {
        gap: 10px;
    }

    .gmw-type-of-account-field-wrapper .gmw-radio-label {
        width: 96px !important;
        height: 38px !important;

        font-size: 16px !important;
        line-height: 38px !important;
    }
}/* End custom CSS */