.containerDrill {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 5px;
  box-sizing: border-box;

  .block1 {
    width: 100%;
    height: 32%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 15px;

    .block1_item1 {
      background-color: #fff;
      width: 20%;
      height: 100%;
      display: flex;
      flex-direction: column;
      gap: 8px;
      overflow: hidden;

      .item1_row1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 10px 0 10px;

        .row1_left {
          display: flex;
          align-items: center;
          gap: 8px;

          .colorBlock {
            width: 2px;
            height: 16px;
            background-color: #2E4CD4;
            opacity: 1;
          }

          .title {
            font-size: 14px;
            font-weight: 500;
            color: #333333;
          }
        }

        .startBtn {
          display: flex;
          align-items: center;
          height: 28px;
          gap: 6px;
          padding: 5px 10px;
          background: linear-gradient(180deg, #556FEB 0%, #8DAAF7 100%);
          color: #fff;
          font-size: 12px;
          font-weight: 400;
          border: none;
          border-radius: 4px;
          cursor: pointer;

          .btnIcon {
            font-size: 12px;
          }
        }
      }

      .item1_row2 {
        flex: 1;
        background-color: #F6F7FF;
        margin: 0 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;

        .row2_left {
          display: flex;
          flex-direction: column;
          gap: 8px;

          .row2_title {
            font-size: 14px;
            color: #333333;
          }

          .row2_version {
            font-size: 12px;
            color: #666666;
          }
        }

        .row2_right {
          display: flex;
          align-items: center;

          .drillIcon {
            width: auto;
            height: 30px;
          }
        }
      }

      .item1_row3 {
        flex: 1;
        background-color: #F6F7FF;
        margin: 0 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;

        .row3_left {
          display: flex;
          flex-direction: column;
          gap: 8px;

          .row3_title {
            font-size: 14px;
            color: #333333;
          }

          .row3_version {
            font-size: 12px;
            color: #666666;
          }
        }

        .row3_right {
          display: flex;
          align-items: center;

          .drillIcon {
            width: auto;
            height: 30px;
          }
        }
      }

      .item1_row4 {
        flex: 1;
        background-color: #F6F7FF;
        margin: 0 10px 8px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;

        .row4_left {
          display: flex;
          flex-direction: column;
          gap: 8px;

          .row4_title {
            font-size: 14px;
            color: #333333;
          }

          .row4_version {
            font-size: 12px;
            color: #666666;
          }
        }

        .row4_right {
          display: flex;
          align-items: center;

          .drillIcon {
            width: auto;
            height: 30px;
          }
        }
      }
    }

    .block1_item2 {
      width: 40%;
      height: 100%;
      background-color: #fff;
      display: flex;
      flex-direction: column;
      padding: 5px 10px 0 10px;

      .item2_row1 {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .row1_left {
          display: flex;
          align-items: center;
          gap: 8px;

          .colorBlock {
            width: 3px;
            height: 16px;
            background-color: #2E4CD4;
            opacity: 1;
          }

          .title {
            font-size: 14px;
            font-weight: 500;
            color: #333333;
          }
        }

        .timeBtnGroup {
          display: flex;
          gap: 0;

          :global {
            .ant-btn {
              padding: 4px 10px;
              font-size: 12px;
              color: #333333;
              border: 1px solid #E3E3E3;
              height: 28px;
              border-radius: 0;
              margin-left: -1px;

              &:first-child {
                margin-left: 0;
                border-radius: 4px 0 0 4px;
              }

              &:last-child {
                border-radius: 0 4px 4px 0;
              }

              &:hover {
                opacity: 0.8;
                z-index: 1;
              }
            }

            .ant-btn.active {
              background: linear-gradient(180deg, #556FEB 0%, #8DAAF7 100%);
              color: #fff;
              border-color: #556FEB;
              z-index: 2;
            }
          }
        }
      }

      .chartContainer {
        flex: 1;
        width: 100%;
      }
    }

    .block1_item3 {
      flex: 1;
      height: 100%;
      background: #FFFFFF;
      border-radius: 4px;
      padding: 5px 10px 0 10px;
      display: flex;
      flex-direction: column;

      .item3_header {
        display: flex;
        align-items: center;
        margin-top: 5px;


        .colorBlock {
          width: 3px;
          height: 16px;
          background-color: #2E4CD4;
          margin-right: 8px;
        }

        .title {
          font-size: 14px;
          font-weight: 500;
          color: #333333;
        }
      }

      .chartContainer {
        flex: 1;
        width: 100%;
      }
    }
  }

  .block2 {
    width: 100%;
    height: 27%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 15px;

    .block2_item1 {
      width: 70%;
      height: 100%;
      background-color: #fff;
      display: flex;
      flex-direction: column;
      padding: 10px 10px 10px 10px;

      .block2_item1_header {
        display: flex;
        align-items: center;
        margin-bottom: 10px;

        .colorBlock {
          width: 3px;
          height: 16px;
          background-color: #2E4CD4;
          margin-right: 8px;
        }

        .title {
          font-size: 14px;
          font-weight: 500;
          color: #333333;
        }
      }

      .block2_item1_content {
        width: 100%;
        min-width: 0;
        flex: 1;
        display: flex;
        gap: 5px;
        overflow: hidden;

        .drillCard1 {
          width: 240px;
          flex-shrink: 0;
          background-color: #F1F7FF;
          padding: 8px 5px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          .cardHeader {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;

            .cardTitle {
              font-size: 13px;
              font-weight: 500;
              color: #333333;
              line-height: 24px;
              flex: 1;
            }

            .statusTag {
              background-color: #D6E4FF;
              color: #2E4CD4;
              padding: 2px 6px;
              font-size: 13px;
              white-space: nowrap;
            }
          }

          .cardInfo {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 8px;

            .infoItem {
              display: flex;
              align-items: center;
              font-size: 12px;
              color: #666666;

              .infoIcon {
                font-size: 12px;
                color: #999999;
                margin-right: 8px;
              }
            }
          }

          .cardButtons {
            display: flex;
            gap: 12px;

            .joinBtn {
              flex: 1;
              background-color: #2E4CD4;
              border-color: #2E4CD4;
              border-radius: 4px;
              height: 28px;
              font-size: 14px;
              display: flex;
              align-items: center;
              justify-content: center;

              &:hover {
                background-color: #4D64E0;
                border-color: #4D64E0;
              }
            }

            .detailBtn {
              flex: 1;
              background-color: #FFFFFF;
              border: 1px solid #D9D9D9;
              color: #666666;
              border-radius: 4px;
              height: 28px;
              font-size: 13px;
              display: flex;
              align-items: center;
              justify-content: center;

              &:hover {
                color: #2E4CD4;
                border-color: #2E4CD4;
              }
            }
          }
        }

        .drillCard2 {
          min-width: 220px;
          flex-shrink: 0;
          background-color: #FFFBF7;
          padding: 8px 5px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          .cardHeader {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;

            .cardTitle {
              font-size: 13px;
              font-weight: 500;
              color: #333333;
              line-height: 24px;
              flex: 1;
            }

            .statusTag {
              background-color: #FFE8D1;
              color: #FF8C00;
              padding: 2px 2px;
              font-size: 13px;
              white-space: nowrap;
            }
          }

          .cardInfo {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 8px;

            .infoItem {
              display: flex;
              align-items: center;
              font-size: 12px;
              color: #666666;

              .infoIcon {
                font-size: 12px;
                color: #999999;
                margin-right: 8px;
              }
            }
          }

          .cardButtons {
            display: flex;
            gap: 12px;

            .reminderBtn {
              flex: 1;
              background-color: #FF8C00;
              border-color: #FF8C00;
              color: #FFFFFF;
              border-radius: 4px;
              height: 28px;
              font-size: 14px;
              display: flex;
              align-items: center;
              justify-content: center;

              &:hover {
                background-color: #FFA833;
                border-color: #FFA833;
                color: #FFFFFF;
              }
            }

            .detailBtn {
              flex: 1;
              background-color: #FFFFFF;
              border: 1px solid #D9D9D9;
              color: #666666;
              border-radius: 4px;
              height: 28px;
              font-size: 13px;
              display: flex;
              align-items: center;
              justify-content: center;

              &:hover {
                color: #FF8C00;
                border-color: #FF8C00;
              }
            }
          }
        }

        .drillCard3 {
          width: 220px;
          flex-shrink: 0;
          background-color: #F3FFF5;
          padding: 8px 5px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          .cardHeader {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;

            .cardTitle {
              font-size: 13px;
              font-weight: 500;
              color: #333333;
              line-height: 24px;
              flex: 1;
            }

            .statusTag {
              background-color: #D4F4DD;
              color: #52C41A;
              padding: 2px 6px;
              font-size: 13px;
              white-space: nowrap;
            }
          }

          .cardInfo {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 8px;

            .infoItem {
              display: flex;
              align-items: center;
              font-size: 12px;
              color: #666666;

              .infoIcon {
                font-size: 12px;
                color: #999999;
                margin-right: 8px;
              }
            }
          }

          .cardButtons {
            display: flex;
            gap: 12px;

            .reportBtn {
              flex: 1;
              background-color: #52C41A;
              border-color: #52C41A;
              color: #FFFFFF;
              border-radius: 4px;
              height: 28px;
              font-size: 14px;
              display: flex;
              align-items: center;
              justify-content: center;

              &:hover {
                background-color: #73D13D;
                border-color: #73D13D;
                color: #FFFFFF;
              }
            }

            .detailBtn {
              flex: 1;
              background-color: #FFFFFF;
              border: 1px solid #D9D9D9;
              color: #666666;
              border-radius: 4px;
              height: 28px;
              font-size: 13px;
              display: flex;
              align-items: center;
              justify-content: center;

              &:hover {
                color: #52C41A;
                border-color: #52C41A;
              }
            }
          }
        }

        .drillCard4 {
          width: 220px;
          flex-shrink: 0;
          background-color: #F3FFF5;
          padding: 8px 5px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          .cardHeader {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;

            .cardTitle {
              font-size: 13px;
              font-weight: 500;
              color: #333333;
              line-height: 24px;
              flex: 1;
            }

            .statusTag {
              background-color: #D4F4DD;
              color: #52C41A;
              padding: 2px 6px;
              font-size: 13px;
              white-space: nowrap;
            }
          }

          .cardInfo {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 8px;

            .infoItem {
              display: flex;
              align-items: center;
              font-size: 12px;
              color: #666666;

              .infoIcon {
                font-size: 12px;
                color: #999999;
                margin-right: 8px;
              }
            }
          }

          .cardButtons {
            display: flex;
            gap: 12px;

            .reportBtn {
              flex: 1;
              background-color: #52C41A;
              border-color: #52C41A;
              color: #FFFFFF;
              border-radius: 4px;
              height: 28px;
              font-size: 14px;
              display: flex;
              align-items: center;
              justify-content: center;

              &:hover {
                background-color: #73D13D;
                border-color: #73D13D;
                color: #FFFFFF;
              }
            }

            .detailBtn {
              flex: 1;
              background-color: #FFFFFF;
              border: 1px solid #D9D9D9;
              color: #666666;
              border-radius: 4px;
              height: 28px;
              font-size: 13px;
              display: flex;
              align-items: center;
              justify-content: center;

              &:hover {
                color: #52C41A;
                border-color: #52C41A;
              }
            }
          }
        }
      }
    }

    .block2_item2 {
      flex: 1;
      height: 100%;
      background-color: #fff;
      display: flex;
      flex-direction: column;
      padding: 12px;

      .sectionHeader {
        display: flex;
        align-items: center;
        margin-bottom: 12px;

        .headerLine {
          width: 3px;
          height: 16px;
          background-color: #2E4CD4;
          margin-right: 8px;
        }

        .headerTitle {
          font-size: 14px;
          font-weight: 500;
          color: #333333;
        }
      }

      .videoContainer {
        flex: 1;
        display: flex;
        gap: 12px;
        overflow-x: hidden;

        .videoCard {
          flex-shrink: 0;
          width: 200px;
          height: 150px;
          // background-color: pink;
          overflow: hidden;
          cursor: pointer;
          transition: transform 0.2s;

          .videoThumbnail {
            position: relative;
            width: 100%;
            // height: 100%;
            overflow: hidden;

            img {
              width: 100%;
              height: 92px;
              object-fit: cover;
            }

            .videoDuration {
              position: absolute;
              top: 8px;
              right: 8px;
              background-color: rgba(0, 0, 0, 0.7);
              color: #FFFFFF;
              padding: 4px 8px;
              border-radius: 4px;
              font-size: 12px;
              font-weight: 500;
            }
          }

          .videoInfo {
            padding: 6px 12px;
            background-color: #EEF4FF;

            .videoTitle {
              font-size: 14px;
              font-weight: 500;
              color: #333333;
              margin-bottom: 5px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }

            .videoMeta {
              display: flex;
              justify-content: space-between;
              align-items: center;

              .videoDate {
                font-size: 12px;
                color: #666666;
              }

              .videoActions {
                display: flex;
                gap: 12px;
                align-items: center;

                .actionIcon {
                  width: 14px;
                  height: 14px;
                  // cursor: pointer;
                  // transition: opacity 0.2s;

                  // &:hover {
                  //   opacity: 0.7;
                  // }
                }
              }
            }
          }
        }
      }
    }
  }

  .block3 {
    width: 100%;
    flex: 1;
    background-color: #FFFFFF;
    padding: 10px 10px 0 10px;

    .block3Header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;

      .headerLine {
        width: 3px;
        height: 16px;
        background-color: #2E4CD4;
      }

      .headerTitle {
        font-size: 14px;
        font-weight: 500;
        color: #333333;
      }
    }

    .searchBar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      gap: 12px;

      .searchLeft {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        flex: 1;

        .searchItem {
          display: flex;
          align-items: center;
          gap: 8px;

          .searchLabel {
            font-size: 13px;
            color: #333333;
            white-space: nowrap;
          }

          .datePickerWithIcon {
            display: inline-flex;
            align-items: center;
            height: 30px;
            border: none;

            .dateIcon {
              display: flex;
              align-items: center;
              padding: 0 0px 0 14px;
              border: none;
            }

            .datePickerFirst {
              height: 28px;
              width: 125px;
              border: none;

              :global {
                .ant-picker-input>input::placeholder {
                  color: #666 !important;
                  font-size: 13px;
                }
              }
            }

            :global {
              .ant-picker-focused {
                box-shadow: none;
              }
            }

            .datePicker {
              flex: 1;
              border: none;
              background: transparent;
            }
          }


          .dateSeparator {
            width: 12px;
            height: 1px;
            background-color: #999;
            flex-shrink: 0;
          }


          .dateInput {
            width: 150px;
            height: 32px;
            padding: 0 12px;
            border: none;
            font-size: 13px;
            outline: none;
            transition: all 0.3s;

            &:focus {
              border-color: #2E4CD4;
            }

            &::placeholder {
              color: #666;
            }
          }

          .companyInput {
            width: 150px;
            height: 31px;
            padding: 0 8px;
            border: 1px solid #D9D9D9;
            border-radius: 2px;
            font-size: 13px;
            outline: none;
            transition: all 0.3s;

            &:focus {
              border-color: #2E4CD4;
            }

            &::placeholder {
              color: #666;
            }
          }

          .unitSelect {
            color: #666;
            width: 150px;
            height: 31px;
            padding: 0 6px;
            border: 1px solid #D9D9D9;
            border-radius: 2px;
            font-size: 13px;
            outline: none;
            background-color: #FFFFFF;
            cursor: pointer;
            transition: all 0.3s;

            &:focus {
              border-color: #2E4CD4;
            }

            option {
              padding: 8px;
            }
          }
        }
      }

      .searchButton {
        height: 31px;
        padding: 0 10px;
        border-radius: 2px;
        font-size: 13px;
        background-color: #2E4CD4;
        border-color: #2E4CD4;
        display: flex;
        align-items: center;

        &:hover {
          background-color: #4A63E6;
          border-color: #4A63E6;
        }
      }

      .uploadButton {
        height: 31px;
        padding: 0 10px;
        border-radius: 2px;
        font-size: 13px;
        background-color: #2E4CD4;
        border-color: #2E4CD4;
        display: flex;
        align-items: center;

        &:hover {
          background-color: #4A63E6;
          border-color: #4A63E6;
        }
      }
    }

    .tableContainer {

      // 表头样式
      :global {
        .ant-table-thead>tr>th {
          background-color: #F5F5FA !important;
          text-align: center !important;
          font-weight: 450;
          font-size: 12px;
        }

        // 表格内容居中
        .ant-table-tbody>tr>td {
          text-align: center !important;
          font-size: 12px;
        }
      }

      .statusInProgress {
        display: inline-block;
        background-color: #E6F0FF;
        color: #2E4CD4;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
      }

      .statusScheduled {
        display: inline-block;
        background-color: #FFF7E6;
        color: #FF8C00;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
      }

      .statusCompleted {
        display: inline-block;
        background-color: #E6F7ED;
        color: #52C41A;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
      }

      .actionButtons {
        display: flex;
        gap: 12px;
        justify-content: center;
        align-items: center;
        font-size: 12px;

        .actionLink {
          color: #2E4CD4;
          cursor: pointer;
          font-size: 12px;
          transition: opacity 0.2s;

          &:hover {
            opacity: 0.7;
          }
        }
      }
    }
  }
}