﻿#kt-calculator {
    opacity: 0;
    visibility: hidden;
}

    #kt-calculator .pair-group .form-control {
        height: 56px;
        font-size: 1.125rem;
    }

    #kt-calculator .pair-group .select2-container--default .select2-selection--single {
        height: 56px;
        border: 0;
        background: var(--bs-light);
        display: flex;
        align-items: center;
        padding-left: .75rem;
        border-top-left-radius: .75rem;
        border-bottom-left-radius: .75rem;
    }

    #kt-calculator .pair-group .select2-selection__rendered {
        line-height: 56px !important;
    }

    #kt-calculator .pair-group .select2-selection__arrow {
        height: 56px !important;
    }

.pair-row.is-asset-open {
    position: relative;
}

    .pair-row.is-asset-open .select2-container--open {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1050;
        padding: 12px 16px;
        background: var(--bs-gray-200);
        border-radius: 14px;
    }

    .pair-row.is-asset-open .select2-dropdown {
        border-radius: 12px;
        box-shadow: none;
    }

    .pair-row.is-asset-open .amount-input {
        visibility: hidden;
    }

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-radius: .5rem;
    padding: .6rem .85rem;
    font-size: 1rem;
}

.select2-results__option .symbol {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-light);
    margin-right: .5rem;
}

#btn_swap {
    transition: transform .15s ease;
}

    #btn_swap:active {
        transform: scale(.95);
    }


.pair-row-container:has(.pair-row-selling.is-asset-open) .switch-wrap {
    z-index: 1200 !important;
}

#kt-calculator .switch-wrap {
    z-index: 1;
}

.pair-row-container .pair-row-buying.is-asset-open .select2-container--open,
.pair-row-container .pair-row-buying.is-asset-open .select2-dropdown {
    z-index: 1300 !important;
}

.pair-row-container .pair-row-selling.is-asset-open .select2-container--open,
.pair-row-container .pair-row-selling.is-asset-open .select2-dropdown {
    z-index: 1100 !important;
}

.buy-label,
.sell-label {
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-check:checked + .buy-label,
.btn-check:checked + .sell-label {
    background: var(--bs-white) !important;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.04);
}

.buy-label:hover,
.btn-check:checked + .buy-label {
    color: var(--bs-brand) !important;
}

.sell-label:hover,
.btn-check:checked + .sell-label {
    color: var(--bs-danger) !important;
}

.pair-group .select2-container--default .select2-selection--single {
    height: 48px;
    border: none;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 36px 0 0;
}

.pair-group .select2-selection__rendered {
    line-height: 48px !important;
    color: var(--bs-gray-700);
}

.pair-group .select2-selection__arrow {
    height: 48px !important;
    right: 8px;
}

.amount-input {
    margin-left: auto;
    text-align: right;
    width: 1%;
    flex: 1 1 auto;
    border: 0;
    background: transparent;
    height: 48px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-gray-800);
    outline: none;
}

    .amount-input::placeholder {
        color: rgba(63,66,84,.4);
        font-weight: 700;
    }

.select2-container {
    width: auto;
}

.select2-container--open {
    width: 100%;
}

.select2-selection--single {
    border: none;
    background-color: transparent;
    padding-left: 0px !important;
}

.select2-dropdown {
    background-color: var(--bs-gray-200) !important;
    border-radius: 0px 0px 14px 14px !important;
}

.select2-results__options {
    padding: 0px 15px !important;
}

.select2-results__option,
.select2-results__option:hover {
    background-color: white !important;
    border-radius: 14px !important;
    margin-bottom: 6px !important;
}

#amount-quote::placeholder,
#amount-base::placeholder {
    color: var(--bs-gray-800);
}

.floating-label {
    display: none;
}

.bg-asset-dropdown-amount-input.active .floating-label {
    display: block;
}

.select2-search__field {
    border: none !important;
    padding: 1rem !important;
    font-weight: bold;
}

    .select2-search__field::placeholder {
        font-size: 14px;
        font-weight: 500;
        color: var(--bs-gray-700);
    }

div, main, ol, pre, span, ul {
    scrollbar-width: thin;
    scrollbar-color: var(--bs-brand) transparent !important;
}

.pair-row-container .pair-row .select2-container--open::before {
    content: attr(data-label);
}

.select2-container--open::before {
    font-weight: 600;
    color: var(--bs-gray-800);
    margin-left: 10px;
}

/* iyos es */
/*.select2-container--open::after {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        content: "\f077";
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 20px;
        height: 20px;
        margin-left: .5rem;
        color: #9BA0B8;
    }*/

.select2-search--dropdown {
    position: relative;
}

    .select2-search--dropdown::after {
        content: "\f002";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        right: 26px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: var(--bs-black);
    }

.option-circle {
    width: 20px;
    height: 20px;
    border: 1px solid var(--bs-gray-600);
    border-radius: 50%;
    display: inline-block;
}

.select2-results__option::after {
    content: none !important;
}

.select2-results__option--selected .option-circle {
    background-color: var(--bs-brand) !important;
    box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1px #D9D9D9 !important;
    border: 0 !important;
}

.select2-selection__placeholder {
    color: var(--bs-gray-700) !important;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23B7B7B7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

.max-button:disabled {
    color: var(--bs-gray-700) !important;
}

#clear-button:disabled {
    color: var(--bs-gray-700) !important;
}