﻿.bg-red-100 {
    background: var(--Red-Red100, #DF2626) !important;
}

#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: #FAFAFA;
        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);
    }

#kt-calculator .switch-wrap {
    z-index: 1200;
}

.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-sell-toggle {
    background: var(--Gray-Gray400, #F8F8F8);
    border-radius: 14px;
}

.buy-label,
.sell-label {
    border-radius: 14px !important;
    font-size: 1rem;
    color: #9BA0B8;
    transition: all 0.2s ease;
}

.btn-check:checked + .buy-label,
.btn-check:checked + .sell-label {
    background: var(--Gray-Gray100, #FFF) !important;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.04);
}

.buy-label:hover,
.btn-check:checked + .buy-label {
    color: #50CD89 !important;
}

.sell-label:hover,
.btn-check:checked + .sell-label {
    color: var(--Red-Red100, #DF2626) !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: #9BA0B8;
}

.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(--Gray-Gray1800, #3F4254);
    outline: none;
}

    .amount-input::placeholder {
        color: rgba(63,66,84,.4);
        font-weight: 700;
    }

.bg-asset-dropdown-amount-input {
    background-color: #FAFAFA !important;
}

.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: #FAFAFA !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;
}

.bg-green-400 {
    background-color: var(--Green-Green400, #0CC47D) !important;
}

#amount-quote::placeholder,
#amount-base::placeholder {
    color: var(--Gray-Gray1800, #3F4254);
}

.floating-label {
    display: none;
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #9BA0B8;
    pointer-events: none;
    transition: all 0.2s ease;
}

.bg-asset-dropdown-amount-input.active .floating-label {
    top: 6px;
    color: #9BA0B8;
    font-weight: 600;
    transform: none;
    display: block;
    left: 18px;
    letter-spacing: 0.1px;
}

.text-indigo-100 {
    color: var(--Indigo-Indigo100, #28346C) !important;
}

.select2-search__field {
    border: none !important;
    padding: 1rem !important;
    font-weight: bold;
}

    .select2-search__field::placeholder {
        font-size: 14px;
        font-weight: 500;
        color: var(--Gray-Gray1100, #B7B7B7);
    }

div, main, ol, pre, span, ul {
    scrollbar-width: thin;
    scrollbar-color: var(--Green-Green400, #0CC47D) transparent !important;
}

.pair-row-container .pair-row .select2-container--open::before {
    content: attr(data-label);
}

.select2-container--open::before {
    font-weight: 600;
    color: #9BA0B8;
    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: #1C1B1F;
    }

.text-gray-700 {
    color: var(--Gray-Gray700, #E5E7EB) !important;
}

.option-circle {
    width: 20px;
    height: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: inline-block;
}

.select2-results__option::after {
    content: none !important;
}

.select2-results__option--selected .option-circle {
    background-color: var(--Green-Green300, #50CD89) !important;
    box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1px #D9D9D9 !important;
    border: 0 !important;
}
