.elementor-widget-ucaddon_digi_search_form {
    position: static;
}

#toggle-search {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #FCDB50;
    cursor: pointer;
    transition: background 0.3s ease;
}

#toggle-search.active {
    z-index: 1001;
}

#toggle-search:hover {
    background-color: #E5C749;
}

#toggle-search:not(.active) img:last-of-type,
#toggle-search.active img:first-of-type {
    display: none;
}

#searchform {
    display: none;
    opacity: 0;
    position: absolute;
    z-index: 1000;
    top: calc(100% + 20px);
    left: 20px;
    width: calc(100% - 40px);
    border-radius: 32px;
    padding: 32px 24px;
    transition: opacity 0.6s ease;
    background-color: #FCDB50;
}

#searchform.active {
    display: block;
    opacity: 1;
}

.fadeIn {
    animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fadeOut {
    animation: fadeOut 0.8s forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

#searchform label {
    display: block;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--e-global-color-56f1474);
}

#searchform label img {
    width: 23px;
}

#searchform input,
#searchform select {
    display: block;
    border: 1px solid #E5C749;
}

#searchform button span {
    position: relative;
    display: block;
    width: 13px;
    height: 13px;
}

#searchform button span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #FCDB50;
    transition: border-color 0.3s ease;
}

#searchform button span::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -1px;
    width: 6px;
    height: 2px;
    background-color:  #FCDB50;
    transform: rotate(45deg);
    transition: background-color 0.3s ease;
}

#searchform button:hover span::before {
    border-color: var(--e-global-color-56f1474);
}

#searchform button:hover span::after {
    background-color: var(--e-global-color-56f1474);
}

@media (max-width: 1023px) {
    #searchform {
        box-shadow: 0 325px 0 350px rgba(255, 255, 255, 0.5);
    }
    #searchform label {
        margin-bottom: 24px;
    }
    #searchform input {
        margin-bottom: 12px;
    }
    #searchform input,
    #searchform select {
        width: 100%;
    }
    #searchform button {
        margin-top: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        border-radius: 50px;
        background-color: var(--e-global-color-56f1474);
        color: #FCDB50;
        font-size: 22px;
        font-weight: 700;
        text-align: center;
        padding: 16px 0;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    #searchform button:hover {
        background-color: var(--e-global-color-82149f4);
        color: var(--e-global-color-56f1474);
        transition: background-color 0.3s ease, color 0.3s ease;
    }
}

@media (min-width: 1024px) {
    .elementor-widget-ucaddon_digi_search_form  {
        position: absolute;
        top: -88px;
        right: 184px;
    }
    #toggle-search {
        position: relative;
    }
    #searchform {
        position: fixed;
        width: 1132px;
        max-width: calc(100% - 40px);
        top: auto;
        left: 50vw;
        transform: translate(-50%, 50px);
    }
    #searchform.active {
        display: flex;
        align-items: center;
        gap: 24px;
        box-shadow: 0 0 200vw 200vw rgba(0, 0, 0, 0.3);
    }
    #searchform input {
        flex-grow: 1;
    }
    #searchform select {
        width: 230px;
    }
    #searchform button {
        position: absolute;
        padding: 14px;
        right: 287px;
        top: 39px;
        background-color: #FCDB50;
        border-radius: 10px;
        font-size: 0;
    }

    #searchform button:hover {
        background-color: var(--e-global-color-82149f4);
    }

    #searchform button span::before {
        border-color: var(--e-global-color-56f1474);
    }

    #searchform button span::after {
        background-color: var(--e-global-color-56f1474);
    }
}

@media (min-width: 1350px) {
    .elementor-widget-ucaddon_digi_search_form  {    
        position: fixed;
        top: 15vh;
        right: 20px;
    }
    #searchform {
        transform: translate(-50%, -64px);
    }
}