.btn-secondary,.btn-success{ color: #fff; }
#lists::placeholder{ color: #aaa; }

.card-body fieldset legend{ margin-bottom:1em;}
.logo{ max-width:auto;}
.textarea-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border:0.0625rem solid #D1D5DB;
}
.line-number {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 0.5rem;
  color: #aaa;
  font-size: 14px;
  line-height: 21px;
  text-align: right;
  pointer-events: none;
  background: #f3f3f3;
  
  white-space: pre
}
#my-textarea {
  height: auto !important;
  min-height: 150px;
  padding: 6px;
  font-size: 14px;
  line-height: 1.5;
}

#lists{ padding-left: 2rem; }
#copyUsdtAddress,#copyBinanceAddress{ width:80px;}


.form-label small {
        font-size: 0.9em;
        color: #6c757d;
        font-weight: normal;
      }
      .modal-dialog {
        display: flex;
        align-items: center;
        min-height: calc(100% - 1rem);
      }
      .modal-content {
        width: 100%;
        max-width: 500px;
        margin: auto;
      }
      .modal-header,
      .modal-body,
      .modal-footer {
        padding: 1.5rem; /* 增加所有方向的内边距 */
      }
      .modal-header {
        padding-bottom: 1rem; /* 减少头部底部内边距 */
      }
      .modal-body {
        padding-top: 1rem; /* 减少主体顶部内边距 */
        padding-bottom: 1rem; /* 减少主体底部内边距 */
      }
      .modal-footer {
        padding-top: 1rem; /* 减少底部顶部内边距 */
      }
      .close {
        position: absolute;
        right: 1.5rem;
        top: 1.25rem; /* 调整顶部位置 */
        font-size: 2rem;
        font-weight: 700;
        line-height: 1;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        opacity: 0.5;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
      }
      .close:hover {
        color: #000;
        text-decoration: none;
        opacity: 0.75;
      }
      /* 为表单元素添加间距 */
      .form-group {
        margin-bottom: 1.5rem;
      }
      /* 移除最后一个表单元素的底部边距 */
      .form-group:last-child {
        margin-bottom: 0;
      }
      /* 为提交按钮添加上边距 */
      #balanceReminderForm .btn-primary {
        margin-top: 1rem;
      }
      
        .table-hover tbody tr:hover {
    background-color: #fefefe; /* Light gray color */
    transition: background-color 0.3s ease; /* Smooth transition effect */
  }

  .bg-custom-gray {
    background-color: #cdcfd1; /* 这是一个稍微深一点的灰色 */
    color: #212529; /* 深色文字以保持可读性 */
  }

  .details-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .detail-item {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 10px;
  }

  .detail-label {
    flex: 0 0 150px; /* Adjust this width as needed */
    color: #495057;
    font-weight: 600;
    text-align: right;
    padding-right: 10px;
    position: relative; /* 为了绝对定位冒号 */
  }

  .detail-value {
    flex: 1;
    color: #212529;
    padding-left: 15px; /* 在值之前添加额外的间距 */
  }

  .modal-header {
    border-bottom: 2px solid #dee2e6;
  }

  .modal-footer {
    border-top: 2px solid #dee2e6;
  }

  .pagination .page-link {
    min-width: 35px; /* 增加按钮的最小宽度 */
    text-align: center; /* 确保数字居中 */
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .btn-submitting {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .btn-submitting .spinner-border {
    margin-right: 0.5rem;
    margin-top: 2px;
  }

  .custom-textarea {
    min-height: 100px;
    max-height: 300px;
    height: 100px;
    overflow-y: auto;
    resize: vertical;
  }

  .nav-tabs-flush {
    position: relative;
    padding-bottom: 8px; /* 增加底部内边距 */
  }

  .nav-tabs-flush::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1rem; /* 对应 px-3 的左内边距 */
    right: 1rem; /* 对应 px-3 的右内边距 */
    height: 1px;
    background-color: #dee2e6; /* 底部线条颜色 */
  }

  .nav-tabs-flush .nav-link {
    border-bottom: 2px solid transparent; /* 为所有选项卡添加透明底边 */
    margin-bottom: -8px; /* 抵消父元素的底部内边距 */
  }

  .nav-tabs-flush .nav-link.active {
    border-bottom-color: #007bff; /* 活动选项卡底部线条颜色 */
  }
  
#countdown-timer {
  position: fixed;
    top: 20px;
    right: 33px;
    color: #fff;
    background: rgb(38, 43, 64);
    z-index: 9999;
    box-sizing: border-box;
    padding: 15px 40px;
  display: none;
}
.nav-tabs{ border:none;}

.fanhuishuju{border-radius:0;}
.tab-content{ border:1px solid #D1D5DB;border-radius:0 0 0.5rem 0.5rem; overflow:hidden;}
.tab-content .form-control{ border:0;}

.nav-tabs .nav-link{ border:1px solid #D1D5DB; border-bottom-width:0; background:none; border-color: #E5E7EB #E5E7EB #9CA3AF; font-size:14px; padding:15px 5px;}
.nav-tabs .nav-link.active{ border:0;}

@media (max-width: 360px) {
  .col-xm-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
}

.form-label {margin-bottom:0;}

.icon{ height:auto;}

  /* 修改链接的背景颜色和文字颜色 */
.nav-tabs .nav-link.active {
    background-color: #1F2937;  /* 更改背景颜色 */

  }



.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* 确保加载层在最上层 */
  visibility: hidden; /* 初始时隐藏 */
}

.loading-content {
  text-align: center;
  color: white;
}

.spinner {
  border: 4px solid #fff; /* 白色边框 */
  border-top: 4px solid #000; /* 黑色旋转部分 */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite; /* 旋转动画 */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 关闭按钮的位置和样式 */
.close-btn {
  position: absolute;
  top: -12px;  /* 向外延伸 */
  right: -12px; /* 向外延伸 */
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.close-btn:focus {
  outline: none;
}

.close-btn:hover {
  background-color: #f0f0f0; /* 鼠标悬停时，按钮背景颜色变浅 */
  transform: scale(1.1); /* 按钮稍微放大 */
}

.close-btn:active {
  transform: scale(0.95); /* 按钮点击时略微缩小 */
}

/* 确保在较小的屏幕上，按钮依然合适 */
@media screen and (max-width: 600px) {
  .close-btn {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}


.language img{ height:1em;}
.progress {
    height: 18px;
}

.layui-progress-text{ display:inline-block;}
.layui-progress{ width:100%;}

.membership .card-body span{ padding-left:10px;}

.ms-sm-3{margin-left: 1rem !important;}

@media (min-width: 992px){
    .content2 {
        margin-left: 95px;
    }
}

.card-body fieldset legend{ position:relative;}
.help-tip{
	position: absolute;
	top: -2px;
	left: 55px;
	text-align: center;
	background-color: #BCDBEA;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	font-size: 14px;
	line-height: 26px;
	cursor: pointer;
}

.help-tip:before{
	content:'?';
	font-weight: bold;
	color:#fff;
}

.help-tip:hover p{
	display:block;
	transform-origin: 100% 0%;

	-webkit-animation: fadeIn 0.3s ease-in-out;
	animation: fadeIn 0.3s ease-in-out;

}

.help-tip p{
	display: none;
	text-align: left;
	background-color: #1E2021;
	padding: 20px;
	width: 300px;
	position: absolute;
	border-radius: 3px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
	right: -4px;
	color: #FFF;
	font-size: 13px;
	line-height: 1.4;
	margin-right: -269px;
}

.help-tip p:before{
	position: absolute;
	content: '';
	width:0;
	height: 0;
	border:6px solid transparent;
	border-bottom-color:#1E2021;
	left:10px;
	top:-12px;
}

.help-tip p:after{
	width:100%;
	height:40px;
	content:'';
	position: absolute;
	top:-40px;
	left:0;
}

.apidoc pre {
    position: relative;
}
.apidoc #pythonCode{
    background: #eee;
    padding: 15px;
    border-radius: 10px;
}

.apidoc .copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.rote_speed{
    background: #eee;
    color: #666;
    font-size: 14px;
    padding: 5px;
    border-radius: 5px;
}

#fileInput {
    opacity: 0;
    position: absolute;
    z-index: -1;
}