/**
 * Tire selector autocomplete styles.
 */

.tgcs-tire-selector {
    max-width: 480px;
    margin: 0 auto;
}

.tgcs-selector-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tgcs-selector-input-wrap {
    position: relative;
}

.tgcs-tire-search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.tgcs-tire-search-input:focus {
    border-color: #2563eb;
}

.tgcs-tire-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
}

.tgcs-tire-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.15s;
}

.tgcs-tire-result-item:hover {
    background-color: #f3f4f6;
}

.tgcs-tire-result-name {
    font-weight: 500;
}

.tgcs-tire-result-category {
    font-size: 12px;
    color: #6b7280;
    text-transform: capitalize;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 4px;
}

.tgcs-tire-result-empty {
    padding: 12px 16px;
    color: #9ca3af;
    font-style: italic;
}
