

#progress-container {
    display: none;
    margin-top: 10px;
}

#progress-bar {
    width: 100%;
}

#progress-text {
    font-size: 14px;
    margin-top: 5px;
}




.woocommerce-tabs #tab-compatibility_tab {
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
}

.compatibility-list {
    list-style: none;
    padding: 0;
}

.compatibility-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.compatibility-list li:last-child {
    border-bottom: none;
}

/* Form alapstílusok */
#motor-filter-form {
    gap: 15px;
    justify-content: center;
    align-items: center;
    max-width: 900px;
}

/* Mezők és label-ek egyben tartása */
.filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Label-ek */
.filter-group label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

/* Select mezők */
.filter-group select {
    min-width: 180px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease-in-out;
}

/* Select fókusz */
.filter-group select:focus {
    border-color: #0071a1;
    outline: none;
}

/* Gomb középre igazítása */
.filter-group.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}
/* Keresőgomb */
#motor-filter-form button {
    background: #bf202f;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px; /* Magasság megegyezik a mezőkkel */
}

#motor-filter-form button:hover {
    background: #382326;
}

.filter-group {
    margin-top: 8px;
}




/* Select2 keresőmező borderének eltávolítása, amikor megnyitják */
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}


/* Select2 - Az "X" ikon és a dropdown ikon igazítása */
.select2-container .select2-selection {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-right: 30px !important; /* Extra hely a jobb oldalon */
}

/* Kisebb és jobban igazított "X" ikon */
.select2-container .select2-selection__clear {
    font-size: 14px !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: -10px !important; /* Közelebb hozza az X-et a nyílhoz */
    position: relative;
    right: 10px;
    color: black !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
}

/* Ha nincs kiválasztott érték, a szöveg legyen halványszürke */
span#select2-filter_year-container:not(:focus):empty {
    font-size: 92%;
    line-height: 1;
    color: var(--color-gray600) !important; /* Alapértelmezett szürke */
}




/* Select2 dropdown pozíciójának finomhangolása */
.select2-container--default .select2-dropdown {
    margin-top: -10px !important; /* Hozd feljebb a dropdown listát */
}

.select2-container--default .select2-selection__clear {
    position: relative;
    top: 0px !important; /* Finoman igazítja az X-et */
}

/* Select2 keresőmező igazítása a felső sorhoz */
.select2-container .select2-selection--single {
    display: flex;
    align-items: center; /* Középre igazítja a szöveget */
    height: 40px; /* Igazítsd az input mező magasságát a formádhoz */
}


/* Reszponzív elrendezés kisebb kijelzőkre */
@media (max-width: 768px) {
    #motor-filter-form {
        flex-direction: column;
        align-items: center;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        width: 100%;
    }

    .filter-group.button-group {
        width: 100%;
    }

    #motor-filter-form button {
        width: 100%;
    }
}


