.search-overlay-widget-403d036e {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.search-trigger-403d036e {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    color: #ffffff; /* Default icon color to white */
    z-index: 10000; /* Increased z-index to be above the container */
    min-width: 40px; 
    min-height: 40px;
    position: relative; /* Ensure z-index works */
}

.search-trigger-403d036e i {
    color: #ffffff; /* Fallback for FontAwesome */
}

.search-trigger-403d036e svg {
    fill: #ffffff;
    display: block;
}

.search-trigger-403d036e:hover {
    opacity: 0.8;
}

.search-box-container-403d036e {
    display: none;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: 0 10px 30px rgba(7, 30, 65, 0.15);
    z-index: 9999;
    width: 320px;
    /* Add padding to right so text doesn't hide behind the icon */
    padding-right: 40px; 
}

.search-box-container-403d036e.is-active {
    display: block;
    animation: searchFadeIn403d036e 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.search-form-403d036e {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input-403d036e {
    flex-grow: 1;
    border: none;
    background: none;
    padding: 8px 10px;
    font-size: 15px;
    color: #071E41;
    outline: none !important;
    width: 100%;
}

.search-submit-403d036e {
    background: none;
    border: none;
    cursor: pointer;
    color: #7F768F;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit-403d036e:hover {
    color: #3A1974;
}

@keyframes searchFadeIn403d036e {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}
