.dadata-suggestions {
    position: fixed;
    z-index: 10000;
    margin-top: 8px;
    background: #fff;
    border: 1px solid var(--color-input-border, #d9d9d9);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    max-height: 260px;
    overflow-y: auto;
}

.dadata-suggestion-item {
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

.dadata-suggestion-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.dadata-suggestion-item:hover,
.dadata-suggestion-item.is-active {
    background: #f5f7fa;
}

/* Колесо загрузки — тот же стиль, что и у ".green-spinner" в блоке "Введите
   промокод" (assets/css/components/form.css), но своя копия, чтобы плагин не
   зависел от классов темы. */
.dadata-spinner {
    display: none;
    position: absolute;
    top: 50%;
    right: 20px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 3px solid rgba(0, 177, 137, 0.1);
    border-top: 3px solid rgba(0, 177, 137, 1);
    border-right: 3px solid rgba(0, 177, 137, 1);
    border-radius: 50%;
    animation: dadata-spin 0.8s linear infinite;
    pointer-events: none;
}

.dadata-spinner.is-active {
    display: inline-block;
}

@keyframes dadata-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
