@media screen and (max-width: 414.9px) {
    .col-xs-24 {
        --layout-rowNumber: 24;
    }
    .otc-supplementary-modal-footer-confirm{
      max-width: 300px !important;
    }
}

@media (min-width: 414.9px) and (max-width: 991.9px) {
    .col-sm-24 {
        --layout-rowNumber: 24;
    }
}

@media (min-width: 992px) and (max-width: 1199.9px) {
    .col-md-24 {
        --layout-rowNumber: 24;
    }
}

@media (min-width: 1200px) and (max-width: 1439.9px) {
    .col-lg-24 {
        --layout-rowNumber: 24;
    }
}

@media (min-width: 1440px) {
    .col-xl-24 {
        --layout-rowNumber: 24;
    }
}

*{
  font-family: 'Gate_Sans', Arial, sans-serif !important;
}
/* otc trade header start */
.d-flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.align-center {
    align-items: center;
}

.jc-between {
    justify-content: space-between;
}

.flex-column {
    flex-direction: column;
}

.mr-4 {
    margin-right: 4px;
}

.mr-8 {
    margin-right: 8px;
}

.mr-12 {
    margin-right: 12px;
}

.mr-16 {
    margin-right: 16px;
}

.mr-24 {
    margin-right: 24px;
}

.ml-8 {
    margin-left: 8px;
}

.mb-32 {
    margin-bottom: 32px;
}

.normal-color {
    color: var(--color-text-1);
}

.brand-color {
    color: var(--color-text-5);
}

.otc-contact-brand-color {
    color: var(--color-brand-1);
    font-size: var(--font-body-s);
}

.otc-header {
    box-sizing: border-box;
    height: 56px;
    line-height: 56px;
    background: var(--color-bg-1);
    position: sticky;
    top: 48px;
    z-index: 10;
    border-bottom: 1px solid var(--color-divider-2);
}

.otc-header.otc-header-app {
    top: 0;
}

.otc-header-con {
    font-size: var(--font-body);
    color: var(--color-text-1);
    font-weight: 600;
    cursor: pointer;
}

.otc-header-con-active {
    border-bottom: 3px solid var(--color-text-1);
    color: var(--color-text-1) !important;
}

.otc-header-info-con {
    font-weight: 500;
    font-size: var(--font-body-m);
    display: inline-flex;
    align-items: center;
    color: var(--color-text-3);
    cursor: pointer;
}

.otc-header-info-con:hover {
    color: var(--color-text-1);
}

.otc-header-info-con svg {
    display: inline-block;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
}

.otc-header-info-con:not(.otc-header-con-icon-custom):hover svg path {
    fill: var(--color-text-1);
}

.otc-header-con-icon-custom.otc-header-info-con:hover svg path {
    stroke: var(--color-text-1);
}

.otc-header-con-text {
    font-size: var(--font-body-m);
}

.otc-contact-header {
    box-sizing: border-box;
    width: 100%;
    height: 100px;
    background-image: url(/images/gate_otc/otc_trade/contact_us_bg.png);
    background-repeat: no-repeat;
    display: flex;
    padding: 24px;
    background-size: 100%;
}

.otc-contact-customer {
    max-width: 88px;
}

.otc-contact-customer img {
    width: 88px !important;
    height: auto;
    background-size: contain;
}

.otc-contact-header-tips {
    margin-top: 10px;
    color: var(--color-text-8);
    font-weight: 500;
    font-size: var(--font-body-s);
    line-height: 150%;
    text-align: center;
}

.classic-dark .otc-contact-header-tips {
    color: var(--color-text-1);
}

.otc-contact-header-tips span {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.is_phone .phone-otc-header-info {
    padding: 8px 0;
}

.is_phone .phone-otc-header-info .otc-header-con {
    line-height: 45px;
    padding-left: 12px;
    font-weight: 500;
}

.is_phone .phone-otc-header-info .otc-header-con .otc-header-icon {
    height: unset;
    line-height: unset;
}

.is_phone .phone-otc-header-info .otc-header-con .otc-header-con-text {
    margin-left: 4px;
}

.is_phone .otc-header-con-text-show {
    display: block;
}

.is_phone .otc-header-info-con {
    margin-right: 16px;
}

.is_phone .otc-header-info-con svg {
    margin: 0;
}

.is_phone .otc-header-con .mantine-Badge-root.otc-order-num {
    margin-left: 4px;
}

.is_phone .otc-contact-QR {
    padding: 32px 0;
}

.classic-dark .otc-contact-QR {
    background-color: var(--color-bg-5);
}

.mantine-Badge-root.otc-order-num {
    background: var(--color-brand-1);
    border-radius: 99px;
}

.otc-contact-con {
    padding: 16px 0;
}

.is_phone .otc-contact-con {
    margin-top: 20px;
    border-radius: 10px;
}

.is_phone .otc-contact-con-box {
    background-color: #050506;
}

.is_phone .otc-contact-con-box .mantine-Paper-root {
    background-color: transparent !important;
}

/* otc trade header end */

/* 电报弹窗 */
.otc-telegram-h3 {
    color: var(--color-text-1);
    font-size: var(--font-body);
    font-weight: 400;
    line-height: 150%;
}

.otc-telegram-icon {
    width: 160px;
    height: 160px;
    display: block;
    margin: 16px auto 8px;
}

.otc-telegram-a {
    color: var(--color-brand-1);
    font-size: var(--font-body-m);
    font-weight: 400;
    line-height: 150%;
    text-align: center;
    display: block;
}

.mantine-GateSearchSelect-item[data-disabled="true"] {
    pointer-events: none;
    opacity: 0.5;
}

/***telegram modal css end***/
.gate-otc-tooltip-target {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gate-otc-tooltip-target img{
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.gate-otc-tooltip-target .iconpark-icon{
    cursor: pointer;
    vertical-align: 0;
}

.otc-header-icon {
    margin-right: 4px;
    height: 100%;
}

/* FQA */
.trade-kyc-list-table {
    display: flex;
    flex-direction: column;
}

.kyc-table-header,
.kyc-table-tr {
    display: flex;
    width: 100%;
}

.kyc-table-td,
.kyc-table-td-item {
    flex: 1;
    box-sizing: border-box;
    padding: 0 16px;
    display: inline-flex;
    justify-content: center;
    min-height: 32px;
    height: auto;
    flex-direction: column;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
}

.kyc-table-body .kyc-table-td,
.kyc-table-body .kyc-table-td-item {
    color: var(--color-text-1);
}

.no-padding {
    padding: unset;
}

.kyc-table-body {
    border: 1px solid var(--color-divider-2);
}

.kyc-table-td-item {
    padding: 8px 12px;
    border: 1px solid var(--color-divider-2);
}

.kyc-table-td:first-child {
    flex: unset;
    width: 24.32%;
}

.kyc-table-header .kyc-table-td {
    background: var(--color-card-1);
    color: var(--color-text-3);
    min-height: 32px;
}

.kyc-table-button {
    float: right;
}

.span-91 {
    min-height: 11.11%;
}

.otc-Faq-content {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

#lottie-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-1);
}

#lottie {
    background-color: var(--color-bg-1);
    width: 158px;
    height: 119px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 24px 0px rgba(70, 100, 140, 0.15);
}

#lottie-loading {
    width: 36px;
    height: 36px;
    transform: translate3d(0, 0, 0);
}

.loading-text {
    margin-top: 18px;
    font-weight: 500;
    font-size: var(--font-body-m);
    color: var(--color-text-1);
}

.otc-trade-limited-modal .otc-contact-QR {
    padding: 0;
    margin: 0;
}

.otc-contact-QR {
    border-radius: 8px;
    margin-top: -8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.otc-contact-QR-img {
    width: 160px !important;
    height: 160px !important;
    margin: auto;
}

.gate-otc-form-footer {
    justify-content: flex-end;
    display: flex;
    gap: 16px;
}

.modal-item-placeholder input::placeholder {
    color: #8E949E;
    font-weight: 500;
    font-size: 14px;
}
  
.classic-dark .modal-item-placeholder input::placeholder {
    color: var(--color-text-3);
}

.gate-otc-uab-kyc-modal-title{
  font-size: var(--font-body);
  font-weight: 500;
  color: var(--color-text-1);
}
.gate-otc-uab-kyc-modal-content{
 margin-top: 8px;
 font-size: var(--font-body-m);
 font-weight: 400;
 line-height: 21px;
 color: var(--color-text-2);
}
.gate-otc-uab-kyc-modal-content a {
  color: var(--color-text-5);
}

/* 提示弹窗 */
.otc-notice-modal-content{
  font-weight: 400;
  font-size: var(--font-body-m);
  color: var(--color-text-2);
}

.otc-select-identity-footer{
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 提示弹窗 */
.otc-notice-modal-content{
  font-weight: 400;
  font-size: var(--font-body-m);
  color: var(--color-text-2);
}
.otc-select-identity-footer{
  display: flex;
  align-items: center;
  gap: 16px;
}


.otc-supplementary-modal-content{
  margin-bottom: 16px;
  color: var(--color-text-2);
}
.otc-supplementary-modal-content a {
  padding-left: 14px;
  position: relative;
  display: inline-block;
  color: var(--color-text-1);
  text-decoration: underline;
  font-weight: 500;
}

.otc-supplementary-modal-content a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-text-1);
}
.otc-supplementary-modal-footer-confirm{
  max-width: 350px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.otc-supplementary-modal-content a {
  margin-top: 8px;
}
.otc-supplementary-modal-footer{
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.gate-otc-uab-kyc-modal-content a{
  color: var(--color-brand-1);
}


.gate-otc-identity-modal-container{
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-weight: 400;
  font-size: var(--font-body);
  color: var(--color-text-1);
}
.otc-identity-radio-group-desc{
  color: var(--color-text-1);
  font-size: var(--font-body-m);
  line-height: 16px;
  font-weight: 400;
}

.otc-select-identity-radio-group{
  width: 100%;
  margin-top: 6px;
  display: flex;
  gap: 12px;

}
.otc-identity-select-radio{
  flex: 1;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--color-divider-2);
}

.otc-identity-select-radio-content{
  display: flex;
  align-items: center;
}

.otc-select-identity-footer{
  display: flex;
  align-items: center;
  gap: 16px;
}

.otc-identity-icon{
  margin:0 4px 0 8px;
}

/* otc uab企业认证、个人认证引导弹窗 */
.gate-otc-select-auth-type-item {
  background: var(--color-card-1);
  border: 1px solid var(--color-divider-2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 16px;
  width: 100%;
  cursor: pointer;
}

.gate-otc-select-auth-type-item.disabled {
  cursor: not-allowed;
}

.gate-otc-select-auth-type-item .disabled-icon {
  opacity: 0.3;
}

.gate-otc-select-auth-type-item-left {
  display: flex;
  flex: 1;
  align-items: center;
}

.gate-otc-select-auth-type-item-text {
  margin-left: 12px;
  margin-right: 16px;
}

.gate-otc-select-auth-type-item-title {
  color: var(--color-text-1);
  font-weight: 600;
  font-size: var(--font-body);
  line-height: 150%;
}

.gate-otc-select-auth-type-item-describe {
  color: var(--color-text-3);
  font-weight: 400;
  font-size: var(--font-body-m);
  line-height: 150%;
  margin-top: 8px;
}

.gate-otc-select-auth-type-item.disabled .gate-otc-select-auth-type-item-title {
  color: var(--color-text-4);
}

.gate-otc-select-auth-type-item.disabled .gate-otc-select-auth-type-item-describe {
  color: var(--color-text-4);
}

.error-info-text {
  color: var(--color-pd-5);
  word-break: break-all;
}

.otc-search-select {
  width: 100%;
}
.otc-search-select .flex {
  align-items: stretch;
}

/* 签名样式 */
.otc-sign-container {
  border-radius: 8px;
  border: 1px solid var(--color-divider-2);
  background: var(--color-card-3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gate-otc-apply-signature-view {
  width: 100%;
  text-align: center;
  max-width: 320px;
  height: 80px;
  background:  var(--color-cmpt-11);;
  border-radius: 6px;
  border: 1px solid var(--color-divider-5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-3);
  font-weight: 500;
  font-size: var(--font-body-m);
  cursor: pointer;
}

.gate-otc-signature-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gate-otc-signature-img {
  width: auto;
  height: 80px;
}

.gate-otc-confirm-signature {
  color: var(--color-text-3);
  font-size: 12px;
  line-height: 18px;
}

.signature-modal-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.modal-subtitle {
  color: var(--color-text-1);
  font-size: var(--font-body-m);
  font-weight: 400;
}

.signature-container {
  width: 100%;
  height: 127px;
  border: 1px solid var(--color-divider-5);
  border-radius: 6px;
  background: var(--color-cmpt-11)
}

.gate-otc-signature-box{
  margin-top: 32px;
  border: 1px solid var(--color-divider-2);
  padding: 24px;
  border-radius: 8px;
}

.global-otc-signature-wrapper{
  margin-top: 40px;
}


.gate-otc-signature-title{
  font-weight: 600;
  font-size: var(--font-subtitle);
  color: var(--color-text-1);
  margin-bottom: 24px;
}


.gate-otc-user-agreement {
  font-weight: 500;
  font-size: var(--font-body-m);
  line-height: 150%;
  color: var(--color-text-1);
}

.gate-otc-user-agreement a {
  color: var(--color-text-5);
}

@media screen and (max-width: 992px) {
  .gate-otc-signature-box{
    margin-top: 40px;
    border: none;
    padding: 0;
  }
  .gate-otc-signature-title{
    display: none;
  }
  .additional-info-tips{
    min-height: 80px;
  }
}


/* 补充信息 */
  /* .additional-information-modal .additional-info-content {
    padding: 24px;
  } */

  .additional-info-description {
    font-size: var(--font-body-m);
    line-height: 150%;
    color: var(--color-text-text-primary);
    margin-bottom: 24px;
    font-weight: 400;
  }

  .additional-info-tips {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    background: var(--color-cmpt-7);
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: var(--font-body-s);
    color: var(--color-text-1);
    height: 58px;
  }

  .additional-info-tip-icon {
    color: var(--color-brand-1);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .additional-info-tips-content {
    font-size: 12px;
    line-height: 16px;
    color: var(--color-text-2);
  }

  .additional-info-upload-section {
    margin-bottom: 24px;
  }

  .additional-info-upload-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-1);
    margin-bottom: 12px;
  }

  .additional-info-required {
    color: var(--color-funct-3);
  }

  .additional-info-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    border: 1px dashed var(--color-divider-3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--color-bg-1);
  }
  .additional-info-upload-area:hover {
    border-color: var(--color-brand-1);
    background: var(--color-bg-2);
  }

  .additional-info-upload-icon {
    color: var(--color-icon-3);
    margin-bottom: 8px;
  }

  .additional-info-upload-text {
    font-size: var(--font-body-s);
    color: var(--color-text-3);
  }

  .additional-info-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 104px);
    gap: 16px;
    align-items: start;
    justify-content: space-between;
  }

  .additional-info-bank-select{
    margin-bottom: 24px;
  }
  .additional-info-file-preview {
    position: relative;
    width: 104px;
    height: 104px;
    border-radius: 8px;
    overflow: hidden;
  }

  .additional-info-file-preview:hover .additional-info-file-actions {
    opacity: 1;
  }

  .additional-info-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .additional-info-pdf-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-2);
  }

  .additional-info-pdf-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--color-icon-2);
    
   
  }
  .additional-info-pdf-icon span {
    font-size: 12px;
    font-weight: 500;
  }

  .additional-info-file-actions {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .additional-info-delete-icon {
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }

  .additional-info-delete-icon:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  .additional-info-footer {
    display: flex;
    justify-content: flex-end;
    /* padding: 16px 24px; */
  }

  .otc-add-info-modal-footer {
    display: flex;
    justify-content: center;
  }
  .otc-global-result-modal{
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .otc-global-result-modal-title{
    color: var(--color-text-1);
    font-weight: 500;
  }
  .otc-trade-menu-con-badge{
    box-sizing: border-box;
    position: absolute;
    top: -2px;
    right: -8px;
    width: 8px;
    height: 8px;
    /* background: var(--color-function-hot); */
    background: #F7594B;
    border-radius: 50%;
  }

  .upload-documents-title{
   margin-right: 8px;
  }
/* 移动端适配 */
@media (max-width: 992px) {
  .additional-information-modal {
    .additional-info-files-grid {
      grid-template-columns: repeat(auto-fill, 104px);

    }


    .additional-info-footer button {
      width: 100%;
    }
  }
}

/* 上传文档图标颜色 */
.upload-documents-icon {
  cursor: pointer;
  color: var(--color-brand-1);
} 