.my-orders {
    --background: #0c101f;

    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: var(--background);
    flex-direction: column;
    gap: 2rem;
}
.note {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

#search {
    align-items: center;
    background: #27335f;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    margin: 0.5em 0;
    padding: 0.5em 0.5em 0.5em 1em;
    transition: all 0.5s;
    width: calc(100dvw - 20px);
    max-width: 500px;
    font-size: 24px;
}

#search:hover input::placeholder {
    opacity: 0.7;
}
#search:focus input::placeholder,
#search:focus-visible input::placeholder,
#search:target input::placeholder,
#search:active input::placeholder,
#search:focus-within input::placeholder {
    opacity: 0;
}

#search button,
#search input {
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    outline: 0;
}

#search button {
    cursor: pointer;
    padding: 0 0.25em;
}

#search input {
    flex: 1;
    width: 100%;
}

#search input::placeholder {
    color: #fff;
    opacity: 0.9;
}

#search .spinner {
    animation: spinner 1s infinite linear;
    display: none;
    padding: 0 0.25em;
}

#search.loading button {
    display: none;
}

#search.loading .spinner {
    display: flex;
}
.my-orders.minimal {
    justify-content: unset;
    align-items: unset;
}
#my-orders-search-form.minimal {
    width: 100%;
}
#my-orders-search-form.minimal #search {
    background: transparent;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    padding: .2em 1.25rem .2em 1em;
    border-bottom: 2px solid #27335f;
    border-radius: 0;
    height: 50.2px;
} 
#my-orders-search-form.minimal #search.loading {
    height: 50.2px;
}
#my-orders-search-form #search-button-bottom {
    width: 100%;
}
#my-orders-search-form.minimal .note,
#my-orders-search-form.minimal #search-button-bottom {
    display: none;
}

#my-orders-search-form #search-button {
    height: 24px;
}
#my-orders-search-form #search-button svg,
#my-orders-search-form .spinner svg {
    overflow: visible;
    width: 24px;
    fill: #fff;
}
#my-orders-search-form.minimal #search-button {
    height: 16px;
}
#my-orders-search-form.minimal #search-button svg,
#my-orders-search-form.minimal .spinner svg {
    width: 16px;
}  

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    #search {
        font-size: 16px;
    }
    #my-orders-search-form.minimal #search {
        font-size: 16px;
        width: 100%;
    }
    #my-orders-search-form #search-button {
        width: 16px;
        padding-right: 20px;
        height: 16px;
    }
    #my-orders-search-form #search-button svg,
    #my-orders-search-form .spinner svg {
        width: 16px;
    }  
    #my-orders-search-form.minimal #search-button {
        height: 16px;
    }
    #my-orders-search-form.minimal #search-button svg,
    #my-orders-search-form.minimal .spinner svg {
        width: 16px;
    }
}