@use "./transition.scss";
@use "@/theme/index.scss";
.layout-container {
  background-color: var(--system-container-main-background);
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  padding: 15px;
  margin: 15px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  // overflow: hidden;
  &-form {
    display: flex;
    flex-wrap: wrap;
    padding: 0 15px 0 15px;
    .el-date-editor.el-input {
      width: 100%;
    }

    &-handle {
      display: flex;
      justify-content: flex-start;
      flex: 1 1 100%;

      .export-excel-btn {
        margin-left: 15px;
      }
    }

    &-search {
      display: flex;
      justify-content: flex-end;
      flex: 1 1 100%;

      .search-btn {
        margin-left: 15px;
      }
    }

    .el-form-item {
      margin-bottom: 0;
      margin-top: 15px;
      flex: 0 0 calc(25% - 100px); /* 修改 */

      &:nth-child(4n) {
        margin-right: 0; /* 新增 */
        flex: 0 0 calc(25% - 100px); /* 修改 */
      }

      &:not(:nth-child(4n)) {
        margin-right: 133px; /* 新增 */
      }
    }
    .is_button {
      .el-form-item__content {
        margin-left: 0 !important;
      }
    }
  }
  &-tabs {
    margin: 20px 15px 0 15px;
    .el-tabs__header {
      margin: 0;
    }
  }
  &-table {
    flex: 1;
    height: 100%;
    padding: 15px;
    overflow: auto;
  }
}
.flex-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
}
.flex {
  display: flex;
  align-items: center;
}
.flex1 {
  display: flex;
  justify-content: space-between; /* 让子元素平均分布 */
}
.flexItem1 {
  flex: 1;
}
.flexEnd {
  display: flex;
  justify-content: flex-end;
}
.center {
  justify-content: center;
  align-items: center;
  text-align: center;
}
a {
  text-decoration: none;
}

/** element-plus **/
.el-icon {
  text-align: center;
}

/** 用于提示信息 **/
.my-tip {
  background-color: #f1f1f1;
  padding: 5px 10px;
  text-align: left;
  border-radius: 4px;
}
.system-scrollbar {
  &::-webkit-scrollbar {
    display: none;
    width: 6px;
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(144, 147, 153, 0.3);
  }
  &:hover {
    &::-webkit-scrollbar {
      display: block;
    }
    &::-webkit-scrollbar-thumb {
      border-radius: 10px;
      background: rgba(144, 147, 153, 0.3);
      &:hover {
        background: rgba(144, 147, 153, 0.5);
      }
    }
  }
}

.form-container {
  background-color: var(--system-container-main-background);
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  margin: 15px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  &-form {
    display: flex;
    flex-wrap: wrap;
    padding: 0 15px 0 15px;
    .el-date-editor.el-input {
      width: 100%;
    }

    &-handle {
      display: flex;
      justify-content: flex-start;
      flex: 1 1 100%;

      .export-excel-btn {
        margin-left: 15px;
      }
    }

    &-search {
      display: flex;
      justify-content: flex-end;
      flex: 1 1 100%;

      .search-btn {
        margin-left: 15px;
      }
    }

    .el-form-item {
      margin-bottom: 0;
      margin-top: 15px;
      flex: 0 0 calc(25% - 15px); /* 修改 */

      &:nth-child(4n) {
        margin-right: 0; /* 新增 */
        flex: 0 0 calc(25%); /* 修改 */
      }

      &:not(:nth-child(4n)) {
        margin-right: 15px; /* 新增 */
      }
    }
  }
  &-tabs {
    margin: 20px 15px 0 15px;
    .el-tabs__header {
      margin: 0;
    }
  }
  &-table {
    flex: 1;
    height: 100%;
    padding: 15px;
    overflow: auto;
  }
}
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.ml-0 {
  margin-left: 0 !important;
}
.ml-1 {
  margin-left: 10px !important;
}
.ml-2 {
  margin-left: 20px !important;
}
.mr-0 {
  margin-right: 0 !important;
}
.mr-1 {
  margin-right: 10px !important;
}
.mr-2 {
  margin-right: 20px !important;
}

.columnContainer {
  display: flex;
  align-items: start;
  .title {
    text-align: left;
  }
}

.p-abs{
	position: absolute;
}
.p-rel{
	position: relative;
}

.abs_x {
	position: absolute; left: 50%; transform: translateX(-50%);
}

.text-32 {
	font-size:32px;
}
.text-333{
	color: #333333;
}
.bottom-180px{
	bottom:180px;
}
.bottom-260px{
	bottom:260px;
}

.oprate-btns{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	.el-button{
		margin-bottom: 10px;
	}
	.el-button+.el-button{
		margin-left: 0px;
	}
}