/* 整合的内联样式 - 从index.html提取 */

/* Vue Modal 样式 */
.vue-modal-top,
.vue-modal-bottom,
.vue-modal-left,
.vue-modal-right,
.vue-modal-topRight,
.vue-modal-topLeft,
.vue-modal-bottomLeft,
.vue-modal-bottomRight {
  display: block;
  overflow: hidden;
  position: absolute;
  background: transparent;
  z-index: 9999999;
}

.vue-modal-topRight,
.vue-modal-topLeft,
.vue-modal-bottomLeft,
.vue-modal-bottomRight {
  width: 12px;
  height: 12px;
}

.vue-modal-top {
  right: 12px;
  top: 0;
  width: 100%;
  height: 12px;
  cursor: n-resize;
}

.vue-modal-bottom {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 12px;
  cursor: s-resize;
}

.vue-modal-left {
  left: 0;
  top: 0;
  width: 12px;
  height: 100%;
  cursor: w-resize;
}

.vue-modal-right {
  right: 0;
  top: 0;
  width: 12px;
  height: 100%;
  cursor: e-resize;
}

.vue-modal-topRight {
  right: 0;
  top: 0;
  background: transparent;
  cursor: ne-resize;
}

.vue-modal-topLeft {
  left: 0;
  top: 0;
  cursor: nw-resize;
}

.vue-modal-bottomLeft {
  left: 0;
  bottom: 0;
  cursor: sw-resize;
}

.vue-modal-bottomRight {
  right: 0;
  bottom: 0;
  cursor: se-resize;
}

#vue-modal-triangle::after {
  display: block;
  position: absolute;
  content: '';
  background: transparent;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-bottom: 10px solid #ddd;
  border-left: 10px solid transparent;
}

#vue-modal-triangle.clicked::after {
  border-bottom: 10px solid #369be9;
}

/* VM Modal Container 样式 */
.vm--block-scroll {
  overflow: hidden;
  width: 100vw;
}

.vm--container {
  position: fixed;
  box-sizing: border-box;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
}

.vm--overlay {
  position: fixed;
  box-sizing: border-box;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.vm--container.scrollable {
  height: 100%;
  min-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.vm--modal {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background-color: white;
  border-radius: 3px;
  box-shadow: 0 20px 60px -2px rgba(27, 33, 58, 0.4);
}

.vm--container.scrollable .vm--modal {
  margin-bottom: 2px;
}

.vm--top-right-slot {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* VM Transitions */
.vm-transition--overlay-enter-active,
.vm-transition--overlay-leave-active {
  transition: all 50ms;
}

.vm-transition--overlay-enter,
.vm-transition--overlay-leave-active {
  opacity: 0;
}

.vm-transition--modal-enter-active,
.vm-transition--modal-leave-active {
  transition: all 400ms;
}

.vm-transition--modal-enter,
.vm-transition--modal-leave-active {
  opacity: 0;
  transform: translateY(-20px);
}

.vm-transition--default-enter-active,
.vm-transition--default-leave-active {
  transition: all 2ms;
}

.vm-transition--default-enter,
.vm-transition--default-leave-active {
  opacity: 0;
}

/* Vue Dialog 样式 */
.vue-dialog {
  font-size: 14px;
}

.vue-dialog div {
  box-sizing: border-box;
}

.vue-dialog-content {
  flex: 1 0 auto;
  width: 100%;
  padding: 14px;
}

.vue-dialog-content-title {
  font-weight: 600;
  padding-bottom: 14px;
}

.vue-dialog-buttons {
  display: flex;
  flex: 0 1 auto;
  width: 100%;
  border-top: 1px solid #eee;
}

.vue-dialog-buttons-none {
  width: 100%;
  padding-bottom: 14px;
}

.vue-dialog-button {
  font-size: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
  box-sizing: border-box;
  line-height: 40px;
  height: 40px;
  color: inherit;
  font: inherit;
  outline: none;
}

.vue-dialog-button:hover {
  background: #f9f9f9;
}

.vue-dialog-button:active {
  background: #f3f3f3;
}

.vue-dialog-button:not(:first-of-type) {
  border-left: 1px solid #eee;
}

/* QA SDK 样式 */
.qa-sdk-wrapper {
  position: fixed;
  z-index: 10000;
  width: 400px;
  right: -600px;
  max-height: 530px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease-in-out;
  background: #fff;
}

.qa-sdk-close-btn {
  display: inline-block;
  width: 18px;
  height: 18px;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 16px;
}

.qa-sdk-close-btn:hover {
  border-radius: 50%;
  background-color: #d5d9df;
}

/* 菜单焦点样式 */
.menu-focus-btn:focus+.menu-focus-opened,
.menu-focus-opened:hover {
  margin-top: -.5em;
  opacity: 0.8;
  visibility: visible;
}

/* 货币图标样式 */
.svgcoin {
  width: 20px;
  height: 20px;
}

/* 货币颜色 */
[data-value=ETH] {
  color: #e06b1a;
}

[data-value=WEETH] {
  color: #2775ca;
}

[data-value=USDT] {
  color: #53ae94;
}

[data-value=TRX] {
  color: #ff2e4b;
}

/* Toast 样式 */
.toast-center-center {
  top: 30px;
  left: 40%;
  width: 100%;
}

/* 移动端适配样式 */
.mobiles {
  display: none;
}

@media screen and (max-width: 900px) {
  .container .box-container .logo-container {
    background-image: url(https://mixingbtc.com/img/logo-bg-1.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 40px;
    width: 530px;
  }

  .container .box-container .logo-container.mobiles {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .container .box-container .logo-container.pcs {
    display: none;
  }

  .container .input-container {
    min-width: 320px !important;
    width: 90% !important;
  }

  .pc-box {
    display: flex;
  }

  #select_label_from > :first-child {
    font-weight: 700;
    margin-left: 0;
    min-width: 0;
  }

  .input-wabbr.toright > label {
    left: 0;
    right: 0;
    font-size: 0.89rem;
  }

  #select_label_from {
    width: 40%;
  }

  .trade-record-container {
    width: 90%;
    margin: 20px auto;
  }

  .rtd {
    margin-left: 20px;
  }
}

/* 交易记录样式 */
.trade-record-container {
  max-width: 1126px;
  margin: 20px auto;
  background: rgba(28, 33, 39, 0.8);
  background: linear-gradient(180deg, #2a467e, #253e74 32.15%, #1c2d5f);
  border-radius: 12px;
  padding: 15px;
  overflow: hidden;
}

.trade-record-scroll {
  height: 300px;
  overflow: hidden;
}

.trade-record-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.trade-record-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.trade-user {
  display: flex;
  align-items: center;
}

.trade-name {
  color: #8c8c8c;
  font-size: 14px;
}

.trade-type {
  color: #8c8c8c;
  font-size: 12px;
  margin-top: 4px;
}

.trade-info {
  text-align: right;
}

.trade-amount {
  color: #f0b90b;
  font-size: 16px;
  font-weight: 500;
}

.trade-time {
  color: #8c8c8c;
  font-size: 12px;
  margin-top: 4px;
}


/* PC Box 样式 */
.pc-box {
  display: flex;
}

/* Footer 样式 */
.main-footer {
  position: relative;
}

.footer-wrapper {
  overflow: hidden;
}
