/* Shared structure only. Page styles remain the source of visual sizing and spacing. */
.brand-autocomplete {
    position: relative;
}

input[data-brand-autocomplete] {
    padding-right: 36px !important;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
}

.brand-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    display: none;
    max-height: 240px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 200;
}

.brand-suggestions.open {
    display: block;
}

.brand-suggestion {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #333;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.brand-suggestion:hover,
.brand-suggestion.is-active {
    background: #eef9f2;
    color: #087a3f;
}

.color-selector[data-form-color-selector] {
    position: relative;
    min-width: 0;
    width: 100%;
}

.color-selector[data-form-color-selector] .color-button.open .color-arrow {
    transform: rotate(180deg);
}
