/* Компактный селектор валюты для полей ввода */
.input-currency-selector {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #F8F9FF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
    z-index: 2;
    outline: none;
}

.input-currency-selector:hover {
    background: #EEF2FF;
    border-color: #2B59FF;
}

.input-currency-selector:active {
    transform: translateY(-50%) scale(0.98);
}

.input-currency-selector:focus {
    outline: none;
}

.input-currency-selector__img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.input-currency-selector__code {
    font-weight: 600;
    color: #1F2937;
    line-height: 1;
}

.input-currency-selector__arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: #6B7280;
}

.input-currency-selector:hover .input-currency-selector__arrow {
    color: #2B59FF;
}

/* Модификация поля ввода для освобождения места под кнопку */
.input-with-selector {
    padding-right: 140px !important;
}

/* Обновленный стиль для wrapper чтобы поддержать абсолютное позиционирование */
.input__wrapper {
    position: relative;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .input-with-selector {
        padding-right: 150px !important;
    }
}

@media (max-width: 480px) {
    .input-with-selector {
        padding-right: 145px !important;
    }
}
