.eas-search-widget {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    z-index: 100;
}

.eas-search-widget.eas-open {
    z-index: 99999;
}

.eas-search-form {
    margin: 0;
    width: 100%;
}

.eas-input-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    overflow: hidden;
    column-gap: 0;
}

.eas-search-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.eas-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    font: inherit;
    line-height: 1.5;
    box-sizing: border-box;
}

.eas-input:focus {
    outline: none;
    box-shadow: none;
}

.eas-button {
    flex: 0 0 auto;
    border: 0;
    cursor: pointer;
    font: inherit;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.eas-loading,
.eas-status {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    width: 100%;
    z-index: 999998;
    box-sizing: border-box;
}

.eas-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    padding: 8px 0;
}

.eas-loader {
    width: 24px;
    height: 24px;
    display: block;
    box-sizing: border-box;
    border: 3px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: eas-spin .7s linear infinite;
}

@keyframes eas-spin {
    to { transform: rotate(360deg); }
}

.eas-status {
    padding: 12px 4px;
    line-height: 1.8;
}

.eas-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    width: 100%;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    box-sizing: border-box;
    margin: 0;
    z-index: 999999;
}

.eas-result-section {
    width: 100%;
}

.eas-result {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease, opacity .15s ease;
    cursor: pointer;
}

.eas-result-icon {
    flex: 0 0 auto;
    width: 20px;
    text-align: center;
}

.eas-result-content {
    min-width: 0;
    display: block;
    width: 100%;
}

.eas-result-title {
    display: block;
    line-height: 1.5;
}

.eas-result:hover {
    text-decoration: none !important;
}

.eas-result.is-selected {
    /* Elementor can style this state with {{WRAPPER}} .eas-result.is-selected */
}

.eas-search-widget.eas-open .eas-results {
    /* Dropdown-open state; Elementor style controls can target this selector. */
}

@media (max-width: 767px) {
    .eas-button {
        padding-left: 14px;
        padding-right: 14px;
    }
}
