.modal {
    --ts-dropdown-zindex: 1056;
}

.ts-wrapper {
    position: relative !important;
    width: 100% !important;
}

.ts-control {
    box-shadow: none !important;
    height: auto !important;
    outline: none !important;
    padding: 0.775rem 1rem !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: #181C32 !important;
    background-color: #ffffff !important;
    border: 1px solid #E4E6EF !important;
    border-radius: 0.475rem !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
    min-height: calc(1.5em + 1.55rem + 2px) !important;
    display: flex !important;
    align-items: center !important;
}

.ts-wrapper.focus .ts-control {
    border-color: #B5B5C3 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.ts-dropdown {
    border: 0 !important;
    box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.1) !important;
    border-radius: 0.475rem !important;
    padding: 1rem 0 !important;
    background-color: #ffffff !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    z-index: var(--ts-dropdown-zindex) !important;
}

.ts-dropdown .option {
    color: #5E6278 !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
    padding: 0.75rem 1.25rem !important;
    margin: 0 0 !important;
}

.ts-dropdown .active,
.ts-dropdown .option:hover {
    background-color: #E8FFF3 !important;
    color: #008000 !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
}

.ts-dropdown .option.selected {
    background-color: #008000 !important;
    color: #FFFFFF !important;
}

.ts-dropdown-content {
    max-height: 200px !important;
    overflow-y: auto !important;
}

.ts-dropdown .ts-dropdown-header {
    display: block !important;
    padding: 0.5rem 1.25rem !important;
    margin: 0 0 0.5rem 0 !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    color: #3F4254 !important;
    border-bottom: 1px solid #EFF2F5 !important;
}

.ts-wrapper .ts-control input {
    color: #181C32 !important;
    font-weight: 500 !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    min-height: auto !important;
    height: auto !important;
    margin: 0 !important;
    width: 4px !important;
    position: relative !important;
    flex: 1 !important;
}

.ts-wrapper .ts-control input::placeholder {
    color: #A1A5B7 !important;
    opacity: 1 !important;
}

.ts-wrapper.single .ts-control:after {
    content: "" !important;
    border: 0 !important;
    border-left: 1px solid #A1A5B7 !important;
    border-top: 1px solid #A1A5B7 !important;
    width: 8px !important;
    height: 8px !important;
    margin-top: -4px !important;
    transform: rotate(-135deg) !important;
    right: 1rem !important;
    position: absolute !important;
}

.ts-wrapper .ts-control .clear-button {
    display: block !important;
    height: 0.7rem !important;
    width: 0.7rem !important;
    top: 50% !important;
    right: 3rem !important;
    position: absolute !important;
    transform: translateY(-50%) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235E6278'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 0.5 !important;
    transition: opacity 0.2s ease !important;
}

.ts-wrapper .ts-control .clear-button:hover {
    opacity: 1 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23008000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") !important;
}
