/* Available Amount Header */
.x2o2-available-amount-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-right: 7px;
    vertical-align: middle;
}

.x2o2-available-amount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 58px;
    height: 32px;
    padding: 0 9px;
    border: 1px solid rgba(249, 143, 29, 0.55);
    border-radius: 16px;
    background: rgba(249, 143, 29, 0.10);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.x2o2-available-amount-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    color: var(--main-color, #f98f1d);
}

.x2o2-available-amount-value {
    display: inline-block;
    line-height: 1;
}

.x2o2-available-amount-wrap:hover .x2o2-available-amount {
    background: rgba(249, 143, 29, 0.18);
    border-color: rgba(249, 143, 29, 0.85);
}

@media (max-width: 768px) {
    .x2o2-available-amount-wrap {
        margin-right: 4px;
    }

    .x2o2-available-amount {
        min-width: 48px;
        height: 30px;
        padding: 0 7px;
        gap: 4px;
        font-size: 12px;
    }

    .x2o2-available-amount-icon {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }
}

.x2o2-available-amount {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    border-style: solid;
    cursor: pointer;
}
.x2o2-available-amount:focus-visible {
    outline: 2px solid var(--main-color, #f98f1d);
    outline-offset: 2px;
}
