/**
 * Eurokuke Filter Styles
 * Styling for vehicle filter form
 *
 * @package Eurokuke_Child
 */

/* ==========================================================================
   EUROKUKE FILTER - Main Styling (iz Customizer-a)
   ========================================================================== */

.eurokuke-filter .searchandfilter,
.eurokuke-filter .searchandfilter ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.eurokuke-filter {
    width: 100%;
}

.eurokuke-filter .searchandfilter {
    display: flex;
    width: 100%;
    gap: 10px;
    padding: 0;
    font-family: 'Mulish';
}

.eurokuke-filter .searchandfilter li {
    flex: 1;
    min-width: 0;
}

.eurokuke-filter .searchandfilter label,
.eurokuke-filter .searchandfilter h4 {
    width: 100%;
    font-family: 'Mulish';
    font-weight: bold;
    color: white;
    padding-bottom: 8px;
    font-size: 20px;
}

.eurokuke-filter select {
    width: 100%;
    height: 55px;
    border-radius: 10px;
    border: 1px solid #E9ECEE;
    font-weight: 500;
    background-color: white;
}

.eurokuke-filter .sf-field-submit {
    display: flex;
    align-items: flex-end;
}

.eurokuke-filter .sf-field-submit input {
    width: 100%;
    height: 40px;
    background-color: #D03E3E;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Mulish';
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eurokuke-filter .sf-field-submit input:hover {
    background-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 62, 62, 0.3);
}

.eurokuke-filter .sf-field-submit input:active {
    transform: translateY(0);
}

/* Select states */
.eurokuke-filter select:hover:not(:disabled) {
    border-color: #D03E3E;
}

.eurokuke-filter select:focus {
    outline: none;
    border-color: #D03E3E;
    box-shadow: 0 0 0 3px rgba(208, 62, 62, 0.1);
}

.eurokuke-filter select:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ==========================================================================
   Search Row (filters_and_search + search_only)
   ========================================================================== */

.eurokuke-filter .search-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.eurokuke-filter .search-row input[type="text"] {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid #E9ECEE;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Mulish';
    background: #fff;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eurokuke-filter .search-row input[type="text"]:focus {
    outline: none;
    border-color: #D03E3E;
    box-shadow: 0 0 0 3px rgba(208, 62, 62, 0.1);
}

.eurokuke-filter .search-row input[type="text"]::placeholder {
    color: #aaa;
}

.eurokuke-filter .search-row input[type="submit"] {
    flex-shrink: 0;
    height: 40px;
    padding: 0 28px;
    background-color: #D03E3E;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Mulish';
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.eurokuke-filter .search-row input[type="submit"]:hover {
    background-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 62, 62, 0.3);
}

/* filters_and_search: bez margina na prvom redu */
.eurokuke-filter--filters_and_search .searchandfilter {
    margin-bottom: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .eurokuke-filter .searchandfilter {
        flex-direction: column;
    }

    .eurokuke-filter .searchandfilter li {
        width: 100%;
    }

    .eurokuke-filter .search-row {
        flex-direction: column;
    }

    .eurokuke-filter .search-row input[type="submit"] {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .eurokuke-filter .searchandfilter h4 {
        font-size: 16px;
    }
}
