.currency-picker {
    position: relative;
}

.currency-picker__native--enhanced {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.currency-picker__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    cursor: pointer;
}

.currency-picker__trigger-label {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.currency-picker__trigger-code {
    font-size: 15px;
    font-weight: 600;
    color: inherit;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.currency-picker__trigger-name {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.2;
    color: #7d7f88;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.currency-picker__trigger-chevron {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #8b8d96;
    transition: transform 0.18s ease;
}

.currency-picker.is-open .currency-picker__trigger-chevron {
    transform: rotate(180deg);
}

.currency-picker__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 2400;
    display: none;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 12, 0.98);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.currency-picker.is-open .currency-picker__panel {
    display: block;
}

.currency-picker__search {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
    color: #f0f0f2;
    font-size: 14px;
}

.currency-picker__search:focus {
    outline: none;
    border-color: rgba(77, 171, 154, 0.42);
    box-shadow: 0 0 0 3px rgba(77, 171, 154, 0.12);
}

.currency-picker__search::placeholder {
    color: #6d7078;
}

.currency-picker__options {
    margin-top: 8px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 2px;
}

.currency-picker__options::-webkit-scrollbar {
    width: 5px;
}

.currency-picker__options::-webkit-scrollbar-track {
    background: transparent;
}

.currency-picker__options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.currency-picker__option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #d7d8de;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.currency-picker__option:hover,
.currency-picker__option.is-active,
.currency-picker__option:focus-visible {
    outline: none;
    background: rgba(77, 171, 154, 0.12);
    color: #f0f0f2;
}

.currency-picker__option.is-selected .currency-picker__option-code {
    color: #89dfcd;
}

.currency-picker__option-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.currency-picker__option-code {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

.currency-picker__option-name {
    font-size: 12px;
    line-height: 1.2;
    color: #8a8d95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.currency-picker__option-meta {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #6f737d;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.currency-picker__empty {
    padding: 14px 12px;
    font-size: 13px;
    color: #8a8d95;
}

@media (max-width: 640px) {
    .currency-picker__panel {
        padding: 9px;
        border-radius: 14px;
    }

    .currency-picker__option {
        padding: 10px 11px;
    }
}
