/* =========================================
   DAWA AUTOCOMPLETE – UX DROPDOWN
========================================= */

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

.autocomplete-container input {
    width: 100%;
    box-sizing: border-box;
}

.dawa-autocomplete-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #eae3da;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    max-height: 260px;
    overflow-y: auto;
    box-sizing: border-box;
}

.dawa-autocomplete-suggestion {
    margin: 0;
    padding: 10px 12px;
    cursor: pointer;
    line-height: 1.4;
    font-size: 14px;
    color: #1f1f1f;
    border-bottom: 1px solid #f1ebe4;
    transition: background 0.12s ease;
}

.dawa-autocomplete-suggestion:last-child {
    border-bottom: 0;
}

.dawa-autocomplete-suggestion:hover,
.dawa-autocomplete-suggestion.dawa-selected {
    background: #faf7f4;
}

.dawa-autocomplete-suggestion strong {
    font-weight: 600;
}

.dawa-autocomplete-suggestion small,
.dawa-autocomplete-suggestion span {
    display: block;
    font-size: 12px;
    opacity: 0.65;
}

/* Mobile */
@media (max-width: 768px) {
    .dawa-autocomplete-suggestion {
        font-size: 16px;
    }
}