.autocomplete-container {
    position: relative;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1F1F1F;
    font-size: 14px;
}

input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s;
    background: white;
}

input[type="text"]:focus {
    border-color: #669966;
    box-shadow: 0 0 0 2px rgba(102, 153, 102, 0.1);
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d9d9d9;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #f5f5f5;
}

.autocomplete-item.active {
    background: #e8f5e8;
}

.hub-name {
    font-weight: 600;
    color: #1F1F1F;
    margin-bottom: 4px;
}

.hub-address {
    font-size: 13px;
    color: #666;
}

.hub-details {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.loading {
    padding: 12px 16px;
    text-align: center;
    color: #666;
}

.no-results {
    padding: 12px 16px;
    text-align: center;
    color: #999;
}

.selected-hub {
    margin-top: 20px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    margin-bottom: 20px;
}

.selected-hub h3 {
    margin-top: 0;
    color: #669966;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #669966;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.clear-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 20px;
    padding: 4px 8px;
    display: none;
}

.clear-button.show {
    display: block;
}

.clear-button:hover {
    color: #666;
}