@import '../../../styles/fills';
@import '../../../styles/mixins';
@import '../../../styles/definitions/colors';

.searchBar {
    &_container {
        height: 48px;
        max-width: 632px;
        width: 100%;
        justify-content: center;
        align-items: center;
        z-index: 5;
    }

    &_border {
        height: 100%;
        width: 100%;
        border: none;
        display: flex;
        overflow: hidden;
    }

    &_inputBar {
        border: none;
        width: 100%;
        height: 100%;
        padding-left: 18px;
        color: $dark-gray;
        z-index: 5;
        
        &::placeholder {
            color: $dark-gray;
            opacity: 50%;
        }
    }

    &_button {
        border: none;
        width: 100%;
        height: 100%;
        z-index: 5;
        font-size: 22.1px;
        line-height: 22px;
        flex-basis: 10%;
        min-width: 40px;

        &--custom-bg-color {
            background-color: var(--button-bg-color);

            &:hover, &:focus {
                background-color: var(--button-bg-hover-color);
            }
        }
    }
    
    &_icon {
        width: 19px;
        height: 22px;
        fill: var(--button-icon-color, $white);
    }
}
