/* 充值按钮样式 */
.deposit-btn-wrapper {
    background-color: var(--active-color);
    position: relative;
    display: flex;
    align-items: center;
    height: 2.1rem;
    border-radius: 0.5rem;
    border: none;
    overflow: visible;
    white-space: nowrap;
    min-width: fit-content;
    text-align: center;
}


.deposit-btn {
    background: var(--active-color);
    color: var(--text-color-active);
    border: none;
    height: 100%;
    padding: 0 0.4rem 0 0.8rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
}

/* 中间分隔线 */
.deposit-divider {
    height: 1.2rem;
    width: 1px;
    background-color: var(--text-color-active);
}

.deposit-dropdown-toggle {
    border: none;
    height: 100%;
    width: 1.8rem;
    padding: 0;
    cursor: pointer;
    position: relative;
    background: transparent;
    transition: all 0.2s ease;
}

.deposit-dropdown-toggle .arrow {
    display: block;
    width: 0;
    height: 0;
    border-left: 0.3em solid transparent; /* 使用相对单位并缩小 */
    border-right: 0.3em solid transparent; /* 使用相对单位并缩小 */
    border-top: 0.3em solid var(--text-color-active); /* 使用相对单位并缩小 */
    margin: 0 auto;
}

/* 下拉菜单样式 */
.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--background-color); /* 使用主题变量替代硬编码的颜色 */
    border-radius: 4px;
    display: none;
    z-index: 999999;
    margin-top: 5px;
    overflow: hidden;
}

.dropdown-content.show {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.dropdown-content.a {
    color: var(--text-color);
}


.deposit-dropdown-item {
    display: block;
    padding: 10px 15px;
    color: var(--background-color); 
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.deposit-dropdown-item:hover {
    color: var(--background-color); /* 保持悬停时的文字 */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 480px) {
    
    .dropdown-content {
        width: 110px;
    }
    
    .deposit-dropdown-item {
        padding: 8px 12px;
        font-size: 12px;
    }
} 
