@import '~@/utils/utils.less';

.frameContent {
  width: 100%;
  height: 100vh;
  border: none;
  display: block;
  background-color: #f5f6fa !important;
  margin: 0;
  padding: 0;
  overflow-y: auto;

  .top {
    display: flex;
    width: 100%;
    height: 25vh;

    .staff {
      display: flex;
      flex-direction: column;
      width: 20%;
      height: 17vh;
      background-color: #ffffff;
      margin-left: 7%;
      margin-top: 6vh;
      border-radius: 6px;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.06);

      // 右侧图标图片
      &::after {
        content: '';
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
        background: url('@/assets/multiDStaistics/staff_total.png') no-repeat center center;
        background-size: contain;
      }

      .staff_1 {
        width: 100%;
        font-size: 16px;
        color: #777;
        margin-left: 15px;
        margin-top: 18px;
      }

      .staff_2 {
        width: 100%;
        margin: 10px 0 0 15px;

        .staff_21 {
          font-size: 28px;
          color: #1975d0;
          font-family: 'Microsoft YaHei';
        }

        .staff_22 {
          width: 26px;
          height: 26px;
          margin-top: -10px;
        }

        .staff_23 {
          color: #38d57a;
          font-size: 16px;
          font-weight: bold;
          margin-left: -5px;
        }
      }

      .staff_3 {
        font-size: 14px;
        color: #999;
        margin: 10px 0 0 15px;
      }
    }

    .entry {
      display: flex;
      flex-direction: column;
      width: 20%;
      height: 17vh;
      background-color: #ffffff;
      margin-left: 2%;
      margin-top: 6vh;
      border-radius: 6px;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.06);

      // 右侧图标图片
      &::after {
        content: '';
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 55px;
        height: 55px;
        background: url('@/assets/multiDStaistics/entry.png') no-repeat center center;
        background-size: contain;
      }

      .entry_1 {
        width: 100%;
        font-size: 16px;
        color: #777;
        margin-left: 15px;
        margin-top: 18px;
      }

      .entry_2 {
        width: 100%;
        margin: 10px 0 0 15px;

        .entry_21 {
          font-size: 28px;
          color: #1975d0;
          font-family: 'Microsoft YaHei';
        }

        .entry_22 {
          width: 20px;
          height: 16px;
          margin-top: -7px;
        }

        .entry_23 {
          color: #ff3333;
          font-size: 16px;
          font-weight: bold;
          // margin-left: -5px;
        }
      }

      .entry_3 {
        font-size: 14px;
        color: #999;
        margin: 10px 0 0 15px;
      }
    }

    .dimission {
      display: flex;
      flex-direction: column;
      width: 20%;
      height: 17vh;
      background-color: #ffffff;
      margin-left: 2%;
      margin-top: 6vh;
      border-radius: 6px;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.06);

      // 右侧图标图片
      &::after {
        content: '';
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 55px;
        height: 55px;
        background: url('@/assets/multiDStaistics/dimission.png') no-repeat center center;
        background-size: contain;
      }

      .dimission_1 {
        width: 100%;
        font-size: 16px;
        color: #777;
        margin-left: 15px;
        margin-top: 18px;
      }

      .dimission_2 {
        width: 100%;
        margin: 10px 0 0 15px;

        .dimission_21 {
          font-size: 28px;
          color: #1975d0;
          font-family: 'Microsoft YaHei';
        }

        .dimission_22 {
          width: 20px;
          height: 16px;
          margin-top: -7px;
        }

        .dimission_23 {
          color: #ff3333;
          font-size: 16px;
          font-weight: bold;
          // margin-left: -5px;
        }
      }

      .dimission_3 {
        font-size: 14px;
        color: #999;
        margin: 10px 0 0 15px;
      }
    }

    .workingYears {
      display: flex;
      flex-direction: column;
      width: 20%;
      height: 17vh;
      background-color: #ffffff;
      margin-left: 2%;
      margin-top: 6vh;
      border-radius: 6px;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.06);

      // 右侧图标图片
      &::after {
        content: '';
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 55px;
        height: 55px;
        background: url('@/assets/multiDStaistics/workingYears.png') no-repeat center center;
        background-size: contain;
      }

      .workingYears_1 {
        width: 100%;
        font-size: 16px;
        color: #777;
        margin-left: 15px;
        margin-top: 18px;
      }

      .workingYears_2 {
        width: 100%;
        margin: 10px 0 0 15px;

        .workingYears_21 {
          font-size: 28px;
          color: #1975d0;
          font-family: 'Microsoft YaHei';
        }

        .workingYears_22 {
          width: 20px;
          height: 16px;
          margin-top: -7px;
        }

        .workingYears_23 {
          color: #ff3333;
          font-size: 16px;
          font-weight: bold;
        }
      }

      .workingYears_3 {
        font-size: 14px;
        color: #999;
        margin: 10px 0 0 15px;
      }
    }
  }


  .pieChart1 {
    display: flex;
    width: 100%;
    height: 45vh; // 增加高度以容纳 40vh 的子元素

    .department {
      display: flex;
      flex-direction: column;
      width: 42%;
      height: 40vh;
      background-color: #ffffff;
      margin-left: 7%;
      margin-top: 3vh;
      border-radius: 6px;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.06);

      .department_1 {
        margin-top: 2%;
        margin-left: 2%;
        color: #333;
        font-size: 20px;
        font-weight: bold;
      }
    }

    .position {
      display: flex;
      flex-direction: column;
      width: 42%;
      height: 40vh;
      background-color: #ffffff;
      margin-left: 2%;
      margin-top: 3vh;
      border-radius: 6px;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.06);

      .position_1 {
        margin-top: 2%;
        margin-left: 2%;
        color: #333;
        font-size: 20px;
        font-weight: bold;
      }
    }
  }

  .pieChart2 {
    display: flex;
    width: 100%;
    height: 40vh;

    .age {
      display: flex;
      flex-direction: column;
      width: 42%;
      height: 40vh;

      background-color: #ffffff;
      margin-left: 7%;
      margin-top: 3vh;
      border-radius: 6px;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.06);

      .age_1 {
        margin-top: 2%;
        margin-left: 2%;
        color: #333;
        font-size: 20px;
        font-weight: bold;
      }
    }

    .workingYears {
      display: flex;
      flex-direction: column;
      width: 42%;
      height: 40vh;
      background-color: #ffffff;
      margin-left: 2%;
      margin-top: 3vh;
      border-radius: 6px;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.06);

      .workingYears_1 {
        margin-top: 2%;
        margin-left: 2%;
        color: #333;
        font-size: 20px;
        font-weight: bold;
      }
    }
  }

  .pieChart3 {
    display: flex;
    width: 100%;
    height: 45vh;

    .performance {
      display: flex;
      flex-direction: column;
      width: 42%;
      height: 40vh;
      background-color: #ffffff;
      margin-left: 7%;
      margin-top: 8vh;
      margin-bottom: 25vh;
      border-radius: 6px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.06);

      .performance_1 {
        margin-top: 2%;
        margin-left: 2%;
        color: #333;
        font-size: 20px;
        font-weight: bold;
      }
    }

    .department {
      display: flex;
      flex-direction: column;
      width: 42%;
      height: 40vh;
      background-color: #ffffff;
      margin-left: 2%;
      margin-top: 8vh;
      margin-bottom: 25vh;
      border-radius: 6px;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.06);

      .department_1 {
        margin-top: 2%;
        margin-left: 2%;
        color: #333;
        font-size: 20px;
        font-weight: bold;
      }
    }
  }
  .kong{
height: 20vh; 
  }
}