﻿.coco-vcoin-default-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #0bb5f0, #0a7ad8);
    box-shadow: 0 4px 10px rgba(9, 122, 216, 0.3);
}

.coco-vcoin-chain-box {
    margin-bottom: 10px;
}

.coco-vcoin-chain-title {
    font-size: 12px;
    color: var(--muted-2-color, #6b7280);
    margin-bottom: 8px;
}

.coco-vcoin-chain-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.coco-vcoin-chain-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #fff;
    color: #253046;
    height: 34px;
    padding: 0 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.coco-vcoin-chain-item:hover {
    border-color: #5ea2ff;
    box-shadow: 0 4px 12px rgba(61, 114, 255, 0.18);
}

.coco-vcoin-chain-item.active {
    border-color: #1b84ff;
    color: #1b84ff;
    background: rgba(27, 132, 255, 0.06);
}

/* 暗黑模式：链方式按钮选中/未选中配色互换 */
.dark-theme .coco-vcoin-chain-item {
    border-color: rgba(120, 146, 196, 0.45);
    background: rgba(43, 49, 60, 0.95);
    color: #d7deea;
}

.dark-theme .coco-vcoin-chain-item.active {
    border-color: var(--theme-color, #f04494);
    background: rgba(43, 49, 60, 0.95);
    color: #f3f7ff;
    box-shadow: 0 0 0 1px rgba(240, 68, 148, 0.18), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.coco-vcoin-chain-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.coco-vcoin-chain-icon img {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 50%;
}

.coco-vcoin-hide-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.coco-vcoin-hide-scrollbar::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

.coco-chain-fallback {
    font-size: 12px;
    line-height: 1;
}

.pay-payment.coco_crypto .pay-logo {
    background-image: var(--coco-vcoin-icon, none);
    background-size: contain;
    border-radius: 50%;
}

.pay-payment.coco_crypto .pay-logo:empty {
    background-image: none;
    background: linear-gradient(135deg, #00a9e6, #2d6cf6);
}

.pay-payment.coco_crypto .pay-logo-name {
    display: none;
}

.pay-payment.coco_crypto .pay-notice .notice {
    background: #0ca678;
}

.pay-payment.coco_crypto .coco-vcoin-label {
    display: inline-block;
    margin-left: 10px;
    font-weight: 600;
    color: #1f2937;
}

/* 支付弹窗滚动条隐藏（仅作用于支付弹窗，保留可滚动能力） */
#zibpay_modal,
#zibpay_modal *,
#zibpay_modal .modal-content,
#zibpay_modal .modal-body,
#zibpay_modal .modal-pay-body {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

#zibpay_modal::-webkit-scrollbar,
#zibpay_modal *::-webkit-scrollbar,
#zibpay_modal .modal-content::-webkit-scrollbar,
#zibpay_modal .modal-body::-webkit-scrollbar,
#zibpay_modal .modal-pay-body::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}
