.nfx-original-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip-path: inset(50%) !important;
}

.nfx-select-host {
    position: relative;
    min-width: 0;
}

.nfx-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--panel2);
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.nfx-menu-chevron {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-right: 5px;
}

.nfx-select-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    z-index: 100;
    min-width: 100%;
    max-height: min(320px, 55dvh);
    overflow-y: auto;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--panel);
    box-shadow: 0 14px 35px #0007;
}

.nfx-select-menu[hidden] {
    display: none !important;
}

.nfx-select-option {
    display: block;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.nfx-select-option:hover,
.nfx-select-option.is-selected {
    background: var(--panel2);
    color: var(--mint);
}

.nfx-select-language {
    width: 110px;
    flex-shrink: 0;
}

.nfx-select-language .nfx-select-trigger {
    height: 40px;
    padding: 0 9px;
    font-size: 12px;
}

.nfx-select-language .nfx-select-menu {
    right: 0;
    left: auto;
    min-width: 185px;
}

#tokenPickerVisual .nfx-select-token {
    position: absolute;
    inset: 0;
    z-index: 2;
}

#tokenPickerVisual .nfx-select-trigger {
    height: 100%;
    padding: 0 9px;
    border: 0;
    background: transparent;
}

#tokenPickerVisual > .trade-asset {
    display: none;
}

.nfx-token-trigger-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nfx-token-trigger-text img {
    width: 31px;
    height: 31px;
    object-fit: contain;
}

.nfx-token-trigger-text strong {
    font-size: 17px;
}

#tokenPickerVisual .nfx-select-menu {
    min-width: max(100%, 205px);
}

@media (max-width: 560px) {
    .nfx-select-language {
        width: 78px;
    }

    .nfx-select-language .nfx-select-trigger {
        height: 35px;
        padding: 0 5px;
        font-size: 10px;
    }

    .nfx-select-language .nfx-select-menu {
        min-width: 170px;
    }
}
/* Corrige as dimensões do seletor de tokens */
#tokenPickerVisual {
    min-height: 51px;
}

#tokenPickerVisual .nfx-select-token {
    display: flex;
    align-items: center;
}

#tokenPickerVisual .nfx-select-trigger {
    min-height: 45px;
    width: 100%;
}