.dateField {
    :global {
        .react-datepicker-wrapper {
            width: 100%;
        }

        .react-datepicker-popper[data-placement^=bottom] {
            .react-datepicker__triangle {
                left: 50% !important;
                transform: translate(-50%, 0) !important;
            }
        }

        .react-datepicker__day {
            &--selected {
                &,
                &:hover {
                    background-color: var(--givewp-primary-color);
                }
            }

            &--keyboard-selected {
                background-color: var(--givewp-grey-100);

                &:hover {
                    background-color: var(--givewp-primary-color);
                }
            }
        }
    }
}

.multiSelectField {
    :global {
        .givewp-fields-multiSelect {
            &__control {
                border-color: rgb(102, 102, 102);
                box-shadow: none;

                &:hover {
                    border-color: var(--givewp-primary-color);
                }
            }

            &__multi-value {
                align-items: center;
                gap: var(--givewp-spacing-2);
                background: var(--givewp-grey-25);
                padding: var(--givewp-spacing-2);
                color: var(--givewp-grey-900);

                &__label {
                    font-size: 0.875rem;
                    line-height: 1rem;
                    font-weight: 500;
                    padding: 0;
                }

                &__remove {
                    background: none;
                    border: 0;
                    color: currentColor;
                    padding: 0;

                    svg {
                        width: 1rem;
                        height: 1rem;
                    }
                }
            }

            &__indicator {
                color: rgb(102, 102, 102);

                &:hover {
                    color: var(--givewp-primary-color);
                    cursor: pointer;
                }
            }

            &__indicator-separator {
                background-color: rgb(102, 102, 102);
            }

            &__option {
                &--is-focused {
                    background-color: var(--givewp-grey-25);
                    cursor: pointer;
                }
            }
        }
    }
}
