.SearchBox.LesSearch-enhanced {
    position: relative;
}

.LesSearch-AdvBtn {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 36px;
    line-height: 36px;
    display: none;
    box-sizing: border-box;
    padding: 0 10px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.82em;
    color: inherit;
    cursor: pointer;
    border-left: 1px solid color-mix(in srgb, currentColor 28%, transparent);
    background: color-mix(in srgb, currentColor 8%, transparent);
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    z-index: 3;
}

.LesSearch-AdvBtn:hover,
.LesSearch-AdvBtn:focus {
    color: inherit;
    text-decoration: none;
    background: color-mix(in srgb, currentColor 16%, transparent);
    outline: none;
}

.SearchBox.LesSearch-focused .LesSearch-AdvBtn {
    display: block;
}

.SearchBox.LesSearch-focused .js-search {
    padding-right: calc(50% + 8px);
}

.LesSearch-Advanced {
    margin-top: 12px;
}

.LesSearch-Advanced .AdvancedWrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-start;
}

.LesSearch-Field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.LesSearch-Field label {
    font-size: 1.6em;
    opacity: 0.75;
}

.LesSearch-Field .SelectWrapper {
    margin-bottom: 0;
}

.LesSearch-Field:not(.LesSearch-DateField) .SelectWrapper {
    width: 150px;
}

.LesSearch-DateField {
    flex: 0 0 auto;
    width: 264px;
}

.LesSearch-DateInputs {
    display: flex;
    gap: 6px;
}

.LesSearch-DateInputs .SelectWrapper {
    flex: 1 1 0;
    min-width: 0;
}

.LesSearch-DateInputs .SelectWrapper:first-child {
    flex: 1.3 1 0;
}

.LesSearch-Hint {
    margin: 5px 0;
    font-size: 1.6em;
    line-height: 1.1;
    opacity: 0.7;
}
