/* search bar*/

.user-query {
    width: 70%;
    max-width: none;
    min-width: 0;
}

.user-query input[type="text"] {
    font-family: var(--font-base);
    font-weight: 200;
    font-size: 14px;
    color: var(--grey-dark);

    flex: 1;
    min-width: 0;
    height: 35px;
    border-radius: 20px;
    border: none;
    outline: none;
    background-color: transparent;
    transition: border 0.3s, box-shadow 0.3s;
}

#query::placeholder {
    font-family: var(--font-base);
    font-weight: 200;
    font-size: 14px;
    color: var(--grey-dark);
}

/*search button*/
.search-button-wrapper {
    background: #f2f2f2;
    border: 3px solid var(--grey);
    border-radius: 20px;
    transition: .2s;
    width: 30%;
}

button.search-button {
    font-family: var(--font-base);
    font-weight: 200;
    font-size: 14px;
    color: var(--grey-dark);
    flex: 1;
    min-width: 0;
    height: 35px;
    border-radius: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.field.search-button-wrapper {
    width: 30%;
}

.search-button-wrapper:active {
    background: var(--orange);
    border-color: var(--orange);
}

button.search-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/*dropdown city list*/
.select-city {
    width: 70%;
    max-width: none;
    min-width: 0;
}

.city-list {
    font-family: var(--font-base);
    font-weight: 200;
    font-size: 14px;
    color: var(--grey-dark);

    width: 100%;
    height: 100%;

    border: none;
    background: transparent;
    padding-right: 12px;

    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;

    /* šipka */
    background-image:
        linear-gradient(45deg, transparent 50%, #000 50%),
        linear-gradient(135deg, #000 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 15px,
        calc(100% - 12px) 15px;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}

.city-list option:checked {
    background-color: var(--orange);
    color: #fff;
}
