.desired-route-notification {
    margin-top: 56px;
    margin-bottom: 80px;
}

.desired-route-notification .container {
    background-color: #f5f7fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 32px;
}

.desired-route-notification h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.desired-route-notification p {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.notification-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.notification-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notification-form .form-group-checkbox {
    flex: 1 0 100%;
    margin-top: 10px;
}

.notification-form .form-group-checkbox input[type="checkbox"] {
    -webkit-appearance: auto!important;
    -moz-appearance: auto!important;
    appearance: auto!important;
}

.desired-route-notification .form-group label {
    font-size: 16px;
    color: #0E0E0E;
    margin-bottom: 5px;
}

.desired-route-notification .form-group .select-wrapper .select2-container,
.desired-route-notification .form-group input[type="date"],
.desired-route-notification .form-group input[type="email"] {
    width: 257px!important;
}

.desired-route-notification .select2-container--default .select2-selection,
.desired-route-notification .form-group input[type="date"],
.desired-route-notification .form-group input[type="email"] {
    padding: 12px 16px;
    border: 1px solid #DADADA;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    background: #fff;
}

.desired-route-notification .select2-container {
    position: relative;
    display: inline-block;
    width: 100% !important;
}

.desired-route-notification .select2-container--default .select2-selection {
    appearance: none;
    padding: 9px 30px 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
}

.desired-route-notification .select2-container--default .select2-selection:focus {
    border-color: #007bff;
    outline: none;
}

.desired-route-notification .select2-container--default .select2-selection--single .select2-selection__arrow {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/uploads/dropdown-arrow.svg');
    background-size: cover;
    pointer-events: none;
    transition: transform 0.3s ease; /* Smooth transition */
    z-index: 9990;
}

.desired-route-notification .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.desired-route-notification .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: translateY(-50%) rotate(180deg);
    z-index: 9992;
}

.desired-route-notification-select2-class.select2-container--open .select2-search.select2-search--dropdown {
    appearance: none;
    padding: 9px 30px 9px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    border: 1px solid #DADADA;
    border-radius: 4px;
    width: 100%;
    background: #fff;
}

.desired-route-notification-select2-class.select2-container--open .select2-search.select2-search--dropdown input {
    font-size: 16px;
}

.desired-route-notification-select2-class.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 0;
}

.desired-route-notification-select2-class.select2-container--open .select2-dropdown {
    margin-top: 0;
    top: -47px;
    background-color: unset;
    border: unset;
}

.desired-route-notification-select2-class.select2-container--open .select2-dropdown .select2-results {
    margin-top: 14px;
    box-shadow: 0px 10px 16px 0px #2F2F2F1A;
    background-color: #fff;
    border-radius: 8px;
}

/* Style the scrollbar for the select2 dropdown */
.desired-route-notification-select2-class.select2-container--open .select2-dropdown .select2-results .select2-results__options {
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: #BCC3CA #F0F2F5;
}

/* Style the scrollbar track */
.desired-route-notification-select2-class.select2-container--open .select2-dropdown .select2-results .select2-results__options::-webkit-scrollbar {
    width: 8px; /* Adjust the width as needed */
}

.desired-route-notification-select2-class.select2-container--open .select2-dropdown .select2-results .select2-results__options::-webkit-scrollbar-track {
    background: #F0F2F5; /* Track color */
    border-radius: 8px; /* Optional: match the dropdown's border radius */
}

/* Style the scrollbar thumb */
.desired-route-notification-select2-class.select2-container--open .select2-dropdown .select2-results .select2-results__options::-webkit-scrollbar-thumb {
    background: #BCC3CA; /* Thumb color */
    border-radius: 8px !important; /* Ensure the thumb has rounded corners */
}

/* Remove scrollbar arrows */
.desired-route-notification-select2-class.select2-container--open .select2-dropdown .select2-results .select2-results__options::-webkit-scrollbar-button {
    display: none !important; /* Hides the arrows */
}


.desired-route-notification-select2-class.select2-container--open .select2-results__option {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.desired-route-notification-select2-class.select2-container--open .select2-results__option--highlighted[aria-selected] {
    background-color: #F6F7F9;
    color: #303438;
}

/* .select2-hidden-accessible,
.select2-selection__clear {
    display: none;
} */

.select2-container--open .select2-results__option {
    padding: 8px 12px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.select2-container--open .select2-results__option--highlighted {
    background-color: #f0f0f0;
}

.desired-route-notification button[type="submit"] {
    background-color: #2756A0;
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    max-width: 180px;
    margin-top: 26px;
}

.desired-route-notification button[type="submit"]:hover {
    background-color: #3468b9;
}

.desired-route-notification-select2-class.select2-container--open .select2-dropdown.select2-dropdown--above {
    top: unset;
}

@media screen and (max-width: 1400px) {
    .desired-route-notification .notification-form {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 768px) {
    .desired-route-notification .notification-form {
        flex-direction: column;
    }

    .notification-form .form-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .desired-route-notification .form-group .select-wrapper .select2-container,
    .desired-route-notification .form-group input[type="date"],
    .desired-route-notification .form-group input[type="email"] {
        width: 100%!important;
    }

    .desired-route-notification button[type="submit"] {
        max-width: 100%;
    }

    .desired-route-notification-select2-class.select2-container--open .select2-dropdown {
        top: -47px;
        z-index: 9991;
    }

    .pagination-and-show-in-page .show-in-page {
        display: none;
    }
}

/* .desired-route-notification-select2-class.select2-container--open .select2-dropdown.select2-dropdown--above {
    display: flex;
    flex-direction: column-reverse;
    top: 79px;
}

.desired-route-notification-select2-class.select2-container--open .select2-dropdown.select2-dropdown--above .select2-results {
    margin-bottom: 14px;
} */