/* index页面样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}
.weight-font {
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.input-label {
    padding: 0 16px 0 0;
}

#app {
    margin: 0;
    background-color: rgba(24, 144, 255, 0.03);
    height: 100vh;
}

.col-two {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
/* 表格 */

.clamp-text {
    max-height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.el-table thead {
    color: #909399;
    font-size: 17px;
    font-weight: 500;
}

/* 导航栏*/
.el-tabs__header {
    position: relative;
    height: 40px;
    margin: 0;
    padding-top: 20px;
    background-color: white;
    color: #5C6C8AFF;
}
.el-tabs__nav-wrap {
    height: 100%;
    overflow: hidden;
    position: relative;
}
.el-tabs__nav-scroll {
    height: 100%;
    padding-left: 280px;
}
.el-tabs__nav {
    transform: translateX(0px);
    height: 20px;
}
.el-tabs__active-bar.is-top {
    position: absolute;
    bottom: -20px;
    left: 14px;
    width: 28px !important;
    height: 3px;
    background-color: #409EFF;
    z-index: 1;
}
.el-tabs__item {
    font-size: 14px;
    height: 20px;
    line-height: 20px;
    color: #5C6C8AFF;
}
.el-tabs__item.is-active {
    color: #111111FF;
}


/*主内容*/
.el-tabs__content {
    overflow: hidden;
    position: relative;
    height: calc(100vh - 60px);
}
.el-tab-pane {
    height: 100%;
}
.content-box {
    display: flex;
    height: 100%;
}
.el-tabs__item.is-active {
    font-family: PingFangSC, PingFang SC;
    font-weight: 800;
    color: #111111;
    font-style: normal;
}
/* 菜单 */
/* 修改标题样式 */
.menu-box {
    height: calc(100% - 116px);
    overflow: auto;
}
.el-submenu__title {
    height: 36px;
    margin-top: 8px;
    font-size: 13px;
    color: #303133;
    padding: 0 24px;
    cursor: pointer;
    -webkit-transition: border-color .3s, background-color .3s, color .3s;
    transition: border-color .3s, background-color .3s, color .3s;
    box-sizing: border-box;
}
.sub-menu-title-span {
    font-size: 13px;
    height: 18px;
    position: absolute;
    top: -9px;
}
.sub-menu-title-span.active {
    color: #1261FFFF;
}
.el-menu-item {
    padding-left: 56px;
    font-size: 13px;
    height: 40px;
    line-height: 40px;
    color: #5C6C8AFF;
}

.el-menu-item.is-active {
    color: #1261FFFF;
    font-weight: 800;
    background-color: #F7F9FC;;
}
.el-submenu .el-menu-item {
    height: 40px;
    line-height: 40px;
}
.hide-arrow  .el-submenu__icon-arrow {
  display: none;
}

/* 修改接口 URL 样式 */
.text-url {
    color: #333;
    cursor: pointer;
    padding-left: 30px;
}

.text-url:hover {
    padding-left: 30px;
    background-color: #c2e6f6;
}

/* 修改提示框样式 */
.el-tooltip__popper {
    background-color: #333;
    color: #fff;
    padding: 5px;
}


/* 侧边 */
.aside {
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    background-color: white;
    width: 280px;
    height: 100%;
}
.search-box {
    padding: 0 24px;
    margin-top: 20px;
    height: 40px;
    text-align: center;
    width: 232px;
}
.search-box .el-input__inner {
    background-color: #F7F9FC;
    border-radius: 30px;
    border: none;
}
.aside-title {
    width: 232px;
    font-size: 14px;
    font-weight: bold;
    padding-top: 16px;
    margin-left: 24px;
    border-bottom: 1px solid #F0F2F8FF;
    height: 39px;
}
/* 主体 */
.content-main {
    width: calc(100% - 300px);
    height: 100%;
    margin: 0 24px
}
.api-tabs .el-tabs__nav-scroll {
    padding-left: 20px;
}
.integration-main {
    width: calc(100% - 300px);
    height: calc(100% - 52px);
    margin: 0 20px;
}

/* 模拟调用 */
.invoke-params {
    display: block;
    height: 416px;
    border-radius: 8px;
    margin-top: 10px;
    background: #FFFFFF;
}

.invoke-params-head {
    padding: 12px 24px;
    display: flex;
    justify-content: space-around;
}
.el-input.el-input-group.el-input-group--prepend {
    width: 100%;
    height: 36px;
    font-size: 13px;
    margin-right: 16px;
    border: 1px solid #D5DAE3;
    border-radius: 4px;
}

.req-btn {
    width: 120px;
    height: 36px;
    background-color: #1261FFFF;
    margin: 0 15px;
    color: white;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}
.req-btn-text :hover {
    background-color: #66b1ff;
}
.el-input-group__append {
    border-left: 0;
    background-color: white;
    color: white;
}
.query-params-head {
    display: flex;
    padding: 0 24px 0 24px;
    justify-content: flex-start;
}
.query-params-head-title {
    font-size: 14px;
    font-weight: 600;
}
.query-params-head-desc {
    font-family: PingFangSC, PingFang SC;
    margin-left: 18px;
    padding: 1px 6px 2px 6px;
    font-size: 12px;
    background-color: #e4ebf9;
    color: #5C6C8A;
    border-radius: 8px;
}
.params-table {
    width: calc(100% - 48px);
    height: 239px;
    margin: 12px 24px 0 24px;
    overflow-y: auto;
}
.result-box {
    margin-top: 20px;
    background-color: #FFFFFF;
    height: calc(100% - 446px);
}
.invoke-result-title {
    padding-left: 24px;
    padding-top: 24px;
    height: 20px;

    font-size: 14px;
    color: #111111;
    font-weight: bold;
    background-color: white;
}
.invoke-result {
    font-family: Consolas, monospace;
    font-size: 16px;
    line-height: 1.5;
    white-space: nowrap; /* 禁止换行 */
    overflow: auto; /* 添加滚动条 */

    height: 84%;
    border: 1px solid rgb(153, 153, 153);
    border-radius: 7px;
    background-color: white;
}
.el-textarea__inner {
    height: 100%;
    padding: 0 15px;
    border: 0 solid #dcdfe6;
}
/* 模拟集成 */
.iframe-box {
    height: calc(100% - 40px);
    margin: 20px 0;
}
.it-container {
    background-color: #ffffff;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 14px;
    color: #666666FF;
    line-height: 20px;
    padding: 36px 40px;
    height: 100%;
    overflow: auto;
}

.it-title {
    color: #111111;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    margin-top: 20px;
}

.it-paragraph {
    margin-bottom: 8px;
}
.it-params {
    color: #B267FFFF;
}
.it-image-container {
    text-align: left;
    margin: 0 0 10px 25px;
}

.it-image-container img {
    width: 800px;
}

.it-checkbox-container {
  padding-left: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
}

.it-checkbox-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左对齐内容 */
  max-width: 800px; /* 可以根据需要调整 */
  width: 100%;
}

.it-checkbox-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左对齐 */
  width: 100%;
}

.it-checkbox-all {
  margin-bottom: 15px;
  transform: scale(1.2);
}

.it-checkbox-group-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start; /* 左对齐 */
  width: 100%;
}

.it-checkbox {
  transform: scale(1.2);
  margin: 5px 10px 5px 0; /* 移除右边距，保持左对齐 */
}

.it-checkbox-description {
  width: 100%;
  max-width: 384px;
  margin-top: 15px;
  color: #909399;
  text-align: left; /* 左对齐文本 */
}
// radio对话框适应不同选项数量
.it-radio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.it-radio-group-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}
.it-radio-group {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}
.it-radio-item {
  margin: 0 10px;
  transform: scale(1.2);
}
.it-radio-description {
  text-align: center;
  max-width: 384px;
  color: #909399;
}

@media (max-width: 768px) {
  .radio-container {
    flex-direction: column;
  }

  .description {
    margin-left: 0;
    margin-top: 20px;
  }
}
/* 模拟回调 */
.callback-menu .el-submenu__title {
    height: 60px;
}
.callback-menu-title {
     position: absolute;
     line-height: 18px;
     font-weight: 600;
     font-size: 13px;
     top: 9px;
 }
.callback-submenu .el-menu-item{
    height: 60px;
}
.callback-api {
    position: absolute;
    top: 31px;
    line-height: 18px;
    font-size: 13px;
    width: 80%;
    text-overflow: ellipsis;
    overflow: hidden;
}
.callback-input {
    position: relative;
    top: -2px;
}
.callback-desc-param {
    width: 95%;
    height: 223px;
}
.callback-desc-value {
    width: 95%;
    height: 75px;
}
.el-dialog {
    border-radius: 15px;
    background-color: #f4f5fd;
    width: 1000px;
}
.integrations-dialog .el-dialog {
    width: 600px;
}
.localTest-dialog .el-dialog {
    width: 550px;
}
.el-table td, .el-table th {
    padding: 10px 0;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.callback-form {
    margin: 20px 0 0 20px;
    height: 60px;
}
.desc-row {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
}

.desc-label {
    font-weight: bold;
}

.desc-value {
    margin-left: 10px;
    border-left: 1px solid #ccc;
    padding-left: 10px;
}
/* 模拟企业 */

.corp-form {
    display: flex;
    margin: 20px;
    height: calc(100% - 60px);
    overflow: auto;
    border-radius: 6px;
    background-color: white;
}
.corp-setting-form {
    width: 750px;
    margin: 36px 0;
}

.corp-input .el-input__inner {
    height: 36px;
}
.corp-code {
    display: flex
}
.corp-container {
    flex-direction: column;
    height: 450px;
    width: 492px;
    font-size: 14px;
    padding: 36px;
    margin-left: 28px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    line-height: 1.2;
}
.corp-top {
    border-radius: 10px;
    padding: 10px 0;
}
.corp-bottom {
    border-radius: 10px;
    padding: 10px 0;
}

.corp-title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
}

.corp-list {
    margin-bottom: 10px;
}
.dialog-footer {
    display: flex;
    justify-content: space-evenly;
}


/* 格式化JSON数据 */
.myPre {
    font-family: Consolas, monospace;
    height: calc(100% - 60px);
    font-size: 16px;
    line-height: 1.5;
    white-space: nowrap; /* 禁止换行 */
    overflow: auto; /* 添加滚动条 */
    margin: 5px 20px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: white;
    color: #333;
}
  .lineNumber {
    background-color: #f0f0f0;
    border-right: 1px solid #ccc;
    width: 30px;
    display: inline-block; /* 设置行号为行内块元素 */
    color: gray;
    user-select: none;
  }

  .jsonKey {
    color: orange;
  }
  .jsonValue-string {
    color: blue;
  }
.jsonValue-number {
    color: red;
}
.jsonValue-boolean {
    color: green;
}


.corp-logo {
    position: absolute;
    z-index: 1;
    top: 16px;
    left: 24px;
}


