@import "../colors";

.p-listbox {
    background-color: #fff !important;
    border-radius: 4px !important;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25) !important;
    padding: 4px 0;

    .p-listbox-header {
        border-bottom: 1px solid #c1c1cc;
        display: flex;
        font-family: "Open Sans", sans-serif;
        font-size: 14px;
        font-weight: 700;
        gap: 12px;
        padding: 16px;

        .p-listbox-filter-container {
            position: relative;
            width: 100%;

            .p-listbox-filter {
                background-color: #fff;
                border: 1px solid #c1c1cc;
                border-radius: 4px;
                padding: 8px 32px 8px 12px;
                height: 21px;
            }

            .p-inputicon {
                position: absolute;
                right: 10px;
                top: 12px;
            }
        }
    }

    .p-listbox-list {
        padding: 0;

        .p-listbox-option {
            color: #212533;
            display: flex;
            font-family: "Open Sans", sans-serif;
            font-size: 14px;
            gap: 16px;
            padding: 12px 16px;

            &:not(.p-listbox-option-selected):hover {
                background: #eeebf2 !important;
            }

            &-selected {
                background: #dedce5 !important;
            }
        }

        .p-listbox-empty-message {
            display: flex;
            font-family: "Open Sans", sans-serif;
            font-size: 14px;
            justify-content: center;
            margin: 16px;
        }
    }
}

.p-listbox.p-disabled {
    .p-listbox-list-container,
    .p-listbox-header {
        background: #fbfafc;
        color: #c1c1cc;
    }
}
