.tyre-search-forms-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.toggle-container {
    display: flex;
    flex-direction: row;
    border-radius: 8px 8px 0 0;
    background: #fff;
    width: 100%;
    max-width: calc(220px * 2);
    overflow: hidden;
}

.input-search-tyres {
    display: flex;
    justify-content: center;
    padding: 16px 32px;
    min-width: 220px;
    cursor: pointer;
}
@media (max-width: 1024px) {
    .input-search-tyres {
        min-width: 50%!important;
    }
}

.input-search-tyres.active {
    background-color: #f9b000;
}

.toggle-container p {
    margin: 0;
    font-weight: 600;
}

.input-search-tyres.active p {
    color: #fff;
}

.tyre-search,
.tyre-search-by-car {
    background: #fff;
    border-radius: 0 8px 8px 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: none;
}
@media (max-width: 768px) {
    .tyre-search,
    .tyre-search-by-car {
        background: #fff;
        border-radius: 0 0 8px 8px;
        padding: 20px 25px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        width: 100%;
        display: none;
    }
}

.tyre-search.active,
.tyre-search-by-car.active {
    display: block;
}

.tyre-search .tyre-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    align-items: center;
}

.tyre-search-by-car .tyre-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: center;
}

.tyre-grid select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.tyre-grid select:hover {
    border-color: #999;
}

.tyre-grid select:disabled {
    background: #f4f4f4;
    color: #8a8a8a;
    cursor: not-allowed;
}

.tyre-grid select option {
    text-transform: capitalize;
}

.btn-search {
    background-color: #f9b000;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    padding: 11px 18px;
    cursor: pointer;
}

.btn-search:hover {
    background-color: #e5a000;
}

.btn-reset-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    padding: 8px 18px;
    cursor: pointer;
    border: 2px solid #9b9b9b !important;
    color: #9b9b9b !important;
    background-color: transparent !important;
}

.tyre-spinner {
    display: none;
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

.tyre-search.loading .tyre-spinner,
.tyre-search-by-car.loading .tyre-spinner {
    display: block;
}

.tyre-search.loading,
.tyre-search-by-car.loading {
    opacity: 0.75;
    pointer-events: none;
}

@media (max-width: 992px) {
    .tyre-search .tyre-grid,
    .tyre-search-by-car .tyre-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-search,
    .btn-reset-filter {
        grid-column: span 2;
    }
}
