.search-field-container {
    margin-bottom: 20px;
    position: relative;
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    max-width: 500px;
    border: 1px solid #d5d5d5;
    background: #ffffff;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: none !important;
    outline: none;
    font-size: 14px;
    color: #333333;
    background: transparent;
}

.search-input::placeholder {
    color: #999999;
}

.search-button {
    padding: 12px 16px;
    border: none;
    background: #f5f5f5;
    border-left: 1px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.search-button:hover {
    background: #e8e8e8;
}

.search-button i {
    font-size: 16px;
    color: var(--secondary-color);
}

.aa-Panel {
    border: 1px solid #d5d5d5;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

.aa-Item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.aa-Item:last-child {
    border-bottom: none;
}

.aa-Item:hover,
.aa-Item[aria-selected="true"] {
    background-color: #f8f9fa;
}

.aa-Item[aria-selected="true"] {
    background-color: #e3f2fd;
}

.aa-ItemWrapper {
    padding: 0;
}

.aa-ItemContent {
    padding: 0;
}

.aa-ItemName {
    font-weight: 600;
    color: #333333;
    margin-bottom: 4px;
    font-size: 14px;
}

.aa-ItemDetails {
    font-size: 12px;
    color: #666666;
    line-height: 1.4;
    margin-bottom: 2px;
}

.aa-ItemPreview {
    color: #888888;
    font-style: italic;
    margin-top: 4px;
    font-size: 12px;
}

.aa-NoResults {
    padding: 20px;
    text-align: center;
    color: #999999;
    font-style: italic;
}

.aa-LoadingIndicator {
    padding: 20px;
    text-align: center;
    color: #666666;
}

.aa-Input {
    border: none !important;
    outline: none;
    font-size: 14px;
    color: #333333;
    background: transparent;
    padding: 12px 16px;
    width: 100%;
}

.aa-Input::placeholder {
    color: #999999;
}

.aa-Form {
    display: flex;
    width: 100%;
}

.aa-InputWrapper {
    flex: 1;
}

.aa-SubmitButton {
    display: none;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    background: #ffffff;
    border: 1px solid #d5d5d5;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    scrollbar-width: thin;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.suggestion-item {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
    color: #333333;

    display: flex;
    flex-flow: row-reverse;
    align-items: center;
    justify-content: space-between;

    margin: 0;
}

.suggestion-item span {
    height: max-content;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.search-input-wrapper {
    position: relative;
}

.highlighted-match {
    background-color: hsl(from var(--secondary-color) h s 90%);
    color: black;
    font-weight: 600;
    padding: 0 2px;
}

.suggestion-item .icons {
    display: flex;
    gap: 7px;
    flex-flow: row;
}

.suggestion-icon {
    min-width: 27px;
    height: 27px;
    background-color: var(--section-color, hsl(from var(--secondary-color) h 41% 57%));
    border-radius: 5px;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestion-icon span {
    font-size: 14px;
    font-weight: 600;
    margin: 0 9px;
    text-align: center;
    letter-spacing: 1px;
    text-indent: 1px;
}

.suggestion-icon i {
    font-size: 12px;
}
