.pay {
  background-color: #fff;
  height: 100%;
  overflow: auto;
}
.pay-main {
  background-color: #fff;
  border-radius: 5px 5px 0 0;
  width:1200px;
  margin:20px auto;
}
.pay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.balance {
  text-align: right;
  margin-top: -20px
}
.balance span{
  color: red;
}
.pay-header-r {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
}
.pay-header-r .user-name {
  color: #7ea0f9;
  cursor: pointer;
  margin-left:5px;
}
/* 退出 */
.pay-out {
  display: none;
  padding: 10px;
  width: 160px;
  /* height: 70px; */
  background-color: #fff;
  border: 1px solid #ccc;
  position: absolute;
  top: 35px;
  right: 0;
  font-size: 24px;
  border-radius: 10px;
}

.pay-out-btn {
  margin-top: 10px;
  text-align: right;
}
.pay-out-btn > a {
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  padding: 5px 12px;
  background: linear-gradient(#fdd303, #f7b613);
  box-shadow: 0 2px 7px 0 rgba(85, 110, 97, 0.35);
}

/* 儲值 */
.pay-label {
  margin-top: 10px;
  padding: 10px;
  background-color: #f2f2f2;
  border-radius: 5px 5px 0 0;
}
.pay-content {
  display: flex;
  background-color: #ebebeb;
  padding-left: 20px;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}
::-webkit-scrollbar-track-piece {
  background-color: #ebebeb;
  -webkit-border-radius: 4px;
}
::-webkit-scrollbar-thumb:vertical {
  height: 32px;
  background-color: #ccc;
  -webkit-border-radius: 4px;
}
::-webkit-scrollbar-thumb:horizontal {
  width: 32px;
  background-color: #ccc;
  -webkit-border-radius: 4px;
}
.pay-content .content-left {
  font-size: 18px;
  width: 75%;
  overflow: hidden;
  margin-right: 30px;
}

.game-role {
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.game-role .item {
  display: flex;
  align-items: center;
}
.game-role .item .item-label {
  margin-right: 20px;
}
.game-role .item .select2-selection__rendered{font-size: 16px;}
/* 物品展示开始 */
.pay-type {
  position: relative;
  background-color: #fff;
  border: 1px solid #ccc;
}
.type-select {
  position: relative;
  margin: 20px 20px 0 20px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column; /* 改为垂直方向布局 */
  border-bottom: 1px solid #ccc;
}
.amount-select {
  flex-direction: column;
  position: relative;
  margin: 20px 20px 0 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #ccc;
}
.select-title {
  margin-bottom: 20px; /* 为标题添加下外边距 */
  position: relative;
  top: 0.1rem;
}
.type-select ul {
  flex: 1;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 15px;
}
.amount-select ul li {
  margin: 15px 5px 5px;
  padding: 15px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
}
.amount-select ul {
  flex: 1;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 15px;
}
.amount-select .pay-amount {
  margin-top: 15px
}
.type-select ul li {
  margin: 10px 5px;
  text-align: center;
  cursor: pointer;
}
.type-more {
  position: relative;
  right: 0.2rem;
  background-color: #fef7e0;
  color: #fac40e;
  border: 2px solid #fac40e;
  padding: 0.06rem 0.15rem;
  border-radius: 4px;
  user-select: none;
  cursor: pointer;
  font-size: 16px;
  top:0.01rem;
}
.type-select .item {
  border: 2px solid transparent;
}
.item.type-active {
  position: relative;
  text-align: center;
  color: #fac40e;
  background-color: #fff;
  box-shadow: 0px 2px 7px 0px rgba(85, 110, 97, 0.35);
  border: 2px solid #fac40e;
  border-radius: 3px;
}

.type-active:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  border: 0.1rem solid #fac40e;
  border-top-color: transparent;
  border-left-color: transparent;
}

.type-active:after {
  content: "";
  width: 0.04rem;
  height: 0.08rem;
  position: absolute;
  right: 0.01rem;
  bottom: 0.02rem;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(45deg);
}

.type-select .item img {
  object-fit: contain;
  height: 0.3rem;
  padding:2px 15px;
}

/* 儲值金额 */
.pay-money {
  position: relative;
  margin-top: 0.28rem;
}

.pay-money input{
  border: 1px solid #ccc;
  width:1.1rem;
  height: 0.28rem;
  margin-bottom: 0.07rem;
  font-size: 20px
}

.content-box .list {
  width: 1.4rem;
  padding: 0.1rem 0.25rem;
  border: 2px solid #fcd107;
  margin-bottom:0.2rem;
  margin-right: 0.2rem;
  border-radius: 0.2rem;
  text-align: center;
  cursor: pointer;
}
.list-title {
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-title-img {
  width: 0.52rem;
  margin-right: 5px;
}
.list-title-money {
  font-size: 0.36rem;
  font-weight: bold;
}
.list-main-img {
  width: 100%;
  margin-top: -10px;
}
.list-footer {
  padding: 10px 10px 0;
  border-top: 2px solid #fcd107;
}

.list-footer-twd{
  display: block;
  overflow: hidden;
  margin-top: 10px;
}
.list-footer-twd,.list-footer-twd em.twd {
  font-size: 0.19rem;
  font-weight: bold;
}
.list-footer-usd {
  margin-top: 5px;
}

.money-active {
  position: relative;
  background-color: #fef8e7;
  box-shadow: 0px 2px 7px 0px rgba(85, 110, 97, 0.35);
  border: 2px solid #fcd107;
  overflow: hidden;
}

.money-active:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  border: 0.28rem solid #fcd107;
  border-top-color: transparent;
  border-left-color: transparent;
}

.money-active:after {
  content: "";
  width: 0.05rem;
  height: 0.15rem;
  position: absolute;
  right: 0.08rem;
  bottom: 0.08rem;
  border: 0.05rem solid #fff;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(45deg);
}
.money-info {
  position: absolute;
  right: 0.2rem;
}

.money-zj {
  font-size: 0.26rem;
  color: #f9c00e;
}
.money-btn {
  margin-top: 15px;
  display: inline-block;
  position: relative;
  z-index: 8;
  bottom: 5px;
  font-size: 0.18rem;
  width: 1.2rem;
  height: 0.38rem;
  line-height: 0.38rem;
  text-align: center;
  color: #fff;
  border-radius: 0.08rem;
  background: linear-gradient(#fdd303, #f7b613);
  box-shadow: 0px 2px 7px 0px rgba(85, 110, 97, 0.35);
  margin-left: 0.2rem;
  cursor: pointer;
}

/* 注意事项开始 */
.pay-content .content-right {
  width: 18%;
  margin-top: 95px;
  border: 1px solid #ccc;
  padding: 15px;
  max-height: 845px;
  overflow: auto;
  line-height: 22px;
}
.content-right .tips-title {
  line-height: 1.1;
  font-size: 0.23rem;
  font-weight: bold;
  border-bottom: 1px solid #000;
  padding-bottom: 15px;
}
.money-empty {
  margin: 20px auto;
  text-align: center;
}
.pay-channel{
  margin:0 20px;
  background-color: #f3f3f3;
  padding:20px 20px 0px;
}
.pay-channel ul li{
  margin-bottom: 18px;
  font-size: 14px;
  text-align: center;
  float: left;
  width:136px;
  padding:2px 12px;
  cursor: pointer;
}
.pay-channel .ch-item .img-icon{
  margin-bottom:8px;
  background-color: #fff;
  padding: 2px 3px;
  width: 118px;
  border-radius: 3px;
  border:2px solid #fff;
}
.pay-channel .ch-item img{
  height: 32px;
}
.pay-channel .ch-item .img-name{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pay-channel .ch-item .ch-current {
  position: relative;
  text-align: center;
  color: #fac40e;
  background-color: #fff;
  box-shadow: 0px 2px 7px 0px rgba(85, 110, 97, 0.35);
  border: 2px solid #fac40e;
}

.content-box .list .name,.content-box .list .money{
  font-size: 0.19rem;
  font-weight: bold;
  display: block;
}

.content-box .list .money .twd{
  font-weight: bold;
}

.content-box .list .details{
  font-size: 0.15rem;
  height: 0.72rem;
  border-top: 2px solid #fcd107;
  margin: 0.12rem 0;
  border-bottom: 2px solid #fcd107;
  line-height: 0.2rem;
  overflow: auto;
  padding: 0.1rem 0;
}

.content-box .list .details span{
  display: table-cell;
  vertical-align: middle;
  height: 0.72rem;
}

.select2-container{
  width: 160px !important;
}

.pay-bottom {
  font-family: Arial, sans-serif;
  color: #333;
  padding: 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}

.bottom-title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  color: #2c3e50;
}

.bottom-content {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
  color: #555;
}

.bottom-agreement {
  margin-top: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.agreement-link a {
  color: #3498db;
  text-decoration: none;
}

.agreement-link a:hover {
  text-decoration: underline;
}