.container {
  width: 100%;
  height: 100%;
  min-height: 560px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px 16px;
  margin: 15px 10px;
  overflow: hidden;
}

.panel {
  background: #f6f8fc;
  border-radius: 12px;
  padding: 10px 12px;
}

.rowTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.filters {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.filterItem {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filterLabel {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
}

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

  :global {
    .ant-checkbox-wrapper {
      margin-inline-start: 0 !important;
      font-size: 12px;
      color: #4b5563;
    }

    .ant-checkbox-group {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
  }
}

.topActions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rowSecond {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.timeRange {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pillSelect {
  width: 120px;

  :global {
    .ant-select-selector {
      height: 32px !important;
      border-radius: 999px !important;
      border-color: #dfe5f2 !important;
      display: flex !important;
      align-items: center !important;
      box-shadow: none !important;
      background: #fff !important;
    }

    .ant-select-selection-item {
      font-size: 12px;
      color: #111827;
    }
  }
}

.presetSelect {
  width: 92px;

  :global {
    .ant-select-selector {
      height: 32px !important;
      border-radius: 999px !important;
      border-color: #dfe5f2 !important;
      display: flex !important;
      align-items: center !important;
      box-shadow: none !important;
      background: #fff !important;
    }

    .ant-select-selection-item {
      font-size: 12px;
      color: #111827;
    }
  }
}

.pillRange {
  width: 300px;

  :global {
    .ant-picker {
      height: 32px !important;
      border-radius: 999px !important;
      border-color: #dfe5f2 !important;
      box-shadow: none !important;
      background: #fff !important;
    }

    .ant-picker-input > input {
      font-size: 12px;
      color: #111827;
    }

    .ant-picker-separator {
      color: #9ca3af;
    }
  }
}

.queryBtn {
  height: 32px !important;
  border-radius: 999px !important;
  padding: 0 18px !important;
  box-shadow: none !important;
  background: #3b5bfd;
  border-color: #3b5bfd;

  :global {
    .ant-btn-icon {
      margin-right: 6px;
    }
  }
}

.resetBtn {
  height: 32px !important;
  border-radius: 999px !important;
  padding: 0 18px !important;
  border: 1px solid #dfe5f2 !important;
  background: #fff !important;
  color: #4b5563 !important;
  box-shadow: none !important;

  :global {
    .ant-btn-icon {
      margin-right: 6px;
    }
  }
}

.primaryBtn {
  height: 32px !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  box-shadow: none !important;
  background: #3b5bfd;
  border-color: #3b5bfd;

  :global {
    .ant-btn-icon {
      margin-right: 6px;
    }
  }
}

.ghostBtn {
  height: 32px !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  border: 1px solid #dfe5f2 !important;
  background: #fff !important;
  color: #374151 !important;
  box-shadow: none !important;

  :global {
    .ant-btn-icon {
      margin-right: 6px;
    }
  }
}

.tableWrap {
  width: 100%;
  margin-top: 12px;

  :global {
    .ant-table {
      border-radius: 10px;
    }

    .ant-table-thead > tr > th {
      background: #f3f5f9;
      color: #6b7280;
      font-weight: 500;
      height: 44px;
    }

    .ant-table-tbody > tr > td {
      color: #111827;
      height: 48px;
    }

    .ant-table-tbody > tr:hover > td {
      background: #f7f9ff;
    }

    .ant-table-pagination {
      margin: 14px 0 0;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    .ant-pagination-total-text {
      color: #6b7280;
      margin-right: auto;
    }
  }
}

.actionCell {
  :global {
    .ant-btn {
      padding: 0 4px;
    }
  }
}

.actionBtnView {
  color: #22c55e;
}

.actionBtnDelete {
  color: #ef4444;
}
