.ahura-search-pill {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 600px;
    max-width: 100%;
    min-height: 60px;
    margin: 0 auto;
    padding: 8px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(139, 99, 191, 0.09);
}

.ahura-search-pill .ahura-search-pill__results {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 10px);
    z-index: 100;
    padding: 12px;
    border: 1px solid #eee8f5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(75, 43, 113, 0.14);
    color: #454052;
    text-align: start;
    max-height: min(420px, 60vh);
    overflow-y: auto;
}

.ahura-search-pill [hidden] {
    display: none;
}

.ahura-search-pill .ahura-search-pill__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ahura-search-pill .ahura-search-pill__list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ahura-search-pill .ahura-search-pill__results a {
    display: block;
    padding: 12px;
    border-radius: 10px;
    color: inherit;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.ahura-search-pill .ahura-search-pill__results a:hover,
.ahura-search-pill .ahura-search-pill__results a:focus-visible {
    background: #f5effb;
    color: #7751ac;
}

.ahura-search-pill .ahura-search-pill__results a:focus-visible {
    outline: 2px solid #8864c2;
    outline-offset: -2px;
}

.ahura-search-pill .ahura-search-pill__status {
    margin: 0;
    padding: 12px;
    font-size: 14px;
}

.ahura-search-pill .ahura-search-pill__status:empty {
    display: none;
}

.ahura-search-pill .ahura-search-pill__all {
    color: #7751ac;
    border-top: 1px solid #eee8f5;
    text-align: center;
}

.ahura-search-pill input[type="search"] {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    min-height: 44px;
    margin: 0;
    padding: 8px 18px;
    border: 0;
    border-radius: 999px;
    outline: none;
    background: transparent;
    box-shadow: none;
    color: #454052;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-align: start;
}

.ahura-search-pill input::placeholder {
    color: #9ca3b3;
    opacity: 1;
}

.ahura-search-pill button[type="submit"] {
    box-sizing: border-box;
    flex: 0 0 auto;
    min-width: 94px;
    max-width: 50%;
    min-height: 44px;
    margin: 0;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(110deg, #8864c2 0%, #ac68aa 100%);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.ahura-search-pill button[type="submit"]:hover {
    filter: brightness(1.07);
}

.ahura-search-pill:focus-within {
    outline: 2px solid #8864c2;
    outline-offset: 3px;
}

.ahura-search-pill button[type="submit"]:focus-visible {
    outline: 2px solid #584078;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .ahura-search-pill input[type="search"] {
        padding-inline: 8px;
    }

    .ahura-search-pill button[type="submit"] {
        min-width: 80px;
        padding-inline: 16px;
    }
}
