.airport-view {
  width: calc(100% + calc(var(--app-main-padding) * 2) - 8px);
  height: 100%;
  margin-left: calc(var(--app-main-padding) * -1 + 8px);
  margin-right: calc(var(--app-main-padding) * -1);
  .airport-header {
    padding-right: 32px;
    display: flex;
    margin-bottom: 16px;
    .airport-form {
      margin-right: 30px;
    }
    .airport-count {
      flex: 1;
      display: flex;
      align-items: center;
      .count-box {
        flex: 1;
      }
    }
    .airport-settings {
      display: flex;
      align-items: center;
      .common-switch {
        margin-right: 24px;
      }
    }
  }
  .airport-table {
    width: 100%;
    height: calc(100% - 32px - 16px);
    :deep(.el-table-v2) {
      .el-table-v2__header-cell,
      .el-table-v2__row-cell {
        padding: 0;
        &:not(:last-of-type) {
          border-right: 1px solid #dfe3ea;
        }
      }
      .el-table-v2__header-cell-text,
      .el-table-v2__cell-text {
        font-size: 12px;
        font-family: Helvetica, Microsoft YaHei;
        font-weight: bold;
        color: #101116;
        white-space: pre-line;
      }
      .el-table-v2__header {
        .el-table-v2__header-cell {
          &.bg-yellow {
            background-color: #f9f3cb;
          }
          &.bg-purple {
            background-color: #9e99d0;
          }
          &.bg-green {
            background-color: #ace5d3;
          }
          &.bg-cyan {
            background-color: #b7d5e8;
          }
        }
      }
      .el-table-v2__body {
        .el-table-v2__row {
          &.bg-gray {
            background-color: #d2d6df;
          }
          &.bg-light {
            background-color: #eef3d6;
          }
          &.underline-red {
            border-bottom: 2px solid #e83f82;
          }
          &.is-selected {
            background-color: var(--el-table-current-row-bg-color);
          }
          .el-table-v2__row-cell {
            flex-direction: column;
            &.cell-warning {
              background-color: #f6cda5;
            }
            &.cell-alarm {
              background-color: #f38080;
            }
            &.cell-success {
              background-color: #46af43;
            }
            &.cell-click .el-table-v2__cell-text {
              color: #2d67e3;
              cursor: pointer;
            }
            .flight-state-cancel {
              color: #f38080;
            }
            .flight-state-delay {
              color: #d89834;
            }
          }
        }
        .el-virtual-scrollbar {
          &.el-vl__horizontal {
            height: 15px !important;
          }
          &.el-vl__vertical {
            width: 15px !important;
          }
        }
      }
      .table-footer {
        padding-left: 8px;
        height: 100%;
        display: flex;
        align-items: center;
        background-color: #dfe3ea;
        &-count {
          font-size: 16px;
          font-family: Helvetica, Microsoft YaHei;
          font-weight: bold;
          color: #303133;
          &:not(:last-of-type) {
            margin-right: 48px;
          }
        }
      }
      .el-empty {
        height: 100%;
      }
    }
  }
}
