.grad-autocomplete-container {
    position: relative;
    width: 100%;
}

.grad-autocomplete-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fff;
}

.grad-autocomplete-field:disabled {
    background-color: #f7f7f7;
    color: #666;
    cursor: not-allowed;
}

.grad-autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.grad-autocomplete-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease-in-out;
    font-family: IvyStyleSansSemiBold;
    font-size: 18px;
    line-height: 1.4;
}

.grad-autocomplete-suggestion:last-child {
    border-bottom: none;
}

.grad-autocomplete-suggestion:hover,
.grad-autocomplete-suggestion.active {
    background-color: #f8f9fa;
}

.grad-autocomplete-suggestion.active {
    background-color: #e3f2fd;
}

.grad-autocomplete-suggestions {
    animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grad-autocomplete-container.loading .grad-autocomplete-field {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 0 1 8 8 8 8 0 0 1-8 8 8 8 0 0 1-8-8 8 8 0 0 1 8-8zm0 2a6 6 0 0 0-6 6 6 6 0 0 0 6 6 6 6 0 0 0 6-6 6 6 0 0 0-6-6z' fill='%23999'/%3E%3Cpath d='M8 2a6 6 0 0 1 6 6h-2a4 4 0 0 0-4-4V2z' fill='%23007cba'%3E%3CanimateTransform attributeName='transform' attributeType='XML' type='rotate' from='0 8 8' to='360 8 8' dur='1s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    background-size: 16px 16px;
    padding-right: 40px;
}

.grad-autocomplete-error {
    padding: 12px 16px;
    color: #d63384;
    font-size: 14px;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 4px;
    margin-top: 4px;
}

.grad-autocomplete-no-results {
    padding: 12px 16px;
    color: #6c757d;
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

@media (max-width: 768px) {
    .grad-autocomplete-suggestions {
        max-height: 150px;
    }
    
    .grad-autocomplete-suggestion {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .grad-autocomplete-field {
        padding: 10px 12px;
        font-size: 16px;
    }
}
