*{margin: 0;padding: 0;}
body {margin: 0 auto;line-height: 18px;font-family:"微软雅黑",Verdana, Geneva, sans-serif;font-size:14px;}
html, body {
    touch-action: manipulation;
}
a{color:#000;text-decoration: none;}
a.link{color:blue;}
a:hover{color: #464DFA;}
a.current{color: blue;}
p{line-height:22px;}
select,input {outline: none;vertical-align: baseline;}
textarea {padding: 2px;}
img{vertical-align:middle;}
ul {list-style:none;}
h1{font-size: 14px;font-weight: normal;line-height: 22px;text-align: center;padding: 9px 0;background: #626262;color: white;}

code, pre {
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  /* 启用连字 */
  font-variant-ligatures: common-ligatures;
  /* 或使用更现代的属性 */
  font-feature-settings: 'liga' 1, 'calt' 1;
}

table {border:1px solid #ccc;border-bottom:none;border-collapse: collapse;width: 100%}
table th {text-align:left;line-height: 30px;height:30px;padding:0 5px;background: #CCC;}
table td {padding:5px;line-height: 18px;height: 34px;border-bottom:1px solid #ccc;word-break: break-all;}
table tr:nth-child(2n) {background: #f5f5f5;}
table tr.light-border td{border-bottom: 1px dashed #f5f5f5;}
table td.normal-border{border-bottom:1px solid #ccc!important;}
table td[contenteditable="true"] {outline: none;}
table.mini td {line-height: 22px;height:22px;}


td.flex-grow{display: flex;height: auto;line-height: 26px;}
.flex-450{width: 450px;}
.flex-400{width: 400px;}
.flex-370{width: 370px;}
.flex-200{width: 200px;}
.flex-150{width: 150px;}
.flex-100{width: 100px;}
.flex-120{width: 120px;}

tr.goldtoken{background: #e5f9e1!important;}

.span_t{color: gray;display: inline-flex;}
.minifont{font-size: 10px;}
.external,.external a{color: #454545;}
.uptime10m {color: #ff6060;}
.volume_m {color: #053df4;}
.market_m {color: #053df4;}
.market_n {color: #3c3c3c;}
.less1000{color: red;}
.more10000{color: #053df4;}
.copyed{color: #159900!important;}

.smartaddrhide{color: gray;}
.smartaddrtips{color: #000000;}

.token{ color:#585858}
.pump{color:#000000;}
.hide{display: none;}
.smart_text{width: 85px;}

.aistorydetail{line-height: 24px;}
.aistoryindex {line-height: 32px;}

@media screen and (max-width:600px)
{
    .flex{padding-right: 5px;}
    .flex-450{width: 120px;}
    .flex-150{width: 120px;}
    .flex-200{width: 150px;}
    .flex-100{width: 88px;}
    .smart_text{width: 73px;}
    .aistoryindex{}
}


table.orderlist td {padding:0 5px;line-height: 18px;height: 88px;border-bottom:1px solid #ccc;}

span[contenteditable="true"] {outline: none;}
span.indicator{background: url('../img/ajax-loader.gif');width: 16px;height: 16px;display: none;}
/*table tr:hover{background:#eeeeee;}*/
.tdc {text-align:center;}
.tdl {text-align: left;}
.tdr {text-align: right;}
.clearfix{clear: both;}

.main_nav{}
.main_nav a{padding: 0 7px;line-height: 32px;}
.main_nav span{line-height: 32px;}

.main_nav .current, .main_nav a.current{color: #D45800;}
.subs_nav {border-top: 1px solid #ccc;}
.subs_nav a{padding: 0 7px;line-height: 32px;}
.subs_nav .current{background: #E2E2E2;}
.subs_nav span{line-height: 32px;}
a.static{padding: 0 3px;}

.meta{padding: 5px 0;float: left;}
.ipt{border: none;border-bottom: 1px solid #ccc;padding:4px;vertical-align: baseline;}
.input_loading{border-bottom-color: #00f;}
.input_loaded{border-bottom-color: #008000;}

.meta .nav{padding-left: 5px;}

.droplist{position: relative;}
.droplist ul{position: absolute;padding: 0 5px;background: #F5F5F5;width: 262px;line-height: 34px;}
.droplist ul li{border-bottom: 1px solid #DADADA;}

ul{word-break: break-word;}

.main {width:auto;margin:0 auto;padding: 0 7px;}
.info {padding: 5px 7px;color: #ffbf00;border-top: 1px solid #ccc;text-align: center;}
span.left,li.left,.left{float:left;}
span.right,li.right,.right{float:right;}

.option_green
{
    background: #008000;
    color: #fff;
    border-color: #008000;
}

.option_red
{
    background: #f00;
    color: #fff;
    border-color: #f00;
}

.trgray
{
    color: #886a6a;
}

.trgray a {color: #886a6a!important;}

.trdarkgreen
{
    background: #4CAF50;
    color: #FFF;
}

.trgreen
{
    background: #7fffd4;
}

.trorange
{
    background: #fff4bf;
}

.trorange a {color: #000!important;}

.trblue
{
    background: rgba(3, 188, 244, 0.37);
}

.trblue a {color: #000!important;}


.btn {cursor:pointer;padding:3px;height:26px;vertical-align: top;border: none;background: #4C4120;color: #FFFFFF;}
.top {margin-top: 5px;margin-left: 5px;}
.mw300 {min-width: 300px;}
.txt{border-top: none;border-bottom: none;border-color: #BBB9B9;margin-top: 3px;min-width: 500px;min-height: 100px;outline: none; }

.dataform {}
.dataform td{height:35px;}
.datalist .small{font-size:11px;}
.dataform .error {color:red;}
.dataform .slt {min-width:260px;}
.dataform .ipt {min-width:249px;}
.maxwidth {width:460px;}

.datalist td:focus {outline: none;border-bottom: 1px solid #120B68;}
.datadeep {border-top: 1px solid #585858;border-bottom: none;}

fieldset{border:none;padding-top:7px;margin-bottom:20px;}
fieldset legend{font-weight:bold;font-size:14px;}
.promo {color:red;}




.pagination ul li {float:left;margin-right:5px;}
.pagination ul li.current {color:red;}



.copyright {text-align:center;margin:0 auto;margin-top:20px;padding-top:6px;border-top:1px solid #ccc;}

h2 {font-size: 12px;color: #2C2C2C;padding:3px 7px;position: relative;}
h2 .subs{font-weight: 400;}
.line_top {border-top: 1px solid #ccc;}

.c_orange{color:#EA811A;}
.c_gray{color: gray;}
.c_red{color:#ff6060;}
.c_blue{color:blue;}
.c_green{color:green;}
.c_purple{color: purple;}
.c_pink{color:#f73ea6}
.c_lightblue{color: #2196F3;}
.f_bold{font-weight: bold;}
.pointer{cursor: pointer;text-decoration: underline;}

.c_dec_pool{color: rgb(239, 109, 226);}
.c_add_pool{color: #0b56ff;}
.c_cur_hold{color: #0032ff;}



/* Container for alignment */
.toggle-container {
  display: flex;
  align-items: center; /* Vertical alignment */
  gap: 10px; /* Space between toggle and text */
}
/* Toggle Switch Container */
.toggle-switch {
  position: relative;
  width: 56px;
  height: 24px;
  display: inline-block;
}

/* Hidden Checkbox */
.toggle-switch input {
  display: none;
}

/* Slider (background and handle) */
.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 36px;
  cursor: pointer;
}

/* Handle (small circle) */
.slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 2px;
  bottom: 1px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

/* Change background color and handle position when checked */
input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider::before {
  transform: translateX(30px);
}


/* 模态框样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


.modal-content {
    background-color: #ffffffd1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    text-align: center;
    font-family: Arial, sans-serif;
}

.modal-content p {
    margin: 0 0 20px;
    font-size: 16px;
    color: #333;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.modal-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.modal-button.confirm {
    background-color: #ff4d4f;
    color: #fff;
}

.modal-button.confirm:hover {
    background-color: #d9363e;
}

.modal-button.cancell {
    background-color: #ccc;
    color: #333;
}

.modal-button.cancell:hover {
    background-color: #b3b3b3;
}
