.search-panel-row {
    display: flex;
    gap: 16px;
}

.search-panel-row .search-panel {
    flex: 1;
    min-width: 0;
}

.search-panel {
    background: #eef0f2;
    border-radius: var(--radius-card);
    padding: 10px 24px;
    margin-bottom: 16px;
}

.search-panel-title {
    margin: 0 0 16px;
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-text);
}

.quick-search-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quick-search-field {
    position: relative;
    flex: 1;
    min-width: 0;
}

.quick-search-select {
    width: 100%;
    height: 30px;
    padding: 0 34px 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-surface);
    color: var(--color-text);
    font-size: var(--font-size-base);
    font-family: inherit;
    appearance: none;
    outline: none;
    transition: border-color 0.15s;
}

.quick-search-select:focus {
    border-color: var(--color-primary);
}

.quick-search-select:disabled {
    color: var(--color-text-muted);
    cursor: not-allowed;
}

.quick-search-chevron {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    pointer-events: none;
    background-color: var(--color-text-muted);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat center / contain;
}

.quick-search-submit {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 22px;
    border: none;
    border-radius: 6px;
    background: var(--color-primary);
    color: var(--color-text-on-dark);
    font-size: var(--font-size-base);
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: background 0.15s;
}

.quick-search-submit:hover:not(:disabled) {
    background: var(--color-navy);
}

.quick-search-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quick-search-title-chevron {
    display: none;
}

/* ===========================
   RESPONSIVE (mobilni)
   ===========================*/

@media (max-width: 1100px) {

    .search-panel-row {
        flex-direction: column;
    }

    .quick-search-title {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        user-select: none;
    }

    .quick-search-title-chevron {
        display: inline-block;
        flex: 0 0 auto;
        width: 12px;
        height: 12px;
        background-color: var(--color-text-muted);
        -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat center / contain;
        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat center / contain;
        transition: transform 0.2s ease;
    }

    .quick-search-title-chevron.open {
        transform: rotate(180deg);
    }

    /* Skupljeno po difoltu — otvara se tapom na BRZA PRETRAGA naslov (quick-search-row-open klasa). */
    .quick-search-row {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .quick-search-row.quick-search-row-open {
        display: flex;
    }

    /* 4 dropdown-a, svaki u svom redu */
    .quick-search-field {
        width: 100%;
    }

    /* 5. red — dugme */
    .quick-search-submit {
        width: 100%;
        height: 40px;
    }
}
