/**
 * Filename:    sa_combobox.css
 * 
 * Description: Implementation of the sa_combobox class.
 * 
 * Copyright © 1999-2023 by Interact Solutions Ltda.
 * Rua Carlos Fett Filho, 47/301
 * 95.900.000, LAJEADO, RS
 * BRAZIL
 * 
 * The copyright to the computer program(s) herein
 * is the property of Interact Solutions Ltda., Brazil.
 * The program(s) may be used and/or copied only with
 * the written permission of Interact Solutions Ltda.
 * or in accordance with the terms and conditions
 * stipulated in the agreement/contract under which
 * the program(s) have been supplied.
 */

.sa_combobox
{
    cursor: pointer;
}

.sa_combobox input
{
    border: 1px solid #86A4BE;
}

.sa_combobox .sa_combobox__selector
{
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    font-size: 12px;
    user-select: auto;
    color: rgb( var(--color-gray650) );
    overflow: hidden;
    text-overflow: ellipsis;
}

.sa_combobox__popup
{
    border-radius: 4px;
    background: rgb( var(--color-white) );
    border: 1px solid rgb( var(--color-gray350) );
    box-sizing: border-box;
    padding: 4px;
    overflow: auto;
    box-shadow: 0px 6px 16px 0px #00000014, 0px 3px 6px -4px #0000001F, 0px 9px 28px 8px #0000000D;
}

.sa_combobox__popup.z-popup .z-popup-cl
{
    background: transparent;
    border: none;
    padding: 0;
}

.sa_combobox__popup.z-popup .z-popup-cnt
{
    padding: 0;
    line-height: unset;
    display: flex;
    flex-direction: column;
}

.sa_combobox__popup .sa_combobox__popup__item
{
    cursor: pointer;
    border-radius: 4px;
    padding: 4px;
    font-size: 12px;
    font-weight: normal;
    color: rgb(var(--color-gray650));
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sa_combobox__popup .sa_combobox__popup__item:hover
{
    background: rgb(var(--color-cyan40));
}

.sa_combobox__popup .sa_combobox__popup__item .sa_combobox__popup__item__title
{
    display: flex;
    align-items: center;
    gap: 4px;
}

.sa_combobox__popup .sa_combobox__popup__item .sa_combobox__popup__item__title span
{
    display: -webkit-box;
    white-space: unset !important;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
