/* Container for all dropdowns */
#wheel-size-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
}

/* First row of dropdowns */
#wheel-size-form .dropdown-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Style for each dropdown */
#wheel-size-form select {
    flex: 1;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 100px;
}

/* Modification dropdown spanning full width */
#wheel-size-form #modification-dropdown {
    width: calc(100% - 2px); /* Ensure it spans the full width minus borders */
}

#wheel-size-search-widget {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

#wheel-size-search-widget select {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    font-size: 16px;
}

/* Style for the results container */
#results {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Style for each result item */
.result-button {
    display: inline-block;
    background-color: #ffffff;
    color: #333;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
    text-decoration: none; /* For future links */
}

/* Hover effect for result buttons */
.result-button:hover {
    background-color: #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Loader styling */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* Loader animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
