:root {
    --exchange-color: #58667E;
    --exchange-color-bg: #F5F5F5;
    --exchange-color-bg-focus: #DEDEDE;
    --exchange-color-bg-disabled: #E9ECEF;
    --exchange-color-placeholder: #6C757D;
    --exchange-color-bg-btn-hover: #CACACA;
}

.exchange-select{
    display: block;
    width: 100%;
    height: 70px;
    padding: 0.375rem 0.75rem 0.375rem 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--exchange-color);
    background-color: #F1F5F9;
    background-clip: padding-box;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .exchange-select {
        transition: none;
    }
}
.exchange-select[type=file] {
    overflow: hidden;
}
.exchange-select[type=file]:not(:disabled):not([readonly]) {
    cursor: pointer;
}
.exchange-select:focus {
    color: var(--exchange-color);
    outline: 0;
    border: 1px solid #6139AF;

}
.exchange-select::-webkit-date-and-time-value {
    height: 1.5em;
}
.exchange-select::-moz-placeholder {
    color: var(--exchange-color-placeholder);
    opacity: 1;
}
.exchange-select::placeholder {
    color: var(--exchange-color-placeholder);
    opacity: 1;
}
.exchange-select:disabled {
    background-color: var(--exchange-color-bg-disabled);
    opacity: 1;
}

.exchange-select.with-max {
    padding-right: 220px;
}

.exchange-btn-max {
    position: absolute;
    top: 23px;
    right: 175px;
    z-index: 9;
    color: #6139AF;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 400;
}

.exchange-btn-max:hover {
    text-decoration: none;
    color: #6139AF;
}

.exchange-btn-max:focus {
    box-shadow: none;
}

#selectCurrency1 {
    z-index: 3;
}

#selectCurrency2 {
    z-index: 2;
}