.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;
      justify-content: space-around;
      align-items: center;
    }
    .airport-settings {
      display: flex;
      align-items: center;
      .common-switch {
        margin-right: 24px;
      }
    }
  }
  .airport-table {
    width: 100%;
    // height: calc(100% - 32px - 16px - 60px);
    height: calc(100% - 32px - 16px);
    :deep(.el-table) {
      .el-table__cell {
        .cell,
        &::after {
          font-size: 12px;
          font-weight: bold;
        }
      }
      .el-table__header {
        .el-table__cell {
          &.bg-yellow {
            background-color: #f9f3cb;
          }
          &.bg-purple {
            background-color: #9e99d0;
          }
          &.bg-green {
            background-color: #ace5d3;
          }
          &.bg-cyan {
            background-color: #b7d5e8;
          }
        }
      }
      .el-table__body {
        .el-table__row {
          &.bg-gray:not(.current-row, .hover-row) .el-table__cell {
            background-color: #d2d6df;
          }
          &.bg-light:not(.current-row, .hover-row) .el-table__cell {
            background-color: #eef3d6;
          }
          &.underline-red {
            border-bottom: 2px solid #e83f82;
          }
          .el-table__cell {
            height: 50px;
            flex-direction: column;
            &.cell-warning {
              background-color: #f6cda5 !important;
            }
            &.cell-alarm {
              background-color: #f38080 !important;
            }
            &.cell-success {
              background-color: #46af43 !important;
            }
            &.cell-striking {
              background-color: #d89834 !important;
            }
            &.cell-click .el-table__cell-text {
              color: #2d67e3;
              cursor: pointer;
            }
            &.flight-state-cancel::after {
              content: '取消';
              display: block;
              color: #f38080;
            }
            &.flight-state-delay::after {
              content: '延误';
              display: block;
              color: #d89834;
            }
          }
        }
      }
    }
  }
  .table-footer {
    height: 60px;
    padding-left: 8px;
    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;
      }
    }
  }
}
