.es-fe16cd94-container {
    position: relative;
    display: inline-block;
}

.es-fe16cd94-toggle {
    background: #000; /* Default, overridden by settings */
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    position: relative;
    outline: none;
    box-shadow: none;
}

.es-fe16cd94-toggle i,
.es-fe16cd94-toggle svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    color: currentColor;
}

.es-fe16cd94-toggle:hover {
    opacity: 0.8;
}

.es-fe16cd94-dropdown {
    position: absolute;
    top: 100%;
    left: 0; /* Align left edge of dropdown with left edge of icon */
    transform-origin: top left; /* Expand top-left to bottom-right */
    transform: scale(0);
    opacity: 0;
    width: 300px; /* Default, overridden by settings */
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    margin-top: 0px; /* Flush against the icon */
    pointer-events: none;
    border-radius: 0;
}

.es-fe16cd94-container.is-expanded .es-fe16cd94-dropdown {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.es-fe16cd94-form {
    margin: 0;
    border-radius: 0;
}

.es-fe16cd94-input-group {
    display: flex;
    height: 45px;
    border-radius: 0;
}

.es-fe16cd94-input {
    background: #fff;
    color: #000;
    border: 1px solid #000; /* Sharp border */
    height: 100%;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
    border-radius: 0 !important;
    box-shadow: none;
    flex: 1;
    width: 100%;
}

.es-fe16cd94-input::placeholder {
    color: inherit;
    opacity: 0.7;
}

.es-fe16cd94-submit {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-left: none; /* Combine borders with input */
    height: 100%;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0 !important;
    outline: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between icon and text if both are shown */
}

.es-fe16cd94-submit i,
.es-fe16cd94-submit svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    color: currentColor;
}

.es-fe16cd94-submit:hover {
    opacity: 0.8;
}